Struct HeaderFeatureAssessment

Summary of feature declarations and compatibility with one reader policy.

struct HeaderFeatureAssessment;

Fields

NameTypeDescription
firstUnsupportedRequired HeaderFeatureRefFirst unsupported required occurrence, if any.
hasDenseNodes boolHeader declares DenseNodes in either feature list.
hasHistoricalInformation boolHeader declares HistoricalInformation in either feature list.
hasLocationsOnWays boolHeader declares LocationsOnWays in either feature list.
hasOsmSchemaV06 boolHeader declares OsmSchema-V0.6 in either feature list.
optionalCount ulongNumber of correctly encoded optional feature occurrences.
requiredCount ulongNumber of correctly encoded required feature occurrences.
unknownOptionalCount ulongNumber of optional occurrences not currently recognized by osm-d.
unsupportedRequiredCount ulongNumber of required occurrences unsupported by the supplied policy.

Properties

NameTypeDescription
hasUnknownOptional[get] boolReturns whether unknown optional declarations require preservation care.
readable[get] boolReturns whether all required feature occurrences are supported.