CARIS BASE Editor : CARIS Batch Utility : Feature Editing Processes : Create Feature Relationships
 

Create Feature Relationships

Description

The CreateFeatureRelationships process creates relationships for input features and saves to these to an output file. This process currently only creates parent-child 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>

User Interface Command

Create Relationships

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 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".

The catalogue defines the feature relationships.

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