CARIS HPD : CARISĀ® Batch : HPD S-100 Server Processes : Import S-100 Catalogue
 

Import S-100 Catalogue

The ImportS100Catalogue process adds an S-100 catalogue to a schema.

Input

HPD URI schema

Output

The same schema with an S-100 catalogue.

Command Line Syntax

carisbatch --run ImportS100Catalogue --product-name <value> --product-version <value> --catalogue-file <value> --supplement-file <value> [options] <input>

Options

Long

Short

Description

Can Repeat

Notes

--product-name

-n

Name used to identify the catalogue.

FALSE

Required

--product-version

-V

Catalogue version.

FALSE

Required

--catalogue-file

-c

Catalogue file that is imported into the schema.

FALSE

Required

--supplement-file

-s

CARIS extension to the catalogue file.

FALSE

Required

--set-source-catalogue

-S

If set, assign the imported catalogue as the source catalogue.

FALSE

Optional

--overwrite-catalogue

-O

If set, overwrite the catalogue with the matching name.

FALSE

Optional

Examples

Set S-101 catalogue as the source catalogue

Objective

Import an S-101 catalogue into an existing schema as the source catalogue.

Description

Command Line Syntax

Connection to the database

hpd://username:password@database

Product name

"S-101 1.1.0"

Product version

"1.1.0"

Catalogue file

"C:\Program Files\CARIS\HPD\<version>\system\S100Config\system\S-101\S-101_FC_1_1_0.xml"

Supplement file

"C:\Program Files\CARIS\HPD\<version>\system\S100Config\system\S-101\S-101_FC_1_1_0_supplement.xml"

Command Line

C:\Program Files\CARIS\HPD\<version>\Bin>carisbatch -r ImportS100Catalogue hpd://username:password@database --product-name "S-101 1.1.0" --product-version "1.1.0" --catalogue-file "C:\Program Files\CARIS\HPD\<version>\system\S100Config\system\S-101\S-101_FC_1_1_0.xml" --supplement-file "C:\Program Files\CARIS\HPD\<version>\system\S100Config\system\S-101\S-101_FC_1_1_0_supplement.xml" --set-source-catalogue

Outcome

The S-101 catalogue is imported into the existing schema and source is now set to S-101.

Overwrite existing S-101 catalogue

Objective

Overwrite an S-101 catalogue in an existing schema.

Description

Command Line Syntax

Connection to the database

hpd://username:password@database

Product name

"S-101 1.1.0"

Product version

"1.1.0"

Catalogue file

"C:\Program Files\CARIS\HPD\<version>\system\S100Config\system\S-101\S-101_FC_1_1_0.xml"

Supplement file

"C:\Program Files\CARIS\HPD\<version>\system\S100Config\system\S-101\S-101_FC_1_1_0_supplement.xml"

Overwrite the existing catalogue

--overwrite-catalogue

Command Line

carisbatch --run ImportS100Catalogue hpd://username:password@database --product-name "S-101 1.1.0" --product-version "1.1.0" --catalogue-file "C:\Program Files\CARIS\HPD\<version>\system\S100Config\system\S-101\S-101_FC_1_1_0.xml" --supplement-file "C:\Program Files\CARIS\HPD\<version>\system\S100Config\system\S-101\S-101_FC_1_1_0_supplement.xml" --overwrite-catalogue

Outcome

The existing S-101 catalogue has been overwritten.