ShapefileDriver.EditLayer

EditLayer(AbstractPath, DriverOptions)

打开图层进行编辑。

public override VectorLayer EditLayer(AbstractPath path, DriverOptions options = null)
参数类型描述
pathAbstractPath文件的路径。
optionsDriverOptions驱动程序特定的选项。

返回值

VectorLayer 的实例。

异常

异常条件
ArgumentExceptionOptions 对象的类型对该驱动程序不正确。
ArgumentNullException路径为 null
GisException读取文件中的要素时出错。
IOException发生 I/O 错误。

另见


EditLayer(string, ShapefileOptions)

打开图层进行编辑。

public VectorLayer EditLayer(string path, ShapefileOptions options = null)
参数类型描述
pathString文件的路径。
optionsShapefileOptions驱动程序特定的选项。

返回值

VectorLayer 的实例。

另见


EditLayer(AbstractPath, ShapefileOptions)

打开图层进行编辑。

public VectorLayer EditLayer(AbstractPath path, ShapefileOptions options = null)
参数类型描述
pathAbstractPath文件的路径。
optionsShapefileOptions驱动程序特定的选项。

返回值

VectorLayer 的实例。

另见