Skip to main content
Explode multi-part geometries into multiple single geometries. Single rows can become multiple rows. This is analogous to PostGIS ST_Dump. Geometry collections are expanded by one level, so a multi-part geometry nested in a collection remains multi-part.

Signature

Parameters

bool
default:"False"
If True, the resulting index is labelled 0, 1, …, n - 1 and index_parts is ignored.
bool
default:"False"
If True, append a zero-based index level identifying each geometry produced from an input row.

Returns

GeoSeries
Exploded geometries. The original index is repeated by default.

Examples