MapInfoTabDriverCreateLayer Method (AbstractPath, DriverOptions, SpatialReferenceSystem)

Creates a layer and opens it for adding new features.

Namespace:  Aspose.Gis.Formats.MapInfoTab
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public override VectorLayer CreateLayer(
	AbstractPath path,
	DriverOptions options,
	SpatialReferenceSystem spatialReferenceSystem
)

Parameters

path
Type: Aspose.GisAbstractPath
Path to the file.
options
Type: Aspose.GisDriverOptions
Driver-specific options.
spatialReferenceSystem
Type: Aspose.Gis.SpatialReferencingSpatialReferenceSystem
Spatial reference system.

Return Value

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