The CreateProductFromS57File process creates a database product from an S-57 file.
Input
S-57 file.
Output
HPD database URL
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 | The source usages that are assigned to the product. More than one usage can be applied. | TRUE | Required |
--product-group-id | -G | The 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 Truncated | 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 | --UsageId 3 | |
Use features from a usage with ID 4 | --UsageIdU 4 | |
The product is assigned to product group 1 | --ProductGroupId 1 | |
The name of the new product | --ProductName 1C532832 | |
Output dataset | hpd://username:password@OracleDB | |
Command Line | carisbatch --run CreateProductFromS57File --UsageId 3 --UsageIdU 4 --ProductGroupId 1 --ProductName 1C532832 file:///D:\temp\TestFile.000 hpd://username:password@OracleDB | |
Result | The 1C532832 database S-57 product is created from Approach and Coastal source usages. | |