OsmXmlOptions

OsmXmlOptions class

Driver-specific options for OSM XML format.

public class OsmXmlOptions : DriverOptions

Constructors

Name Description
OsmXmlOptions() Create new instance.

Properties

Name Description
LinearizationTolerance { get; set; } A tolerance to use to linearize curve geometries.
MPrecisionModel { get; set; } A PrecisionModel that will be applied to M coordinate when geometries are added to the VectorLayer or when they are read from the VectorLayer. The default value is Exact.
ReportAllNodes { get; set; } Report all nodes as features, even if they don’t have any significant tags.
ReportAllWays { get; set; } Report all ways as features, even if they don’t have any significant tags or don’t have any nodes.
ReportCommonAttributes { get; set; } Report common OSM attributes: visible, version, changeset, timestamp, user and uid. Common attributes will be reported as feature attributes with “osm_” prefix, e.g. osm_user, osm_timestamp, etc.
ValidateGeometriesOnWrite { get; set; } Determines if geometries should be validated when they are added to the layer. If set to true, IsValid is called for each geometry when it’s added to the layer, and if validation fails (IsValid is false), GisException is thrown.
XYPrecisionModel { get; set; } A PrecisionModel that will be applied to X and Y coordinates when geometries are added to the VectorLayer or when they are read from the VectorLayer. The default value is Exact.
ZPrecisionModel { get; set; } A PrecisionModel that will be applied to Z coordinate when geometries are added to the VectorLayer or when they are read from the VectorLayer. The default value is Exact.

See Also