0

Hi,

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?

Kiran

asked 25 Aug '16, 18:22

KIRAN's gravatar image

KIRAN
11112
accept rate: 0%

edited 25 Aug '16, 20:03

aseerel4c26's gravatar image

aseerel4c26 ♦
32.2k16239552

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 ♦

2 Answers:
2

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 ♦
40.0k13297634
accept rate: 19%

edited 25 Aug '16, 19:54

0

You can try asking nominatim, like so:

http://nominatim.openstreetmap.org/search.php?q=14556

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

maxerickson
11.4k1075161
accept rate: 30%

edited 25 Aug '16, 19:53

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:

×117
×110
×100
×58
×18

question asked: 25 Aug '16, 18:22

question was seen: 2,322 times

last updated: 25 Aug '16, 20:03

powered by OSQA