CARIS HPD : CARIS® Batch : HPD® Processes : ProductBuilder License : Create Product from S-57 File
 

Create Product from S-57 File

The CreateProductFromS57File process creates a database product from an S-57 file.

Input

S-57 file.

Output

HPD database URI.

Command Line Syntax

carisbatch --run CreateProductFromS57File --usage-id <value> --product-group-id <value> --product-name <value> [options] <input> <output>

Options

Long

Short

Description

Can Repeat

Notes

--usage-id

-U

Source usage(s) that are assigned to the product.

TRUE

Required

--product-group-id

-G

Product group to which the new product is assigned.

FALSE

Required

--product-name

-N

Name of the new product.

FALSE

Required

--sounding-rounding

-S

Sounding rounding rule that is applied to the product. Values are rule names in SoundingRounding.xml.

The default value is Default Truncated.

FALSE

Optional

--issue-date

-I

String specifying the issue date for the S-57 product.

Dates are specified in the standard ISO 8601 extended format for batch processes, which is YYYY-MM-DD or YYYY-DDD. See ISO 8601 Date and Time Strings documentation for more information.

If this option is not specified, the issue date will be set to the current date when the product is exported.

FALSE

Optional

--product-template-name

 

Product template name for the S-57 product. This must be the name of an S-57 type product template.

If a template is not specified, it is determined by looking for a matching product information for the given S-57 file, and using the first matching product information to determine the product template.

Product template names are shown in the Select Workspace dialog box when opening a source workspace while creating a new S-57 product.

FALSE

Optional

Example

Example

Objective

Create the database S-57 product, 1C532832, from the Approach and Coastal source usages.

Description

Command Line Syntax

S-57 file for the product.

file:///D:\temp\TestFile.000

Use features from a usage with ID 3.

--usage-id 3

Use features from a usage with ID 4.

--usage-id 4

Assign the product to product group 1.

--product-group-id 1

Name of the new product is 1C532832.

--product-name 1C532832

Name of the product template is ENC / S57ENC.

--product-template-name "ENC / S57ENC"

Output dataset.

hpd://username:password@database

Command Line

carisbatch --run CreateProductFromS57File --usage-id 3 --usage-id 4 --product-group-id 1 --product-name 1C532832 --product-template-name "ENC / S57ENC" file:///D:\temp\TestFile.000 hpd://username:password@database

Result

The 1C532832 database S-57 product is created from Approach and Coastal source usages using the product template ENC / S57ENC.