Why not ask your question on the new OpenStreetMap Community Forum?


I wanted to get the lat/long of user entered zip code. Basically i wanted to show some results based on the user entered zip code. Is there any way to get lat/long with zip code?


asked 25 Aug '16, 18:22

KIRAN's gravatar image

accept rate: 0%

edited 25 Aug '16, 20:03

aseerel4c26's gravatar image

aseerel4c26 ♦

is this question in any way about leaflet? You have added it as tag. What is its relation with leaflet?

(25 Aug '16, 20:03) aseerel4c26 ♦

See https://help.openstreetmap.org/questions/46371/need-help-showing-zip-codes-on-map-and-their-boundaries

Note this site has a search function and before posing a new question you should use it first.

permanent link

answered 25 Aug '16, 19:53

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%

edited 25 Aug '16, 19:54

You can try asking nominatim, like so:


But there is no assurance that the answer will be a zip code, and zip codes don't really have a center as such.

You will probably get more useful results from something using a non OSM source like https://www.census.gov/geo/reference/zctas.html .

permanent link

answered 25 Aug '16, 19:52

maxerickson's gravatar image

accept rate: 32%

edited 25 Aug '16, 19:53

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 25 Aug '16, 18:22

question was seen: 5,127 times

last updated: 25 Aug '16, 20:03

powered by OSQA