Skip to content

Commit 3d320ac

Browse files
committed
aggregate_spatial with points: more robust buffering approach
1 parent 8a74d7e commit 3d320ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openeo_driver/dry_run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,8 @@ def _normalize_geometry(
664664
bufferer = GeometryBufferer.from_meter_for_crs(
665665
distance=10, crs=target_crs, loi=(loi_point.x,loi_point.y), loi_crs=target_crs
666666
)
667-
bufferedPoints = bufferer.buffer(point_hull)
668-
other_hull = shapely.union(bufferedPoints,other_hull)
667+
buffered_points = bufferer.buffer(point_hull)
668+
other_hull = other_hull.union(buffered_points)
669669
bbox = other_hull.bounds
670670
crs = target_crs
671671
else:

0 commit comments

Comments
 (0)