Streaming Data - Project-EPIC/epic-osm-realtime GitHub Wiki
Planet Stream Data
The format of the data coming from the planet stream looks like this:
{
"metadata": {
"id": "37032875",
"created_at": "2016-02-05T23:19:55Z",
"closed_at": "2016-02-05T23:19:55Z",
"open": "false",
"num_changes": "3",
"user": "rivw",
"uid": "1890760",
"min_lat": "-27.224515",
"max_lat": "-27.2191939",
"min_lon": "31.3049984",
"max_lon": "31.3143996",
"comments_count": "0",
"source": "Bing",
"created_by": "JOSM/1.5 (9329 nl)",
"comment": "#hotosm-project-1429 #MissingMaps mapping buildings for Swaziland Malaria Elimination Program."
},
"elements": [{
"id": "3991346311",
"lat": "-27.2234236",
"lon": "31.3058667",
"version": "1",
"timestamp": "2016-02-05T23:19:55Z",
"changeset": "37032875",
"uid": "1890760",
"user": "rivw",
"action": "create",
"type": "node",
"tags": {}
}, {
"id": "132753567",
"version": "3",
"timestamp": "2016-02-05T23:19:55Z",
"changeset": "37032875",
"uid": "1890760",
"user": "rivw",
"old": {
"id": "132753567",
"version": "2",
"timestamp": "2016-02-05T23:18:15Z",
"changeset": "37032800",
"uid": "1890760",
"user": "rivw",
"action": "modify",
"type": "way",
"tags": {
"highway": "unclassified",
"surface": "unpaved"
},
"nodes": [{
"ref": "1460458624",
"lat": "-27.2245150",
"lon": "31.3049984"
}, {
"ref": "1460458584",
"lat": "-27.2236409",
"lon": "31.3056181"
}, {
"ref": "1460458569",
"lat": "-27.2233406",
"lon": "31.3061839"
}, {
"ref": "1460458554",
"lat": "-27.2228131",
"lon": "31.3093052"
}, {
"ref": "1460458552",
"lat": "-27.2227888",
"lon": "31.3099623"
}, {
"ref": "1460458550",
"lat": "-27.2226508",
"lon": "31.3104278"
}, {
"ref": "1460458547",
"lat": "-27.2222479",
"lon": "31.3110894"
}, {
"ref": "1460458545",
"lat": "-27.2221395",
"lon": "31.3112674"
}, {
"ref": "1460458502",
"lat": "-27.2205569",
"lon": "31.3131931"
}, {
"ref": "1460458482",
"lat": "-27.2197373",
"lon": "31.3140419"
}, {
"ref": "1460458468",
"lat": "-27.2193031",
"lon": "31.3143128"
}]
},
"action": "modify",
"type": "way",
"tags": {
"highway": "unclassified",
"surface": "unpaved"
},
"nodes": [{
"ref": "1460458624",
"lat": "-27.2245150",
"lon": "31.3049984"
}, {
"ref": "1460458584",
"lat": "-27.2236409",
"lon": "31.3056181"
}, {
"ref": "3991346311",
"lat": "-27.2234236",
"lon": "31.3058667"
}, {
"ref": "1460458569",
"lat": "-27.2232879",
"lon": "31.3062550"
}, {
"ref": "1460458554",
"lat": "-27.2228131",
"lon": "31.3093052"
}, {
"ref": "1460458552",
"lat": "-27.2227888",
"lon": "31.3099623"
}, {
"ref": "1460458550",
"lat": "-27.2226508",
"lon": "31.3104278"
}, {
"ref": "1460458547",
"lat": "-27.2222479",
"lon": "31.3110894"
}, {
"ref": "1460458545",
"lat": "-27.2221395",
"lon": "31.3112674"
}, {
"ref": "1460458502",
"lat": "-27.2205569",
"lon": "31.3131931"
}, {
"ref": "1460458482",
"lat": "-27.2197373",
"lon": "31.3140419"
}, {
"ref": "1460458468",
"lat": "-27.2193031",
"lon": "31.3143128"
}]
}]
}