Module: ol/format/WKT

ol/format/WKT


Classes

WKT

Members

GeometryConstructor{function}

Geometry constructors

Properties:
Name Type Default Description
POINT function Point
LINESTRING function LineString
POLYGON function Polygon
MULTIPOINT function MultiPoint
MULTILINESTRING function MultiLineString
MULTIPOLYGON function MultiPolygon

TokenType{number}

Properties:
Name Type Default Description
TEXT number 1
LEFT_PAREN number 2
RIGHT_PAREN number 3
NUMBER number 4
COMMA number 5
EOF number 6

Type Definitions

Options{Object}

Properties:
Name Type Argument Default Description
splitCollection boolean <optional>
false

Whether to split GeometryCollections into multiple features on reading.

Token{Object}

Properties:
Name Type Argument Description
type number
value number | string <optional>
position number