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

How to edit the zipcode of a whole city or region?

0

i have a question, how do i change the zipcode of a whole city in openstreetmap. My area of interest is San Felipe, Baja California. I don't want to individually select each street and add the addr:postcode tag. is their a way to select a whole region in openstreetmap and change the zipcode to 21850. for some reason its showing a 21709 zipcode. this zipcode was used in the 70's and its outdated.

asked 23 Jul '23, 00:44

pointperks's gravatar image

pointperks
16112
accept rate: 0%


One Answer:

1

In JOSM you can download the area of interest, search for objects with the tag "addr:postcode"=21709, change the postcode to 21850 then submit the change.

That type of bulk edit can be dangerous and is often frowned upon, so double and triple check that what you are doing is correct.

answered 23 Jul '23, 16:52

n76's gravatar image

n76
10.8k1082172
accept rate: 17%

thank you, i will give that a try right now

(23 Jul '23, 18:03) pointperks

thank you so much that worked!

(23 Jul '23, 18:22) pointperks

Source code available on GitHub .