Module osm.io.pbf.primitive_group
Structural validation and layout discovery for OSMPBF PrimitiveGroup data.
The decoder keeps primitive payloads borrowed from the original group and validates DenseNodes column structure without allocating. Dense node ID, latitude and longitude streams accept both packed and unpacked protobuf encodings and merge repeated DenseNodes message occurrences according to protobuf message semantics.
Date
2026-09-12
Functions
| Name | Description |
|---|---|
decodePrimitiveGroupLayout(input, layout, status)
|
Decode and validate one complete serialized OSMPBF PrimitiveGroup.
|
Structs
| Name | Description |
|---|---|
DenseNodesLayout
|
Validated DenseNodes metadata discovered inside one PrimitiveGroup. |
PrimitiveGroupLayout
|
Allocation-free structural layout of one serialized PrimitiveGroup. |