PostGisOptions

PostGisOptions class

Driver-specific options for PostGis format. At the moment, the driver provides no customizable options.

public class PostGisOptions : DatabaseDriverOptions

Constructors

Name Description
PostGisOptions() 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.
SpatialReferenceSystemMode { get; set; } Determines how the unknown geometries’ SRS for the database should be handle when they are added to the layer. The default value is ThrowException.
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