toMultiPolygon

Converts a GeometryCollection of LineStringGeometry to a MultiPolygon by converting each contained geometry using toPolygon.

Return

A MultiPolygon created from the line string geometries.

Parameters

autoClose

If true, automatically closes each ring by duplicating the first point at the end if it's not already closed.

autoOrder

If true, automatically orders rings so the largest ring (by area) becomes the outer ring and others become holes.


Converts a Polygon to a MultiPolygon containing the single polygon.

Return

A MultiPolygon wrapping the polygon.