CARIS HPD : CARIS® Batch : S-57 Composer Processes : Assign Sounding Scamin Values
 

Assign Sounding Scamin Values

The AssignSoundingScaminValues process calculates the minimum display scale (scale minimum) attribute values for S-57 or S-101 soundings based on specified parameters.

The scale minimum is represented by SCAMIN attributes in S-57 datasets and by scaleMinimum attributes in S-101 datasets.

The scale minimum value of a feature determines the display scale below which the feature is no longer visible on an Electronic Chart Display and Information System (ECDIS). The purpose of scale minimum values is to reduce the amount of clutter displayed to the ECDIS user.

This process uses minimum depth, maximum depth and radius values from an option file to iteratively suppress soundings. For each group of soundings that are not suppressed on each iteration, a scale minimum value is calculated based on a corresponding scale factor and other information as described in the parameter file.

Two sample parameter files, sdgparm.txt and sdgparm_IHO.txt, are included with HPD. For more information on option files, see the HPD® User Guide.

When HPD products are updated, soundings that are assigned scale minimum values keep their existing certification status.

Input

Features in a supported format. HOB, H2O, 000 (S-57 or S-101 specification) and HPD URIs are supported.

Output

Features including soundings with assigned scale minimum values in a HOB or H2O file with assigned scale minimum value. An HPD URI may be specified along with an identical input HPD URI to update an HPD product.

Different URIs are not supported. An error will occur if HPD URIs are specified for input and output and the URIs do not match.

Command Line Syntax

carisbatch --run AssignSoundingScaminValues --feature-catalogue <value> --scaling-parameters-file <value> [options] <input> <output>

Options

Long

Short

Description

Can Repeat

Notes

--feature-catalogue

-F

A string specifying the name of the catalogue that defines features and attributes in a vector dataset. One of {list dynamically populated from the Catalogue Control file}.

The names of the available catalogues can be accessed through the application via the Object Catalogue environment variable in Tools > Options. The available catalogues are controlled by the Catalogue Control file. An example of a catalogue name is "S-57 ENC 3.1".

FALSE

Required if the input is a HOB file.

--ignore-meta-feature-scale

If set, the scale of meta features is not used in the calculation of minimum display scale attribute values.

The following attributes are ignored when this option is set:

S-57 datasets: CSCALE attribute of M_CSCL features.

S-101 datasets: maximumDisplayScale attribute of DataCoverage features.

FALSE

Optional

--map-scale

-M

Value for the input map scale.

This option is required for all file formats except those that have a scale, such as S-57 and later versions of HOB files that support text.

If the input has a scale, the option will be ignored.

FALSE

Required when the input does not have a scale.

--scaling-parameters-file

-P

Path to the file specifying the parameters for the calculation of scale minimum values.

Parameters are:

Minimum depth, maximum depth and radius values for sounding suppression

Scale factors for calculation of scale minimum values

Optional compilation scale multiplier for calculation of scale minimum values.

For details, see the Command Reference for Assign Scale Minimum Values or the sample sdgparm.txt and sdgparm_IHO.txt files included with the S-57 Composer module.

FALSE

Required

Examples

S-57

Objective

Assign scale minimum values to soundings in OUTx0000.hob. Soundings are read from INx000.000. The S-57 ENC 3.1 feature catalogue is applied to OUTx0000.hob. The soundings option file is sdgparm.txt and the map scale for INx000.000.hob is 1:10000.

Description

Command Line Syntax

Feature catalogue for output file.

--feature-catalogue "S-57 ENC 3.1"

Soundings option file.

--scaling-parameters-file sdgparm.txt

Path and name of input file.

D:\input\INx0000.000

Path and name of output file.

D:\output\OUTx0000.hob

Command Line

carisbatch --run AssignSoundingScaminValues --feature-catalogue "S-57 ENC 3.1" --scaling-parameters-file sdgparm.txt D:\inputs\INx0000.000 D:\outputs\OUTx0000.hob

Outcome

Scale minimum values are assigned to OUTx0000.hob according to the sdgparm.txt option file.

S-101

Objective

Assign scale minimum values to soundings in S100_input.000. Soundings are read from S100_input.000. The S-101 feature catalogue is applied to s100_output.h2o. The soundings option file is sdgparm_IHO.txt and map scale for S100_input.000 is 1:20000.

Description

Command Line Syntax

Feature catalogue for output file.

--feature-catalogue "S-101 1.1.0"

Soundings option file.

--scaling-parameters-file sdgparm_IHO.txt

Scale of input map.

--map-scale 20000

Path and name of input file.

D:\input\S100_input.000

Path and name of output file.

D:\output\s100_output.h2o

Command Line

carisbatch --run AssignSoundingScaminValues --feature-catalogue "S-101 1.1.0"  --map-scale 20000 --scaling-parameters-file sdgparm_IHO.txt D:\input\S100_input.000 D:\output\s100_output.h2o

Outcome

Scale minimum values are assigned to s100_output.h2o according to the sdgparm_IHO.txt option file.

HPD URI

Objective

Assign scale minimum values to soundings in the HPD product hpd://username:password@database?ProductVersionId=10003;ProjectId=12. The sounding option file is sdgparm.txt and the map scale 1:10000.

Description

Command Line Syntax

Scale of input map.

--map-scale 10000

Soundings option file.

--scaling-parameters-file sdgparm.txt

HPD Product URI.

hpd://username:password@database?ProductVersionId=10003;ProjectId=12

Command Line

carisbatch --run AssignSoundingScaminValues --map-scale 10000 --scaling-parameters-file sdgparm.txt hpd://username:password@database?ProductVersionId=10003;ProjectId=12 hpd://username:password@database?ProductVersionId=10003;ProjectId=12

Outcome

Scale minimum values are updated in the HPD product hpd://username:password@database?ProductVersionId=10003;ProjectId=12 according to the sdgparm.txt option file.

S-101

Objective

Assign scale minimum values to soundings in input.h2o. Soundings are read from input.h2o. The S-101 feature catalogue is applied to output.h2o. The soundings options file is sdgparm.txt, and the mapping scale for input.h2o is 1:10000. The scale of meta features is ignored.

Description

Command Line Syntax

Feature catalogue for output file.

--feature-catalogue "S-101 1.0"

Scale of input map.

--map-scale 10000

Ignore scale of meta features.

-ignore-meta-feature-scale

Soundings option file.

--scaling-parameters-file sdgparm.txt

Path and name of input file.

D:\input\input.h2o

Path and name of output file.

D:\outputs\output.h2o

Command Line

carisbatch --run AssignSoundingScaminValues --feature-catalogue "S-101 1.0" --map-scale 10000 --ignore-meta-feature-scale --scaling-parameters-file sdgparm.txt D:\input\input.h2o D:\outputs\output.h2o

Outcome

Scale minimum values are assigned to output.h2o according to the sdgparm.txt option file. The scale of meta features is ignored.