Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description splitCollectionboolean <optional>
false Whether to split GeometryCollections into multiple features on reading.
hexboolean <optional>
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 <optional>
true Use littleEndian for output.
ewkbboolean <optional>
true Use EWKB format for output.
geometryLayoutGeometryLayout <optional>
null Use specific coordinate layout for output features (null: auto detect)
nodataZnumber <optional>
0 If the
geometryLayoutdoesn't match with geometry to be output, this value is used to fill missing coordinate value of Z.nodataMnumber <optional>
0 If the
geometryLayoutdoesn't match with geometry to be output, this value is used to fill missing coordinate value of M.sridnumber | boolean <optional>
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.