Dataset.CreateLayer
Contents
[
Hide
]CreateLayer()
Creates a new vector layer and opens it for appending.
public virtual VectorLayer CreateLayer()
Return Value
A VectorLayer
opened for writing.
See Also
- class VectorLayer
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
CreateLayer(SpatialReferenceSystem)
Creates a new vector layer and opens it for appending.
public virtual VectorLayer CreateLayer(SpatialReferenceSystem spatialReferenceSystem)
Parameter | Type | Description |
---|---|---|
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system of the new layer. |
Return Value
A VectorLayer
opened for writing.
See Also
- class VectorLayer
- class SpatialReferenceSystem
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
CreateLayer(DriverOptions, SpatialReferenceSystem)
Creates a new vector layer and opens it for appending.
public virtual VectorLayer CreateLayer(DriverOptions options,
SpatialReferenceSystem spatialReferenceSystem = null)
Parameter | Type | Description |
---|---|---|
options | DriverOptions | Open options. |
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system of the new layer. |
Return Value
A VectorLayer
opened for writing.
Exceptions
exception | condition |
---|---|
NotSupportedException | Layer creation is not supported for this dataset. |
IOException | An I/O error occurred. |
GisException | Error while creating the layer. |
See Also
- class VectorLayer
- class DriverOptions
- class SpatialReferenceSystem
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
CreateLayer(string, SpatialReferenceSystem)
Creates a new vector layer with specified name and opens it for appending.
public virtual VectorLayer CreateLayer(string name,
SpatialReferenceSystem spatialReferenceSystem = null)
Parameter | Type | Description |
---|---|---|
name | String | Name of the layer. |
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system of the new layer. |
Return Value
A VectorLayer
opened for writing.
Exceptions
exception | condition |
---|---|
NotSupportedException | Layer creation is not supported for this dataset. |
IOException | An I/O error occurred. |
GisException | Error while creating the layer. |
See Also
- class VectorLayer
- class SpatialReferenceSystem
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS
CreateLayer(string, DriverOptions, SpatialReferenceSystem)
Creates a new vector layer with specified name and opens it for appending.
public virtual VectorLayer CreateLayer(string name, DriverOptions options,
SpatialReferenceSystem spatialReferenceSystem = null)
Parameter | Type | Description |
---|---|---|
name | String | Name of the layer. |
options | DriverOptions | Open options. |
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system of the new layer. |
Return Value
A VectorLayer
opened for writing.
Exceptions
exception | condition |
---|---|
NotSupportedException | Layer creation is not supported for this dataset. |
IOException | An I/O error occurred. |
GisException | Error while creating the layer. |
See Also
- class VectorLayer
- class DriverOptions
- class SpatialReferenceSystem
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS