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

How to mass-change tag value

1

Hi,

In the Nantes city for public transport we have two values of the tag networks that are used.

On the 'terrain' the real value displayed every where is 'TAN' but 50% of the relations are tagged with 'fr_tan'. https://taginfo.openstreetmap.org/tags/network=fr_tan#map

What is the best way to migrate those values to 'TAN' ?

Do someone has already done a script for this ? is their an existing tool to do that ? jOSM ?

asked 02 Sep '14, 11:16

toutpt's gravatar image

toutpt
16112
accept rate: 0%

edited 02 Sep '14, 12:25

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


One Answer:

3

Yes, using JOSM (possibly together with Overpass API, see also the link to it on the taginfo page) seems to be sufficient here (see that other question for example). However, I think that if you plan to use this feature you first should get to know the editor and know yourself how to use it for such mass-retagging.

However, please do not just do it yourself/alone, for various reasons. See https://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct and https://wiki.openstreetmap.org/wiki/Mechanical_Edit_Policy .

answered 02 Sep '14, 12:23

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

edited 02 Sep '14, 12:29

Source code available on GitHub .