pyinterp.geodetic.MultiPolygon.read_wkt

static MultiPolygon.read_wkt(wkt: str) pyinterp.core.geodetic.MultiPolygon

Parses OGC Well-Known Text (WKT) into a multi-polygon.

Parameters:

wkt – the WKT representation of the multi-polygon.

Returns:

The multi-polygon defined by the WKT representation.