pyinterp.geodetic.Polygon.read_wkt#

static Polygon.read_wkt(wkt: str) pyinterp.core.geodetic.Polygon#

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

Parameters

wkt – the WKT representation of the polygon.

Returns

The polygon defined by the WKT representation.