Description
The ExportToWKT process exports the geometries of features to a file in Well-Known Text (WKT) format.
Inputs
Features in a supported format. HOB and 000 (S-57 specification) are supported.
Outputs
Geometries in WKT format.
Command Line Syntax
carisbatch --run ExportToWKT [options] <input> <output>
User Interface Command
Export Selection to CARIS Well-Known Text
Options
The following table describes the parameters available for this process.
Parameter |
| |||
|---|---|---|---|---|
Long | Short | Description | Can Repeat | Notes
|
--feature-catalogue | F | A string specifying the name of the catalogue that defines the features and attributes in a vector dataset. One of { list dynamically populated from the catalogue control file }. The names of the available catalogues can be accessed through application via the Object Catalogue environment variable in Tools > Options. The available catalogues are controlled by the Catalogue Control file. An example of a catalogue name is "S-57 ENC 3.1". | FALSE | This must be specified for HOB input. |
Example
To use this command refer to the following example.
Example | ||
|---|---|---|
Objective | You want to export geometry from a HOB file to the WKT format. | |
Description | Command Line Syntax | |
The input has features and attributes defined in the S-57 ENC 3.1 feature catalogue. | --feature-catalogue "S-57 ENC 3.1" | |
The input HOB file is named polygon.hob and located at D:\BatchSample. | D:\BatchSample\polygon.hob | |
The output file will be named ExportToWKT.wkt and located at D:\BatchSample. | D:\BatchSample\ExportToWKT.wkt | |
Command Line |
| |
Outcome | A new WKT file is generated. | |
Extra Notes | N/A | |