Description
The CreateLinesFromAreas process creates closed lines from areas. This process works on geometries, and only complete geometries; it does not find intersections or perform any splitting. Holes of the areas are also created as closed lines.
Input
Features in a supported format. Only area features are considered.
Output
Line geometries in a supported format. Currently only WKT is supported.
Syntax
carisbatch --run CreateLinesFromAreas [options] <input> <output>
User Interface Command
N/A
Options
The following table describes the parameters available for this process.
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". A catalogue must be specified only when the input is a HOB file. | FALSE |
Example
Below is an example of the process.
Objective | You want to create line features for the area features in a HOB file. | |
Description | Command Line Syntax | |
The area features are in the AreaFeatures.hob file in the D:\SampleData folder. | D:\SampleData\AreaFeatures.hob | |
The line features will be saved as LineFeatures.wkt in the input directory. | D:\SampleData\LineFeatures.wkt | |
The S-57 ENC 3.1 catalogue will be used. | --feature-catalogue "S-57 ENC 3.1" | |
Command Line | carisbatch --run CreateAreasFromLines --feature-catalogue "S-57 ENC 3.1" D:\SampleData\AreaFeatures.hob D:\SampleData\LineFeatures.wkt | |