FeaturesSequence.SaveTo

SaveTo(string, FileDriver)

Saves features sequence to layer.

public void SaveTo(string destinationPath, FileDriver destinationDriver)
ParameterTypeDescription
destinationPathStringPath to the output layer.
destinationDriverFileDriverThe format driver for the output layer.

Exceptions

exceptioncondition
ArgumentNullExceptionAny argument is null.
GisExceptionError reading or writing the feature to/from the file.
IOExceptionAn I/O error occurred.
TransformationExceptionTransformation of features geometry from source spatial reference system to target spatial reference system failed.

See Also


SaveTo(AbstractPath, FileDriver)

Saves features sequence to layer.

public void SaveTo(AbstractPath destinationPath, FileDriver destinationDriver)
ParameterTypeDescription
destinationPathAbstractPathPath to the output layer.
destinationDriverFileDriverThe format driver for the output layer.

Exceptions

exceptioncondition
GisExceptionError reading or writing the feature to/from the file.
IOExceptionAn I/O error occurred.
TransformationExceptionTransformation of features geometry from source spatial reference system to target spatial reference system failed.

See Also


SaveTo(string, FileDriver, SavingOptions)

Saves features sequence to layer.

public void SaveTo(string destinationPath, FileDriver destinationDriver, SavingOptions options)
ParameterTypeDescription
destinationPathStringPath to the output layer.
destinationDriverFileDriverThe format driver for the output layer.
optionsSavingOptionsOptions for the saving procedure.

Exceptions

exceptioncondition
GisExceptionError reading or writing the feature to/from the file.
IOExceptionAn I/O error occurred.
TransformationExceptionTransformation of features geometry from source spatial reference system to target spatial reference system failed.
NotSupportedExceptionSpatial reference system specified in options is not supported by destinationDriver.

See Also


SaveTo(AbstractPath, FileDriver, SavingOptions)

Saves features sequence to layer.

public void SaveTo(AbstractPath destinationPath, FileDriver destinationDriver, 
    SavingOptions options)
ParameterTypeDescription
destinationPathAbstractPathPath to the output layer.
destinationDriverFileDriverThe format driver for the output layer.
optionsSavingOptionsOptions for the saving procedure.

Exceptions

exceptioncondition
GisExceptionError reading or writing the feature to/from the file.
IOExceptionAn I/O error occurred.
TransformationExceptionTransformation of features geometry from source spatial reference system to target spatial reference system failed.
NotSupportedExceptionSpatial reference system specified in options is not supported by destinationDriver.

See Also