Split JamPolygon multipart polygons into separate polygons, one polygon per row in jp@polygons.

split_JamPolygon(jp, suffix = "_sub", ...)

Arguments

jp

JamPolygon

suffix

character passed to jamba::makeNames() when creating new unique names() for the resulting polygons. The default "_sub" will create sub-parts with "_sub1", "_sub2", "_sub3", and so on.

...

additional arguments are ignored.

Value

JamPolygon with one row per distinct polygon part in the input jp object.