Table of Contents

Class S101ToS57TranslationDiagnostics

Namespace
EncDotNet.S100.Datasets.S57
Assembly
EncDotNet.S100.Datasets.S57.dll

Optional diagnostics for Translate(S101Document, S101ToS57TranslationDiagnostics?): aggregate counts of what the translation read, wrote, dropped, folded and truncated, with the S-65 Annex C clause where a rule caused it. It mirrors S57TranslationDiagnostics for the forward direction.

public sealed class S101ToS57TranslationDiagnostics
Inheritance
S101ToS57TranslationDiagnostics
Inherited Members

Remarks

Create a fresh instance per translation. Passing null to the translator turns collection off.

Properties

DroppedAttributes

S-101 attributes dropped by an Annex C rule, with the clause.

public IReadOnlyDictionary<S101AttributeDrop, int> DroppedAttributes { get; }

Property Value

IReadOnlyDictionary<S101AttributeDrop, int>

DroppedFeatures

S-101 feature classes dropped by an Annex C rule, with the clause.

public IReadOnlyDictionary<S101FeatureDrop, int> DroppedFeatures { get; }

Property Value

IReadOnlyDictionary<S101FeatureDrop, int>

DroppedInformationTypes

Information types not converted, with the Annex C clause that says so (§24.2 Service Hours, §24.3 Non-standard Working Day).

public IReadOnlyDictionary<S101FeatureDrop, int> DroppedInformationTypes { get; }

Property Value

IReadOnlyDictionary<S101FeatureDrop, int>

FeaturesRead

Number of S-101 feature records read.

public int FeaturesRead { get; }

Property Value

int

FeaturesSynthesised

S-57 objects created from part of an S-101 feature, by acronym: a TOPMAR from a topmark (Annex C §18.1), or a further LIGHTS for each extra sector of a LightSectored.

public IReadOnlyDictionary<string, int> FeaturesSynthesised { get; }

Property Value

IReadOnlyDictionary<string, int>

FeaturesWritten

Number of S-57 feature records written, including synthesised ones.

public int FeaturesWritten { get; }

Property Value

int

FoldedIntoInform

Text strings folded into INFORM/NINFOM, by source (for example information, NauticalInformation or multiplicityOfFeatures).

public IReadOnlyDictionary<string, int> FoldedIntoInform { get; }

Property Value

IReadOnlyDictionary<string, int>

InformOverLength

Number of INFORM/NINFOM values longer than the configured maximum.

public int InformOverLength { get; }

Property Value

int

MandatoryAttributesNulled

Mandatory S-57 attributes written empty for lack of a source value (Annex C §2.4.3).

public IReadOnlyDictionary<S57AttributeNulled, int> MandatoryAttributesNulled { get; }

Property Value

IReadOnlyDictionary<S57AttributeNulled, int>

MovedToNational

ATTF values outside ISO 8859-1 moved to their NATF counterpart (OBJNAM to NOBJNM, INFORM to NINFOM, TXTDSC to NTXTDS), by the ATTF acronym (S-57 Part 3 §2.4).

public IReadOnlyDictionary<string, int> MovedToNational { get; }

Property Value

IReadOnlyDictionary<string, int>

NonBooleanValues

Number of S-101 Boolean values that were neither true/1 nor false/0, read as false as the S-100 Lua framework reads them.

public int NonBooleanValues { get; }

Property Value

int

PrimitivesChanged

Features whose geometric primitive changed because S-57 doesn't allow the S-101 one (Annex C Table 2-1), by S-101 class.

public IReadOnlyDictionary<string, int> PrimitivesChanged { get; }

Property Value

IReadOnlyDictionary<string, int>

Restructured

S-101 features converted by other features rather than as an object of their own, by class and clause: a Bridge by its spans (§6.6), a PhysicalAISAidToNavigation as text on its structure (§21.2).

public IReadOnlyDictionary<S101FeatureDrop, int> Restructured { get; }

Property Value

IReadOnlyDictionary<S101FeatureDrop, int>

SkinOfTheEarthCuts

Skin-of-the-earth objects cut around a FLODOC, HULKES or PONTON area (§2.5.1.1), by S-57 class.

public IReadOnlyDictionary<string, int> SkinOfTheEarthCuts { get; }

Property Value

IReadOnlyDictionary<string, int>

TruncatedToFirst

S-57 attributes of type Enumerated, by acronym, that kept only the first of several S-101 values (Annex C §2.4.1).

public IReadOnlyDictionary<string, int> TruncatedToFirst { get; }

Property Value

IReadOnlyDictionary<string, int>

UnencodableText

Values dropped because no S-57 lexical level can encode them: ATTF text outside ISO 8859-1 with no free NATF counterpart, or text outside the Basic Multilingual Plane, by S-57 acronym.

public IReadOnlyDictionary<string, int> UnencodableText { get; }

Property Value

IReadOnlyDictionary<string, int>

UnmappedAttributes

S-101 attributes with no conversion rule, by owning class.

public IReadOnlyDictionary<S101UnmappedAttribute, int> UnmappedAttributes { get; }

Property Value

IReadOnlyDictionary<S101UnmappedAttribute, int>

UnmappedFeatureClasses

S-101 feature classes with no conversion rule.

public IReadOnlyDictionary<string, int> UnmappedFeatureClasses { get; }

Property Value

IReadOnlyDictionary<string, int>

UnmappedInformationTypes

Information types linked to a feature that Phase 1 does not fold into INFORM.

public IReadOnlyDictionary<string, int> UnmappedInformationTypes { get; }

Property Value

IReadOnlyDictionary<string, int>