Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description splitCollectionboolean
(defaults to false)Whether to split GeometryCollections into multiple features on reading.
hexboolean
(defaults to true)Returns hex string instead of ArrayBuffer for output. This also is used as a hint internally whether it should load contents as text or ArrayBuffer on reading.
littleEndianboolean
(defaults to true)Use littleEndian for output.
ewkbboolean
(defaults to true)Use EWKB format for output.
geometryLayoutGeometryLayout
(defaults to null)Use specific coordinate layout for output features (null: auto detect)
nodataZnumber
(defaults to 0)If the
geometryLayoutdoesn't match with geometry to be output, this value is used to fill missing coordinate value of Z.nodataMnumber
(defaults to 0)If the
geometryLayoutdoesn't match with geometry to be output, this value is used to fill missing coordinate value of M.sridnumber | boolean
(defaults to true)SRID for output. Specify integer value to enforce the value as a SRID. Specify
trueto extract fromdataProjection.falseto suppress the output. This option only takes effect whenewkbistrue.