File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 53
53
from pyproj import CRS
54
54
from shapely .geometry import GeometryCollection , MultiPolygon , Point , Polygon
55
55
from shapely .geometry .base import BaseGeometry
56
+ import shapely .ops
56
57
57
58
from openeo .utils .normalize import normalize_resample_resolution
58
59
from openeo_driver import filter_properties
@@ -655,7 +656,7 @@ def _normalize_geometry(
655
656
points .append (g )
656
657
else :
657
658
other .append (g )
658
- other_hull = reproject_geometry (shapely .unary_union (other ),geometries .get_crs (),CRS .from_user_input (target_crs ))
659
+ other_hull = reproject_geometry (shapely .ops . unary_union (other ),geometries .get_crs (),CRS .from_user_input (target_crs ))
659
660
660
661
if len (points ) > 0 :
661
662
point_hull = reproject_geometry (shapely .geometry .MultiPoint (points ).envelope ,geometries .get_crs (),CRS .from_user_input (target_crs ))
You can’t perform that action at this time.
0 commit comments