decodeCoordType static method
Decodes a coordinate type from text
representing Extended WKT (EWKT)
data.
Examples:
// this sample decodes `Coords.xyz` from the given EWKT string
WKT.decodeCoordType('SRID=4326;POINT(-0.0014 51.4778 45)');
// this sample decodes `Coords.xym` from the given EWKT string
WKT.decodeCoordType('SRID=4326;POINTM(-0.0014 51.4778 100.0)');
Implementation
static Coords decodeCoordType(String text) =>
_WktGeometryTextDecoder._parseCoordTypeFrom(text);