CARIS HPD : Command Reference : V : Validation : QC Tests
 

QC Tests

This table lists all the standard QC tests. The S-58 Check Number, if any, refers to the test number from the Recommended ENC Validation Checks (S-58 Ed. 6.1) standard from the International Hydrographic Organization.

Tests with names beginning with S-058 are not available in CARIS HPD Paper Chart Editor and CARIS Paper Chart Composer.

Duplicate Objects

Description

Check that no feature is duplicated (same class, attribute description, geometry) and no sounding depth coincides with another sounding depth.

Option

Ignore administrative attributes (RECDAT, RECIND, SORDAT and SORIND) when comparing objects

On: Do not compare administrative attributes.

Off: Compare administrative attributes.

Duplicate Geometry only

On: Check for objects with duplicate geometry and different acronyms.

Off: Do not check for objects with duplicate geometry and different acronyms.

Duplicate Geometry and Feature Acronym only

On: Check for objects with duplicate geometry and acronyms and different attributes.

Off: Do not check for objects with duplicate geometry and acronyms and different attributes.

Duplicate Geometry, Feature Acronym, and Feature Attributes only

On: Check for objects with duplicate geometry, acronyms, and attributes.

Off: Do not check for objects with duplicate geometry, acronyms, and attributes.

Duplicate Sounding Depth only

On: Check for soundings with duplicate X/Y coordinates. Feature attributes, Z value or spatial attributes may or may not be duplicated.

Off: Do not perform any duplicate object checks on soundings.

S-58 Check Number

67, 81

Prohibited Objects

Description

Check for all prohibited object classes.

Option

Check for edges with too many coordinates

On: Check that no edges contain more than 1,000,000 coordinates and report them as errors.

Off: Do not check for the number of coordinates in edges.

Check for edges with coordinates that are too close

On: Check for area and line features with edges that have coordinates closer than 0.3 mm at compilation scale. The compilation scale is determined from the CSCALE attribute, if any, of the M_CSCL feature, or from the map scale.

Off: Do not check for coordinates that are too close. This is the default setting.

S-58 Check Number

503, 560a, 560b, 571

Prohibited Primitives

Description

Check that geometry primitive is compatible with the object class.

Option

[none]

S-58 Check Number

20a

Invalid Attributes

Description

Check that attributes of type “L” (list) and “E” (enumerated) for any objects contain only allowable values.

Option

Allow Unicode characters in National Attributes

On: Unicode characters will not be considered invalid.

Off: Unicode characters will be flagged as errors.

Allow standard (ASCII) characters only

On: Only standard ASCII characters will be considered valid. All other characters are flagged as errors.

Off: All characters will be valid, depending on the setting of Allow Unicode characters.

S-58 Check Number

26b, 567, 1530, 1531, 1533, 1534, 1536, 1538, 1542, 1679, 2000

Mandatory Attributes

Description

Check all mandatory attributes.

Option

[none]

S-58 Check Number

507

Invalid Geometry

Description

Check that spatial relationships between features are valid.

Option

Find lines with self crossing edges

On: Self-crossing edges will be reported

Off: Self-crossing edges will not be reported.

S-58 Check Number

13a, 13b, 13c, 13d, 15, 16, 17, 22, 80a, 80b, 80c, 82

Overlapping Areas

Description

Check overlapping area features with the same feature class or overlapping area features with the same feature class and attributes.

Option

Ignore all attributes

On: Overlapping areas must have the same acronym but can have different attributes.

Off: Overlapping areas must have the same acronym and attributes.

Ignore administrative attributes (RECDAT, RECIND, SORDAT and SORIND) when comparing objects

On: Do not compare administrative attributes.

Off: Compare administrative attributes.

Ignore feature acronyms and all attributes

On: Overlapping areas are identified only by their geometry. Acronyms and attributes can all be different.

Off: Overlapping areas must have the same acronym and attributes.

S-58 Check Number

[none]

Overlapping Edges

Description

Check that no part of an edge is duplicated (that is, a pair of coordinates identical for two edges).

Option

[none]

S-58 Check Number

1

Intersecting Edges

Description

Check that no two segments overlap without an end node between them.

This test does not work with geodesics and loxodromes.

Option

Check by feature class

On: Check only features with the same feature class.

Off: Check all features regardless of feature class.

Find near intersections only: Applies to area features only.

On: Only near intersections will be located. Near intersections occur when a point on one edge is very close to another edge, usually closer than the X/Y resolution of the map. The finer the X/Y resolution, the smaller the distance between edges with near intersections will be.

Off: Near intersections will not be located.

S-58 Check Number

79

Redundant Edges, Points and Soundings

Description

Check for edges, points or soundings that completely overlay each other. These tests are performed at the spatial level so that individual edges that make up a line or area can be tested.

Option

Find near duplicate edges only: Applies to area features only.

On: Only near duplicate edges will be located. Near duplicate edges occur when points on one edge are very close to another edge, usually closer than the X/Y resolution of the map. The finer the X/Y resolution, the smaller the distance between edges will be.

Off: Near duplicate edges will not be located.

S-58 Check Number

1, 83

Edges with Redundant Vertices

Description

Check all lines with redundant points. A redundant point is one that does not change the path of a line.

In this example, the top edge has no redundant points while the lower edge has three redundant points. If you remove the three middle points, the shape and direction of the line is not changed.

Option

[none]

S-58 Check Number

87

Edges to Merge

Description

Check for all edges with pseudonodes that can be merged.

A pseudonode is a node at which only two edges meet and which is therefore unnecessary. When a pseudonode is removed, the two edges are joined to form one edge. A pseudonode does not exist if the two ends of the same edge meet to form an island. This test does not report edges with different spatial attributes or different masking or closing flags.

Option

[none]

S-58 Check Number

[none]

Lines to Merge

Description

Check all lines joined by a node that share the same feature code and attributes.

Option

[none]

S-58 Check Number

40

Areas to Merge

Description

Check if two or more adjacent areas with the same attributes share common edges that could be removed. This option also checks if the area has incomplete geometry that prevents it from being merged.

Note: Attributes RECDAT, RECIND, SORDAT and SORIND are ignored when option is selected.

Option

Ignore administrative attributes (RECDAT, RECIND, SORDAT and SORIND) when comparing objects

On: Do not compare administrative attributes.

Off: Compare administrative attributes.

Ignore Dividing Lines and Overlapping Areas

On: Dividing lines and overlapping areas will be ignored when checking if areas can be merged.

Off: Dividing lines and overlapping areas will be considered when checking areas. Merging such areas would result in invalid topology in VPF.

S-58 Check Number

[none]

Points Inside Areas

Description

Check for the occurrence of any point feature lying inside an area feature of the same class and attribute values, except for LNDARE, WRECKS, and OBSTRN objects.

Note: Attributes RECDAT, RECIND, SORDAT and SORIND are ignored when option is selected.

Option

Ignore administrative attributes (RECDAT, RECIND, SORDAT and SORIND) when comparing objects

On: Do not compare administrative attributes.

Off: Compare administrative attributes.

S-58 Check Number

1672

Lines Bordering Areas

Description

Check for any line feature whose geometry is coincident with the geometry of an area feature of the same object class and attribute values.

Note: Attributes RECDAT, RECIND, SORDAT and SORIND are ignored when option is selected.

Option

Ignore administrative attributes (RECDAT, RECIND, SORDAT and SORIND) when comparing objects

On: Do not compare administrative attributes.

Off: Compare administrative attributes.

S-58 Check Number

1671

Lines Sharing Edges

Description

VPF only. Check for lines that share edges. The lines must have the same acronym.

Option

Ignore all attributes

On: Shared edges will be reported even if the lines have different attributes.

Off: Shared edges will be reported only if the lines have the same attributes

Ignore administrative attributes (RECDAT, RECIND, SORDAT and SORIND) when comparing objects

On: Do not compare administrative attributes.

Off: Compare administrative attributes.

S-58 Check Number

[none]

Edges Only Used by Areas

Description

Check all edges in an area feature and report if an edge is not shared with a line feature.

Option

[none]

S-58 Check Number

[none]

Areas Divided by Lines

Description

VPF only.

Check for areas that are divided by lines.

Option

[none]

S-58 Check Number

[none]

S-58 Features and Attributes

Description

Run multiple generic built in tests that represent S-58 tests:

Duplicate Objects using the Duplicate Geometry, Feature Acronym and Feature Attributes Only option. This is for non-sounding features.

Duplicate Objects using the Duplicate Geometry Only option.This is for sounding features.

Prohibited Objects using no options

Prohibited Primitives

Invalid Attributes using the Allow Unicode characters in National Attributes option.

Mandatory Attributes

Option

[none]

S-58 Check Number

[all check numbers referenced by the tests executed by this test]

S-58 Geometry

Description

Run multiple generic built in tests that represent S-58 tests:

Prohibited Objects using the Check for edges with coordinates that are too close option.

Invalid Geometry using no options.

Overlapping Edges

Redundant Edges, Points and Soundings using no options.

Intersecting Edges using no options.

Edges with Redundant Vertices

Edges to Merge

Lines To Merge

Points Inside Areas using no options.

Lines Bordering Areas using the Ignore Administrative attributes (RECDAT, RECIND, SORDAT and SORIND) and SCAMIN when comparing objects option.

Option

[none]

S-58 Check Number

[all check numbers referenced by the tests executed by this test]

S-58 Soundings

Description

This function runs these related tests:

Check all sounding features to see if they meet the criteria for grouping.

Check soundings in groups for same spatials and attributes.

Check that number of soundings in groups is 100,000 or less.

Check all sounding features to see that the exposition of sounding and the depth value is valid for the depth area or dredge area that contains it or covers it.

Option

[none]

S-58 Check Number

517a, 1768, 1769, 1770a, 1770b, 1770c

S-58 Collection Features

Description

Check that all collections contain a minimum of two features, that collections do not reference themselves, and that there are no duplicate collection features. A duplicate collection feature is one that shares an acronym, attributes and at least one reference to an identical feature with another collection feature

Option

[none]

S-58 Check Number

67b, 517b, 1683, 1684, 1788

S-58 Master/Slave Relationships

Description

Check that all slave features are associated to a master feature and that all relationships between master/slave features are correct.

Option

[none]

S-58 Check Number

72, 89a, 89b, 516a, 516b, 516c, 1721, 1722a, 1722b, 1723, 1724, 1725, 1793

S-58 Orient/Usage/Mask Flags

Description

Check for validity of orientation, usage, and mask.

Option

[none]

S-58 Check Number

9b, 11, 19, 71a, 71b, 515

S-58 Depth Areas and Depth Contours

Description

This function runs four related tests:

Check DEPARE area features and report on those features that do not share edges with DEPCNT line features.

Check that all DRVAL1 and DRVAL2 values (except the shallowest or deepest) of a DEPARE feature are also values of VALDCO.

Check that for any edge which is shared by a DEPCNT (VALDCO) and two area DEPARE (DRVAL1, DRVAL2), but by no line DEPARE, that:

(Maximum value of DRVAL2) > VALDCO > (Minimum value of DRVAL1), and

(Minimum value of DRVAL2) = VALDCO > or = (Maximum value of DRVAL1).

Check that the overall succession of DRVAL1 and DRVAL2 in the whole maritime area is continuous.

Option

[none]

S-58 Check Number

43, 44, 1771

S-58 Data Coverage

Description

Check the coverage of M_COVR objects.

Option

[none]

S-58 Check Number

500, 501, 505, 544, 548, 554

S-58 Meta Object Coverage

Description

Check the coverage of meta objects (excluding the M_COVR objects):

Option

[none]

S-58 Check Number

505, 576, 1532, 1726, 1765a, 1765b

S-58 Group 1 Area Coverage

Description

Check the coverage of group 1 (skin of the earth) area features.

Option

[none]

S-58 Check Number

42, 519a, 519b, 549, 1644

S-58 Critical Errors

Description

Run all S-58 6.1 checks listed as critical errors and report the results. This includes all tests with names that start with S-58 in QC Tests and Customized QC Tests.

A critical error is defined as an error which would make an ENC unusable in ECDIS through not loading or causing an ECDIS to crash or presenting data upon which is unsafe for navigation.

To quickly check that a dataset officially meets S-58 Ed 6.1 compliance, you can run this test and get a Pass/Fail result. Scroll to the end of the output in the Validation window:

====== Validation, S-58 Critical Errors - ...

S-58 Critical Errors: FAIL

====== Validation, S-58 Critical Errors - ...

A Pass/Fail result is not given unless all of the standard S-58 tests are run and only the standard S-58 tests are run. See S-58 Error Level QC Tests for details.

Option

[none]

S-58 Check Number

[all check numbers referenced by the critical error tests]

S-58 Errors

Description

Run all S-58 6.1 checks listed as errors and report the results. This includes all tests with names that start with S-58 in QC Tests and Customized QC Tests

An error is defined as an error which may degrade the quality of the ENC through appearance or usability but which will not pose a significant danger when used to support navigation.

To quickly check that a dataset officially meets S-58 Ed 6.1 compliance, you can run the test and get a Pass/Fail result. Scroll to the end of the output in the Validation window:

====== Validation, S-58 Critical Errors - ...

S-58 Errors: FAIL

====== Validation, S-58 Critical Errors - ...

A Pass/Fail result is not given unless all of the standard S-58 tests are run and only the standard S-58 tests are run. See S-58 Error Level QC Tests for details.

Option

[none]

S-58 Check Number

[all check numbers referenced by the error tests]

S-58 Warnings

Description

Run all S-58 6.1 checks listed as warnings and report the results. This includes all tests with names that start with S-58 in QC Tests and Customized QC Tests

A warning is defined as an error which may be duplication or and inconsistency which will not noticeably degrade the usability of an ENC in ECDIS.

To quickly check that a dataset officially meets S-58 Ed 6.1 compliance, you can run the test and get a Pass/Fail result. Scroll to the end of the output in the Validation window:

====== Validation, S-58 Critical Errors - ...

S-58 Warnings: FAIL

====== Validation, S-58 Critical Errors - ...

A Pass/Fail result is not given unless all of the standard S-58 tests are run and only the standard S-58 tests are run. See S-58 Error Level QC Tests for details.

Option

[none]

S-58 Check Number

[all check numbers referenced by the warning tests]