File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3108,22 +3108,24 @@ def explode_polygons(
3108
3108
def explode_geometry_collection (
3109
3109
collection : shapely .geometry .collection .GeometryCollection ,
3110
3110
) -> List [shapely .geometry .base .BaseGeometry ]:
3111
- """Exploding a Shapely Geometry Collection to a List of Base Geometries
3111
+ """Explode a Shapely Geometry Collection to a List of Base Geometries.
3112
3112
3113
3113
Parameters
3114
3114
__________
3115
3115
3116
3116
collection : shapely.geometry.collection.GeometryCollection
3117
- Shapely Geometry Collection consisting of different Base Geometries
3117
+ Shapely Geometry Collection consisting of different Base Geometries.
3118
3118
3119
3119
Returns
3120
3120
_______
3121
3121
3122
3122
collection_exploded : List[shapely.geometry.base.BaseGeometry]
3123
- List of Base Geometries from the original Geometry Collection
3123
+ List of Base Geometries from the original Geometry Collection.
3124
3124
3125
3125
.. versionadded:: 1.0.x
3126
3126
3127
+ .. versionchanged:: 1.2
3128
+
3127
3129
Example
3128
3130
_______
3129
3131
@@ -3153,10 +3155,9 @@ def explode_geometry_collection(
3153
3155
See Also
3154
3156
________
3155
3157
3156
- explode_geometry_collections : Exploding a GeoDataFrame containing different Base Geometries
3158
+ explode_geometry_collections : Explode a GeoDataFrame containing different Base Geometries
3157
3159
3158
3160
"""
3159
-
3160
3161
# Checking that the Geometry Collection is a Shapely Geometry Collection
3161
3162
if not isinstance (collection , shapely .geometry .collection .GeometryCollection ):
3162
3163
raise TypeError ("Geometry Collection must be a Shapely Geometry Collection" )
You can’t perform that action at this time.
0 commit comments