GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Wrong zip returned by reverse geocoding  XML
Forum Index -> General
Author Message
Anonymous



With lat="37.3875" lng="-121.9635", I got a returned zip code of 95120, but the correct one should be 95054.
Could you correct this? Or how could we help correct the database?

marc



Joined: 08/12/2005 07:39:47
Messages: 4271
Offline

I have updated the database with the lat/lng from the yahoo geocoder 37.3924,-121.9623 for 95054:

http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&zip=95054


geonames is using the US Census 1999 postal code dataset. If you find more errors, I will run the dataset against the yahoo geocoder for verification and correction.

Marc

[WWW]
Anonymous



Thank you for the fast action!

With lat="37.373636" lng="-121.972146", or lat="37.372783" lng="-121.974549", the zip code should be 95051. But the returned code was 95120 before the change, and is 95054 now.
Please also correct this.

Thank you again!
marc



Joined: 08/12/2005 07:39:47
Messages: 4271
Offline

First I tried updating the zip area centroids with the yahoo geocoder, but the result was exactly the same.

I have then swithed to the zip code area shapes and the result is now what you are expecting. The top result for the reverse geocoding is now based on the zip code area boundaries and the further results with the distance in km are based on the area centroids. (data from US census)

Let me know if this serves your needs and if there is anything else we can do for you.

Marc

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team