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

Merge generated JOSM with OSM data conflicts

0

I have some official building plans that were converted to OSM format for a certain building complex. I wanted to have them replace the current buildings in OSM (and also add ones that weren't there yet) because they are more accurate. I wrote a short script that compares the buildings as shapes and then creates a JOSM file that replaces certain buildings that were deemed to be matches with my data. I then plan to manually clean it up and make sure it is fit for submission.

I want to be able to apply these this generated file to OSM. The file has additions modifications and deletions. If I open the generated file, then download the OSM data, it seems to merge them, but there's conflicts. If I try to resolve the conflicts, only the way is deleted, not the nodes. Any way I can have everything deleted (I have the nodes marked as "delete" in the JOSM file).

EDIT: Here's some screenshots documenting what's going on. http://imgur.com/a/yAYyo

asked 14 Nov '13, 17:09

mwr54's gravatar image

mwr54
1223
accept rate: 0%

edited 14 Nov '13, 17:40


One Answer:

0

I fixed my own problem after tinkering with it for awhile. You have to include all the attributes for the element you want to delete. I just had the id and version initially.

answered 14 Nov '13, 19:46

mwr54's gravatar image

mwr54
1223
accept rate: 0%

Source code available on GitHub .