CsvOptions

CsvOptions class

Driver-specific options for CSV format.

public class CsvOptions : DriverOptions

Constructors

Name Description
CsvOptions() Create new instance.

Properties

Name Description
ColumnM { get; set; } Gets or sets a name of column contains M coordinate value. Default is null.
ColumnWkt { get; set; } Gets or sets a name of column contains Well-Known Text for representing geometry. Default is null.
ColumnX { get; set; } Gets or sets a name of column contains X coordinate value. Default is null.
ColumnY { get; set; } Gets or sets a name of column contains Y coordinate value. Default is null.
ColumnZ { get; set; } Gets or sets a name of column contains Z coordinate value. Default is null.
Delimiter { get; set; } Gets or sets a character that is used as delimiter to separate values. Default is ‘,’.
DoubleQuoteEscape { get; set; } Gets or sets a character that is used as escape letter for double-quotes. Default is ‘"’.
HasAttributeNames { get; set; } Determines if a header row with attribute names exists. Default is true.
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.
StartLineNumber { get; set; } Gets or sets a zero-based number of line that will be first when read the data. Default is 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.
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