FeaturesSequence.SaveTo
SaveTo(string, FileDriver)
Saves features sequence to layer.
public void SaveTo(string destinationPath, FileDriver destinationDriver)
| Parameter | Type | Description |
|---|
| destinationPath | String | Path to the output layer. |
| destinationDriver | FileDriver | The format driver for the output layer. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | Any argument is null. |
| GisException | Error reading or writing the feature to/from the file. |
| IOException | An I/O error occurred. |
| TransformationException | Transformation 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)
| Parameter | Type | Description |
|---|
| destinationPath | AbstractPath | Path to the output layer. |
| destinationDriver | FileDriver | The format driver for the output layer. |
Exceptions
| exception | condition |
|---|
| GisException | Error reading or writing the feature to/from the file. |
| IOException | An I/O error occurred. |
| TransformationException | Transformation 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)
| Parameter | Type | Description |
|---|
| destinationPath | String | Path to the output layer. |
| destinationDriver | FileDriver | The format driver for the output layer. |
| options | SavingOptions | Options for the saving procedure. |
Exceptions
| exception | condition |
|---|
| GisException | Error reading or writing the feature to/from the file. |
| IOException | An I/O error occurred. |
| TransformationException | Transformation of features geometry from source spatial reference system to target spatial reference system failed. |
| NotSupportedException | Spatial 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)
| Parameter | Type | Description |
|---|
| destinationPath | AbstractPath | Path to the output layer. |
| destinationDriver | FileDriver | The format driver for the output layer. |
| options | SavingOptions | Options for the saving procedure. |
Exceptions
| exception | condition |
|---|
| GisException | Error reading or writing the feature to/from the file. |
| IOException | An I/O error occurred. |
| TransformationException | Transformation of features geometry from source spatial reference system to target spatial reference system failed. |
| NotSupportedException | Spatial reference system specified in options is not supported by destinationDriver. |
See Also