Namespace: format

olx. format

Type Definitions

experimental olx.format.GeoJSONOptionsObject

Properties:
Name Type Description
defaultProjection ol.proj.ProjectionLike

Default projection.

experimental olx.format.GMLOptionsObject

Properties:
Name Type Description
featureNS string

Feature namespace.

featureType string

Feature type to parse.

srsName string

srsName to use when writing geometries.

surface boolean | undefined

Write gml:Surface instead of gml:Polygon elements. This also affects the elements in multi-part geometries. Default is `false´.

curve boolean | undefined

Write gml:Curve instead of gml:LineString elements. This also affects the elements in multi-part geometries. Default is `false´.

multiCurve boolean | undefined

Write gml:MultiCurve instead of gml:MultiLineString. Since the latter is deprecated in GML 3, the default is `true´.

multiSurface boolean | undefined

Write gml:multiSurface instead of gml:MultiPolygon. Since the latter is deprecated in GML 3, the default is `true´.

schemaLocation string | undefined

Optional schemaLocation to use when writing out the GML, this will override the default provided.

experimental olx.format.IGCOptionsObject

Properties:
Name Type Description
altitudeMode ol.format.IGCZ | undefined

Altitude mode. Possible values are barometric, gps, and none. Default is none.

experimental olx.format.KMLOptionsObject

Properties:
Name Type Description
defaultStyle Array.<ol.style.Style> | undefined

Default style. The default default style is the same as Google Earth.

experimental olx.format.TopoJSONOptionsObject

Properties:
Name Type Description
defaultProjection ol.proj.ProjectionLike

Default projection.

experimental olx.format.WFSOptionsObject

Properties:
Name Type Description
featureNS string

The namespace URI used for features.

featureType string

The feature type to parse. Only used for read operations.

schemaLocation string | undefined

Optional schemaLocation to use for serialization, this will override the default.

experimental olx.format.WFSWriteGetFeatureOptionsObject

Properties:
Name Type Description
featureNS string

The namespace URI used for features.

featurePrefix string

The prefix for the feature namespace.

featureTypes Array.<string>

The feature type names.

srsName string | undefined

SRS name. No srsName attribute will be set on geometries when this is not provided.

handle string | undefined

Handle.

outputFormat string | undefined

Output format.

maxFeatures number | undefined

Maximum number of features to fetch.

geometryName string | undefined

Geometry name to use in a BBOX filter.

bbox ol.Extent | undefined

Extent to use for the BBOX filter.

experimental olx.format.WFSWriteTransactionOptionsObject

Properties:
Name Type Description
featureNS string

The namespace URI used for features.

featurePrefix string

The prefix for the feature namespace.

featureType string

The feature type name.

srsName string | undefined

SRS name. No srsName attribute will be set on geometries when this is not provided.

handle string | undefined

Handle.

nativeElements Array.<Object>

Native elements. Currently not supported.