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: • • Enumerated or list type attributes can be represented as numerical codes or text. For example, Dates are specified according to ISO 8601:1988 formats (depending on the attribute): • • • • • Times are reported in UTC in the ISO 8601:1988 format: | 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 | |