TopoJsonOptions

TopoJsonOptions class

Driver-specific options for TopoJSON format.

public class TopoJsonOptions : DriverOptions

Constructors

Name Description
TopoJsonOptions() Create new instance.

Properties

Name Description
DefaultObjectName { get; set; } Name of the object where features are put by default.
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.
NestedPropertiesSeparator { get; set; } Gets or sets a string that is used to separate components of nested attributes. Default is “_”.
ObjectNameAttribute { get; set; } Name of the attribute, that reflects the name of the object that contains a feature.
QuantizationNumber { get; set; } Specifies quantization number to use to quantize coordinates and delta-encode arcs in output TopoJSON.
Transform { get; set; } Specifies transform object to use to quantize coordinates and delta-encode arcs in output TopoJSON.
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