One year ago, we exported data from OpenStreetMap. We added attributes and cut some segments with JOSM. Now, we want to update those files (.osm) to the current state of OpenStreetMap. How can we merge our local data and a planetfile for instance ?

We can copy our attributes to the new planet file (using the OSM ID correspondence), but we loose the new segments we created. What can we do merge both ?

  • Keep Local Database in sync with OSM ircama.github.io/osm-carto-tutorials/updating-data – Mapperz Sep 12 '18 at 20:35
  • I tried that but since we have some new segments (with negative IDs), Osmosis doesn't work well. – Gp2mv3 Sep 12 '18 at 20:44
  • Maybe osmium-tool can handle them. Just a guess, I haven't tried it. Alternatively create a diff against the old planet, import the new planet and apply your diff again. You can also try asking at help.openstreetmap.org – scai Sep 13 '18 at 7:39
  • 2
    is there a reason not to have pushed your changes back to OSM? you have essentially "forked" the project and must bear the costs accordingly – Ian Turton Sep 13 '18 at 7:41
  • @IanTurton Not really... But it's a bit too late now. – Gp2mv3 Sep 14 '18 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.