Module: ol/format/WKB

ol/format/WKB


Classes

WKB

Type Definitions

Options{Object}

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

Whether to split GeometryCollections into multiple features on reading.

hex boolean <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.

littleEndian boolean <optional>
true

Use littleEndian for output.

ewkb boolean <optional>
true

Use EWKB format for output.

geometryLayout module:ol/geom/GeometryLayout <optional>
null

Use specific coordinate layout for output features (null: auto detect)

nodataZ number <optional>
0

If the geometryLayout doesn't match with geometry to be output, this value is used to fill missing coordinate value of Z.

nodataM number <optional>
0

If the geometryLayout doesn't match with geometry to be output, this value is used to fill missing coordinate value of M.

srid number | boolean <optional>
true

SRID for output. Specify integer value to enforce the value as a SRID. Specify true to extract from dataProjection. false to suppress the output. This option only takes effect when ewkb is true.