FileGdbDriverCreateLayer Method (AbstractPath, FileGdbOptions, SpatialReferenceSystem)

Creates a layer and opens it for appending.

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

Parameters

path
Type: Aspose.GisAbstractPath
Path to the file.
options
Type: Aspose.Gis.Formats.FileGdbFileGdbOptions
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.
NotSupportedExceptionSpatial reference system is not supported by the driver.
See Also