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

How to upload a file to the server if it changed not through JOSM?

0

I changed the .osm file using a bot (I found and recorded addresses, observing the file structure), but I can’t upload it to the server via JOSM, the program says that there are no changes, and there 95% of the city is marked (it was ~ 5%). How can I update the file on the server?

asked 13 Oct '19, 08:45

Kivdev's gravatar image

Kivdev
11112
accept rate: 0%

1

Where did you 'find' these addresses?

(14 Oct '19, 00:04) InsertUser

2 Answers:

3

Do not upload an automatically modified file to OSM without following the guidelines for mechanical edits (https://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct), otherwise your edits will be reverted again.

Most importantly:

  • discuss your changes in the relevant community
  • double check that the license of any third party data you used is compatible with OSM
  • double check that the tags and values you are using comply with community standards

Technically, if you want JOSM to upload your data, you will probably have to add a "modified=true" XML attribute to the node/way/relation XML nodes.

answered 13 Oct '19, 11:04

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

0

answered 13 Oct '19, 10:28

Kivdev's gravatar image

Kivdev
11112
accept rate: 0%

Source code available on GitHub .