OptionaldefaultStyle?: anyStyles by default
Optionalextensions?: anyAdd properties to file root
OptionalorderBy?: stringSort by key the feature before writing. By default, no sorting
OptionalreadExtensions?: FunctionReading extensions (native)
ProtecteddataProtecteddefaultProtectedfeatureA list media types supported by the format in descending order of preference.
ProtectedadaptProtected
Sets the dataProjection on the options, if no dataProjection
is set.
Options.
Updated options.
ProtectedgetProtected
Adds the data projection to the read options.
Source.
Optionaloptions: ReadOptions
Options.
Options.
AbstractgetThe format type.
Callback to read extensions from options : readExtensions
...
...
ProtectedreadProtected AbstractreadAbstractreadRead a single geometry from a source.
Source.
Optionaloptions: ReadOptions
Read options.
Geometry.
ProtectedreadProtected
Document.
Optionaloptions: ReadOptions
Options.
Geometry.
ProtectedreadProtected
Node.
Optionaloptions: ReadOptions
Options.
Geometry.
Reads a GPX file's metadata tag, reading among other things:
Will return null if no metadata tag is present (or no valid source is given).
Source.
Metadata
Document.
Metadata
Node.
Metadata
AbstractreadRead the projection from a source.
Source.
Projection.
ProtectedreadProtected
Document.
Projection.
ProtectedreadProtected
Node.
Projection.
Encode a feature as string.
Feature.
Optionaloptions: WriteOptions
Write options.
Encoded feature.
ProtectedwriteEncode a geometry as string.
Geometry.
Optionaloptions: WriteOptions
Write options.
Encoded geometry.
Geometry.
Optionaloptions: WriteOptions
Options.
Node.
...
...
...
Optionalxml: boolean
write tag xml or json
Options