Dataset.EditLayer
Dataset.EditLayer method
Opens the layer with specified name for editing.
public abstract VectorLayer EditLayer(string name, DriverOptions options = null,
SpatialReferenceSystem spatialReferenceSystem = null)
Parameter | Type | Description |
---|---|---|
name | String | Name of the layer to edit. |
options | DriverOptions | Open options. |
spatialReferenceSystem | SpatialReferenceSystem | Spatial reference system for new geometries. |
Return Value
The layer opened for editing.
Exceptions
exception | condition |
---|---|
ArgumentException | Layer with specified name does not exist; Options object has an incorrect type for this dataset. |
ArgumentException | Options object has an incorrect type for this dataset. |
ArgumentNullException | The name is null . |
GisException | Error reading the feature from the layer. |
IOException | An I/O error occurred. |
See Also
- class VectorLayer
- class DriverOptions
- class SpatialReferenceSystem
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS