InMemoryDriver.CreateLayer
Contents
[
Hide
]CreateLayer(AbstractPath, DriverOptions, SpatialReferenceSystem)
Creates a layer and opens it for adding new features.
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. |
See Also
- class VectorLayer
- class AbstractPath
- class DriverOptions
- class SpatialReferenceSystem
- class InMemoryDriver
- namespace Aspose.Gis.Formats.InMemory
- assembly Aspose.GIS
CreateLayer(SpatialReferenceSystem)
Creates a layer and opens it for adding new features.
public VectorLayer CreateLayer(SpatialReferenceSystem spatialReferenceSystem)
Parameter | Type | Description |
---|---|---|
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system. |
Return Value
An instance of VectorLayer
.
See Also
- class VectorLayer
- class SpatialReferenceSystem
- class InMemoryDriver
- namespace Aspose.Gis.Formats.InMemory
- assembly Aspose.GIS
CreateLayer()
Creates a layer and opens it for adding new features.
public VectorLayer CreateLayer()
Return Value
An instance of VectorLayer
.
See Also
- class VectorLayer
- class InMemoryDriver
- namespace Aspose.Gis.Formats.InMemory
- assembly Aspose.GIS