odc.geo.geom.multipolygon

odc.geo.geom.multipolygon(coords, crs)[source]

Create a 2D MultiPolygon.

Parameters:

coords (List[List[List[Tuple[float, float]]]]) – List of polygons. Where each “polygon” is itself a list of “rings”. Each “ring” is a list of (x, y) tuples. First ring is an outer layer of the polygon, the rest, if present, define holes in the outer layer.

Return type:

Geometry