Geospatial · Build and fix geometry

Poly Split

Breaks multi-part shapes into single parts, one row per part, such as the islands of a country.

Also known as: Explode multipart

How it works

Pick the Geometry column. A MultiPolygon, MultiLineString or MultiPoint becomes one row per part, with the other columns copied onto each; a single-part shape stays one row. The part keeps the input column's name but is appended after the other columns. For lists and arrays rather than geometries use Explode.

Inputs and outputs

Inputs

  • data — Table

Outputs

  • data — Table

Settings

The Attributes panel of Poly Split, as in the app: the controls work, but nothing runs — there is no data behind it.

The same settings, as the Assistant writes them
{
  geometryColumn: string
}

geometry-aware Explode: UNNEST(ST_Dump) fans a MultiPolygon/MultiLine/MultiPoint out to one row per part (the plain Explode node is array/list-only)

Example

Split a country layer into its islands to label each one: geometry column geom. A row for Denmark with a MultiPolygon of 400 parts becomes 400 rows that all carry country = Denmark.