GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Default long-lat for a city via postcode  XML
Forum Index -> Postal Codes
Author Message
TLCONE



Joined: 16/01/2017 12:48:42
Messages: 1
Offline

Hello I'm finding that if I search for postcodes via the API with the country optionset and postcode optionset a large number of the results are returning with the long-lat for a default postcode for that city.

http://api.geonames.org/postalCodeLookupJSON?formatted=true&postalcode=11137&country=SE&username=demo

will return the long-lat:
[list]
"lng": 18.0649030208588,
"lat": 59.3325765361753
[/list]

If I were to run a different postcode in a slightly different area http://api.geonames.org/postalCodeLookupJSON?formatted=true&postalcode=103%2013&country=SE&username=demo

I would get the same long-lat returned:
[list]
"lng": 18.0649030208588,
"lat": 59.3325765361753
[/list]

Is it a case in which need to provide more information in my search string?
Thank you in advance.
 
Forum Index -> Postal Codes
Go to:   
Powered by JForum 2.1.5 © JForum Team