ShapefileDriver.EditLayer

EditLayer(AbstractPath, DriverOptions)

Opens a layer for editing.

public override VectorLayer EditLayer(AbstractPath path, DriverOptions options = null)
ParameterTypeDescription
pathAbstractPathPath to the file.
optionsDriverOptionsDriver-specific options.

Return Value

An instance of VectorLayer.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError reading the feature from the file.
IOExceptionAn I/O error occurred.

See Also


EditLayer(string, ShapefileOptions)

Opens a layer for editing.

public VectorLayer EditLayer(string path, ShapefileOptions options = null)
ParameterTypeDescription
pathStringPath to the file.
optionsShapefileOptionsDriver-specific options.

Return Value

An instance of VectorLayer.

See Also


EditLayer(AbstractPath, ShapefileOptions)

Opens a layer for editing.

public VectorLayer EditLayer(AbstractPath path, ShapefileOptions options = null)
ParameterTypeDescription
pathAbstractPathPath to the file.
optionsShapefileOptionsDriver-specific options.

Return Value

An instance of VectorLayer.

See Also