Skip to content

Commit

Permalink
fix: overlappingtransactionzones only those with area > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
rikdepeuter committed Jan 29, 2025
1 parent a7e13e2 commit cbfbb4b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ private async Task CreateOverlappingRecords(
throw;
}
})
.Where(x => x.Contour is Polygon or MultiPolygon)
.Where(x =>
(x.Contour is Polygon polygon && polygon.Area > 0)
||(x.Contour is MultiPolygon multiPolygon && multiPolygon.Area > 0))
.DistinctBy(x => new { x.DownloadId1, x.DownloadId2 })
.ToList();

Expand Down

0 comments on commit cbfbb4b

Please sign in to comment.