ValidateGeometriesOnWrite

DriverOptions.ValidateGeometriesOnWrite property

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.

public bool ValidateGeometriesOnWrite { get; set; }

Remarks

This is a creation option - it does not affect opening.

See Also