This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

OSC to OSM - Change file to OSM osmium

0

Is it possible to use the derive-changes command to get an osc change file of the difference between two time periods and then convert that osc file to osm file for visualization purposes? Is it safe to assume that it will show only the data that was modified between the two time periods?

Thanks!

asked 02 Sep '17, 20:04

walshep's gravatar image

walshep
86448
accept rate: 0%

converted 02 Sep '17, 20:07

1

Just a comment on the side: I hope you realize that geometry in the OSM data model is carried by the nodes only. So for example moving a node of a way will not create a new version of that way (adding of deleting a node, or changing the tags -will- create a new version).

If you are visualizing changes of OSM data between points in time you need to take this into account.

(02 Sep '17, 21:34) SimonPoole ♦

One Answer:

2

No, that doesn't work. The change file doesn't contain enough information to do the actual rendering.

answered 03 Sep '17, 19:33

Jochen%20Topf's gravatar image

Jochen Topf
5.2k55074
accept rate: 31%

I did attempt it to compare 2012 and 2013 data and I noticed that it didn't include everything I saw from a snapshot osm file of the 2013 data that I generated with the "time-filter" command. How would you recommend isolating just the changes? Would importing the data into QGIS and just processing it there to remove duplicates be the best option? Thanks!

(03 Sep '17, 22:03) walshep

Source code available on GitHub .