GmlOptions

GmlOptions class

Driver-specific options for GML format.

public class GmlOptions : DriverOptions

Constructors

Name Description
GmlOptions() Create new instance.

Properties

Name Description
LinearizationTolerance { get; set; } A tolerance to use to linearize curve geometries.
LoadSchemasFromInternet { get; set; } Determines whether Aspose.GIS is allowed to load XML schema from Internet. If set to false, schemas with absolute URIs that does not start with ‘file://’ would not be loaded. Default is false.
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 “_”.
RestoreSchema { get; set; } Determines whether Aspose.GIS is allowed to parse attributes in a Gml file in which an XML schema is missing or cannot be loaded. If set to true, Aspose.GIS reader does not require the presence of an XML Schema. Default is false.
SchemaLocation { get; set; } Space separated list of URI pairs. First URI in every pair is a URI of the namespace, second URI is a Path to XML schema of the namespace. If set to null, GmlDriver will try read schemaLocation from the root element of the document. Default is null.
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.
XmlResolver { get; set; } A XmlResolver used to resolve external resources. Default is XmlUrlResolver.
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