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 (str) – the WKT representation of the polygon.

Returns

The polygon defined by the WKT representation.

Return type

pyinterp.geodetic.Box