pyinterp.core.geodetic.MultiPolygon.from_geojson

static MultiPolygon.from_geojson(array: list) pyinterp.core.geodetic.MultiPolygon

Initializes a MultiPolygon from a GeoJSON coordinate array.

Parameters:

array – The GeoJSON coordinate array.

Returns:

The MultiPolygon initialized from the GeoJSON coordinate array.