Function decodeWays
Decode every regular Way in one validated PrimitiveGroup.
bool decodeWays(Sink)(
const ref PrimitiveBlockLayout block,
const ref PrimitiveGroupLayout group,
StringTableView table,
ref Sink sink,
out WayDecodeSummary summary,
out PbfStatus status
) nothrow @nogc @safe;
The complete group is semantically preflighted before the first sink call. Required Way IDs, merged Info metadata, normal-element tag references, and every checked delta-coded node reference are therefore known valid before any observable output occurs.
WayView contains absolute OSM node IDs. If LocationsOnWays data is
carried, WayView exposes exact nanodegree coordinates in matching
order. The decoder intentionally performs no node lookup and no geometric
interpretation, keeping the PBF layer composable with higher geospatial layers
resolver and geometry libraries without forcing either dependency or
materialization here.