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

Export Country-State-City-Street-ZIP code worldwide for use with address auto-completion?

2

For our webstore we'd like to create an address auto-completion feature to improve data accuracy, very much like you can test here

Is it possible to export a comma-separated file (or XML) with just the following information, but from all major countries world-wide on a single click?

  • Country
  • State
  • City
  • ZIP Code/Postal Code
  • Street

No GPS data is needed.

asked 01 Jun '11, 01:38

The%20Woo's gravatar image

The Woo
31113
accept rate: 0%

edited 09 Aug '16, 11:22

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


2 Answers:

1

Why not just build you own openstreetmap server and just query that internally via nominatim? The JSON formated output would be real easy to parse client side with jquery, so you could simply call your own nominatim server and periodicalyl sync the data.

answered 16 Jun '11, 22:42

Justin%20Dearing's gravatar image

Justin Dearing
26335
accept rate: 0%

-2

Even i want to know the script to auto populate city and state from zipcode for indian locations..

can anyone help pls?

Regards, Anand

answered 29 Oct '14, 19:17

Anandbagru's gravatar image

Anandbagru
-1
accept rate: 0%

edited 31 Oct '14, 16:59

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Hello Anand, please open a new question (with more details and examples!!) on this FAQ site for your aim.

But before, please do intensive research on this site about "export Postalcode" or similar queries ... there have been already questions AND answers on that topic.

(31 Oct '14, 14:47) stephan75

meta: malfunction of this help site - sorry @stephan75

(31 Oct '14, 17:00) aseerel4c26 ♦

Source code available on GitHub .