FeaturesSequence.SaveTo

SaveTo(string, FileDriver)

将特征序列保存到图层。

public void SaveTo(string destinationPath, FileDriver destinationDriver)
参数类型描述
destinationPath字符串输出图层的路径。
destinationDriverFileDriver输出图层的格式驱动程序。

异常

异常条件
ArgumentNullException任意参数为 null
GisException读取或写入要素到/从文件时出错。
IOException发生了 I/O 错误。
TransformationException从源空间参考系统到目标空间参考系统的要素几何转换失败。

另见


SaveTo(AbstractPath, FileDriver)

将特征序列保存到图层。

public void SaveTo(AbstractPath destinationPath, FileDriver destinationDriver)
参数类型描述
destinationPathAbstractPath输出图层的路径。
destinationDriverFileDriver输出图层的格式驱动程序。

异常

异常条件
GisException读取或写入要素到/从文件时出错。
IOException发生了 I/O 错误。
TransformationException从源空间参考系统到目标空间参考系统的要素几何转换失败。

另见


SaveTo(string, FileDriver, SavingOptions)

将特征序列保存到图层。

public void SaveTo(string destinationPath, FileDriver destinationDriver, SavingOptions options)
参数类型描述
destinationPath字符串输出图层的路径。
destinationDriverFileDriver输出图层的格式驱动程序。
optionsSavingOptions保存过程的选项。

异常

异常条件
GisException读取或写入要素到/从文件时出错。
IOException发生了 I/O 错误。
TransformationException从源空间参考系统到目标空间参考系统的要素几何转换失败。
NotSupportedExceptionoptions 中指定的空间参考系统不受 destinationDriver 支持。

另见


SaveTo(AbstractPath, FileDriver, SavingOptions)

将特征序列保存到图层。

public void SaveTo(AbstractPath destinationPath, FileDriver destinationDriver, 
    SavingOptions options)
参数类型描述
destinationPathAbstractPath输出图层的路径。
destinationDriverFileDriver输出图层的格式驱动程序。
optionsSavingOptions保存过程的选项。

异常

异常条件
GisException读取或写入要素到/从文件时出错。
IOException发生了 I/O 错误。
TransformationException从源空间参考系统到目标空间参考系统的要素几何转换失败。
NotSupportedExceptionoptions 中指定的空间参考系统不受 destinationDriver 支持。

另见