Class S101ToS57TranslationDiagnostics
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
DroppedFeatures
S-101 feature classes dropped by an Annex C rule, with the clause.
public IReadOnlyDictionary<S101FeatureDrop, int> DroppedFeatures { get; }
Property Value
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
FeaturesRead
Number of S-101 feature records read.
public int FeaturesRead { get; }
Property Value
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
FeaturesWritten
Number of S-57 feature records written, including synthesised ones.
public int FeaturesWritten { get; }
Property Value
FoldedIntoInform
Text strings folded into INFORM/NINFOM, by source (for
example information, NauticalInformation or
multiplicityOfFeatures).
public IReadOnlyDictionary<string, int> FoldedIntoInform { get; }
Property Value
InformOverLength
Number of INFORM/NINFOM values longer than the configured maximum.
public int InformOverLength { get; }
Property Value
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
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
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
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
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
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
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
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
UnmappedAttributes
S-101 attributes with no conversion rule, by owning class.
public IReadOnlyDictionary<S101UnmappedAttribute, int> UnmappedAttributes { get; }
Property Value
UnmappedFeatureClasses
S-101 feature classes with no conversion rule.
public IReadOnlyDictionary<string, int> UnmappedFeatureClasses { get; }
Property Value
UnmappedInformationTypes
Information types linked to a feature that Phase 1 does not fold into INFORM.
public IReadOnlyDictionary<string, int> UnmappedInformationTypes { get; }