Namespace: extract

Wkt.Wkt. extract

This object contains functions as property names that extract WKT strings from the internal representation.
Source:

Methods

linestring(linestring) → {String}

Return a WKT string representing a chain (linestring) of atoms
Parameters:
Name Type Description
linestring Array Multiple x-and-y objects
Source:
Returns:
The WKT representation
Type
String

multilinestring(multilinestring) → {String}

Return a WKT string representing multiple chains (multilinestring) of atoms
Parameters:
Name Type Description
multilinestring Array Multiple of multiple x-and-y objects
Source:
Returns:
The WKT representation
Type
String

multipoint(multipoint) → {String}

Return a WKT string representing multiple atoms (points)
Parameters:
Name Type Description
multipoint Array Multiple x-and-y objects
Source:
Returns:
The WKT representation
Type
String

multipolygon(multipolygon) → {String}

Return a WKT string representing multiple closed series (multipolygons) of multiple atoms
Parameters:
Name Type Description
multipolygon Array Collection of ordered x-and-y objects
Source:
Returns:
The WKT representation
Type
String

point(point) → {String}

Return a WKT string representing atomic (point) geometry
Parameters:
Name Type Description
point Object An object with x and y properties
Source:
Returns:
The WKT representation
Type
String

polygon(polygon) → {String}

Return a WKT string representing multiple atoms in closed series (polygon)
Parameters:
Name Type Description
polygon Array Collection of ordered x-and-y objects
Source:
Returns:
The WKT representation
Type
String