CARIS Process Designer : CARIS Batch : HPD Processes : SourceBuilder License : HPD Change Feature Attributes
 

HPD Change Feature Attributes

The HPDChangeFeatureAttributes process bulk changes feature attributes using a filter file.

Input

HPD URI

Output

None. The process is applied to the input.

Syntax

carisbatch --run HPDChangeFeatureAttributes --filter-file <value> --attribute <value> [options] <input>

Options

Long

Short

Description

Can Repeat

Notes

--filter-file

-l

Path of the filter file that contains criteria for editing features.

FALSE

Required

--attribute

-a

Attribute acronym and new value.

This option must be in the format:

--attribute attribute value

The attribute must be available in a catalogue.

Use the following for unknown or empty values:

CARIS:UNKNOWN

CARIS:NONE

Enumerated or list type attributes can be represented as numerical codes or text. For example,--attribute COLOUR 7 sets an S-57 feature colour to grey. To set multiple values, use commas as separators (e.g CATFOG 3,6,10)

Dates are specified according to ISO 8601:1988 formats (depending on the attribute):

YYYY-MM-DD

YYYY-MM

YYYY

--MM-DD

--MM

Times are reported in UTC in the ISO 8601:1988 format: YYYY-MM-DDTHH:MM:SS.

TRUE

Required

--keep-certification-status

-k

If set, the certification status of a feature is retained.

If not set, the certification status of all updated features is set to Under Construction.

FALSE

Optional

Example

Example

Objective

Change all INFORM attributes to include the text “NewInformValue” and change all SORDAT attributes to UNKNOWN. The certifications status for each feature is retained.

Description

Command Line Syntax

Input URI

hpd://username:password@OracleDB/db?ProductVersionId=123;ProjectId=111

Filter file

C:\myFilter.filter

INFORM attribute

--attribute INFORM NewInformValue

STATUS attribute

--attribute SORDAT CARIS:UNKNOWN

Command Line

carisbatch --run HPDChangeFeatureAttributes --filter-file C:\myFilter.filter --attribute INFORM NewInformValue --attribute SORDAT CARIS:UNKNOWN --keep-certification-status hpd://username:password@OracleDB/db?ProductVersionId=123;ProjectId=111