Skip to main content

Table 2 Example of the delta encoding in OSH entities

From: OSHDB: a framework for spatio-temporal analysis of OpenStreetMap history data

OSM OSH
osm-way { osh-way {
id: 1234, id: 1234,
version: 3, versions: [{
uid: 10, version: 3,
timestamp: 1000, uid: 10,
tags: [k1:v1,k2:v2;k3:v3], time-delta: 1000,
refs: [1,2,3,4] tags-added:
} [k1:v1,k2:v2,k3:v3]
osm-way { refs: [1,2,3,4]
id: 1234, }, {
version: 2, time-delta: 100,
uid: 10, tags-removed:
timestamp: 900, [k2:v2,k3:v3]
tags: [k1:v1], }, {
refs: [1,2,3,4] uid: 5,
} time-delta: 500,
osm-way { refs-removed: [4]
id: 1234, }]
version: 1, }
uid: 5,
timestamp: 400,
tags: [k1:v1],
refs: [1,2,3]
}
\