CARIS HIPS and SIPS Help : CARIS Batch Utility : Feature Editing Processes : Create Areas From Lines
 

Create Areas From Lines

Description

The CreateAreasFromLines process creates areas from closed lines and sequences of lines forming a closed shape. This process works on geometries, and only complete geometries; it does not find intersections or perform any splitting.

Input

Features in a supported format. Only line features are considered.

Output

Area geometries in a supported format. Currently only WKT is supported.

Syntax

carisbatch --run CreateAreasFromLines [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 areas features for the line features in a HOB file.

Description

Command Line Syntax

The line features are in the LineFeatures.hob file in the D:\SampleData folder.

D:\SampleData\LineFeatures.hob

The area features will be saved as AreaFeatures.wkt in the input directory.

D:\SampleData\AreaFeatures.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\LineFeatures.hob D:\SampleData\AreaFeatures.wkt