Class ShapefileOptions

ShapefileOptions class

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

public class ShapefileOptions : DriverOptions

Constructors

NameDescription
ShapefileOptions()Create new instance.

Properties

NameDescription
CloseLinearRing { get; set; }Determines if close a unclosed LinearRing in each geometry. Defaults to false.
CreateMidpoints { get; set; }Determines if add a new point in the middle to each segment of geometry. Defaults to false.
DeleteNearPoints { get; set; }Determines if delete near points in each geometry. Defaults to false.
DeleteNearPointsDistance { get; set; }Determines distance for DeleteNearPoints. Defaults to 0.
IsIgnoreWrongData { get; set; }Determines should we throw exception while parse wrong data or set default values for it
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.
SimplifySegments { get; set; }Determines if delete points lying on the same segment in each geometry. Defaults to false.
SimplifySegmentsDistance { get; set; }Determines distance for SimplifySegments. Defaults to 0.
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.
WritePolygonsAsLines { get; set; }Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to false.
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