FileGdbDriver.CreateLayer
Contents
[
Hide
]CreateLayer(string, FileGdbOptions)
Creates a layer and opens it for adding new features.
public VectorLayer CreateLayer(string path, FileGdbOptions options)
Parameter | Type | Description |
---|---|---|
path | String | Path to the file. |
options | FileGdbOptions | Driver-specific options. |
Return Value
An instance of VectorLayer
.
Exceptions
exception | condition |
---|---|
InvalidOperationException | The layer already exists. |
See Also
- class VectorLayer
- class FileGdbOptions
- class FileGdbDriver
- namespace Aspose.Gis.Formats.FileGdb
- assembly Aspose.GIS
CreateLayer(string, FileGdbOptions, SpatialReferenceSystem)
Creates a layer and opens it for appending.
public VectorLayer CreateLayer(string path, FileGdbOptions options,
SpatialReferenceSystem spatialReferenceSystem)
Parameter | Type | Description |
---|---|---|
path | String | Path to the file. |
options | FileGdbOptions | Driver-specific options. |
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system. |
Return Value
An instance of VectorLayer
.
Exceptions
exception | condition |
---|---|
InvalidOperationException | The layer already exists. |
NotSupportedException | Spatial reference system is not supported by the driver. |
See Also
- class VectorLayer
- class FileGdbOptions
- class SpatialReferenceSystem
- class FileGdbDriver
- namespace Aspose.Gis.Formats.FileGdb
- assembly Aspose.GIS
CreateLayer(AbstractPath, DriverOptions, SpatialReferenceSystem)
Creates a layer and opens it for appending.
public override VectorLayer CreateLayer(AbstractPath path, DriverOptions options,
SpatialReferenceSystem spatialReferenceSystem)
Parameter | Type | Description |
---|---|---|
path | AbstractPath | Path to the file. |
options | DriverOptions | Driver-specific options. |
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system. |
Return Value
An instance of VectorLayer
.
Exceptions
exception | condition |
---|---|
InvalidOperationException | The layer already exists. |
NotSupportedException | Spatial reference system is not supported by the driver. |
See Also
- class VectorLayer
- class AbstractPath
- class DriverOptions
- class SpatialReferenceSystem
- class FileGdbDriver
- namespace Aspose.Gis.Formats.FileGdb
- assembly Aspose.GIS
CreateLayer(AbstractPath, FileGdbOptions, SpatialReferenceSystem)
Creates a layer and opens it for appending.
public VectorLayer CreateLayer(AbstractPath path, FileGdbOptions options,
SpatialReferenceSystem spatialReferenceSystem)
Parameter | Type | Description |
---|---|---|
path | AbstractPath | Path to the file. |
options | FileGdbOptions | Driver-specific options. |
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system. |
Return Value
An instance of VectorLayer
.
Exceptions
exception | condition |
---|---|
InvalidOperationException | The layer already exists. |
NotSupportedException | Spatial reference system is not supported by the driver. |
See Also
- class VectorLayer
- class AbstractPath
- class FileGdbOptions
- class SpatialReferenceSystem
- class FileGdbDriver
- namespace Aspose.Gis.Formats.FileGdb
- assembly Aspose.GIS