GmlDriverCreateLayer Method (String, GmlOptions)

Creates a layer and opens it for adding new features.

Namespace:  Aspose.Gis.Formats.Gml
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public VectorLayer CreateLayer(
	string path,
	GmlOptions options
)

Parameters

path
Type: SystemString
Path to the file.
options
Type: Aspose.Gis.Formats.GmlGmlOptions
Driver-specific options.

Return Value

Type: VectorLayer
An instance of VectorLayer.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe layer already exists.
See Also