I can see that DenseNodes are one of the primitive node types (nodes, DenseNodes, ways, relations).
I can understand the rest, but I couldn't figure out what a DenseNode is.
I can see that DenseNodes are one of the primitive node types (nodes, DenseNodes, ways, relations).
I can understand the rest, but I couldn't figure out what a DenseNode is.
Nodes can be encoded one of two ways, as a Node (defined above) and a special dense format. In the dense format, I store the group 'columnwise', as an array of IDs, array of latitudes, and array of longitudes. Each column is delta-encoded. This reduces header overheads and allows delta-coding to work very effectively.
ref: PBF Format https://wiki.openstreetmap.org/wiki/PBF_Format