diff --git a/turfpy/__version__.py b/turfpy/__version__.py index 29ccc53..4f8ca05 100644 --- a/turfpy/__version__.py +++ b/turfpy/__version__.py @@ -1,3 +1,3 @@ """Project version information.""" -__version__ = "0.0.7" +__version__ = "0.0.8" diff --git a/turfpy/transformation.py b/turfpy/transformation.py index 2381aab..80348b2 100644 --- a/turfpy/transformation.py +++ b/turfpy/transformation.py @@ -18,7 +18,7 @@ from shapely import geometry as geometry from shapely.geometry import LineString as ShapelyLineString from shapely.geometry import MultiPoint, MultiPolygon, Point, mapping, shape -from shapely.ops import cascaded_union, clip_by_rect, polygonize, unary_union +from shapely.ops import clip_by_rect, polygonize, unary_union from turfpy.helper import get_coord, get_coords, get_geom, get_type, length_to_degrees from turfpy.measurement import ( @@ -280,7 +280,7 @@ def union( if "properties" in f.keys(): properties_list.append(f["properties"]) - result = cascaded_union(shapes) + result = unary_union(shapes) result = mapping(result) properties = merge_dict(properties_list) @@ -351,7 +351,7 @@ def add_edge(edges, edge_points, coords, i, j): m = geometry.MultiLineString(edge_points) triangles = list(polygonize(m)) - return cascaded_union(triangles), edge_points + return unary_union(triangles), edge_points def get_points(features):