The CreateFeatureRelationships process creates relationships from input features and saves to these to an output file. This process currently only creates master-slave relationships for S‑57.
Input
Features in a supported format. HOB, and 000 (S-57 specification) are supported.
Output
A HOB file. If the output HOB file already exists, it is overwritten.
Syntax
carisbatch --run CreateFeatureRelationships --feature-catalogue <value> <input> <output>
Options
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 catalogue used defines the relationships to be created. See Catalogues for a list of available catalogues. | FALSE | Required |
Example
Below is an example of the process.
Objective | Create relationships between features in a HOB file. | |
Description | Command Line Syntax | |
The S-57 ENC 3.1 feature catalogue is used. | --feature-catalogue "S-57 ENC 3.1" | |
The input file is named Input.hob and is located at D:\BatchSample. | D:\BatchSample\Input.hob | |
The output will be named Output.hob and will be saved to the input location. | D:\BatchSample\Output.hob | |
Command Line | carisbatch -r CreateFeatureRelationships --feature-catalogue "S-57 ENC 3.1" D:\BatchSample\Input.hob D:\BatchSample\Output.hob | |