homepage Welcome to WebmasterWorld Guest from 54.166.66.204
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Google Geocoder troubles
wrong language, wrong places etc.
da_pinky




msg:4146001
 11:33 pm on Jun 2, 2010 (gmt 0)

Hi there,

So i have this table "places" here with a list of countries, states, and cities. The whole project is very user driven, but i cannot just save the users input into the database because each entry has to be in the same format (sf ~ s.f. ~ san fran ~ san francisco ~ sf bay area etc., same with long vs short state names) - thats why i run unknown place names trough the google geocoder first and then save the result in my db. however i still have issues geocooding places. my php side works so far, and the problem boils down to what i get back from google when i try to geocode a place. i had a look at the docs, but couldn't find a solution. here are some queries i send to google when #*$! hits the fan:


Cordoba, Argentinia is apparently unknown, and i only get one place in spain back:

[maps.google.com...]

however, if i go the other way around and try to resolve the proper geo-coords for cordoba, it suddenly knows the town:

[maps.google.com...]

#*$!?

Some towns/cities in my batch came back without a state or region:

[maps.google.com...]


and sometimes it just ignores the language parameter - after my batch finished i had 3 different netherlands and belgiums as countries in my database (english, local name and french).
Has anyone experienced this problems before and knows how to resolve it?

 

lammert




msg:4147262
 6:41 am on Jun 5, 2010 (gmt 0)

Google map data is coming from many different sources. Some information is bought from mapping organizations, other information is user generated with their MapMaker project. If you zoom in on a map, you will see a copyright statement in the footer which is an indication what the main sources were to compile that part of the world map.

What you describe are probably conversion errors and inconsistencies in the data that Google has used. The only thing you can do is to correct the data manually in your own database, or wait until Google corrects the data. If the countries where the problems occur are included in the MapMaker project, you could signup there and make the corrections yourself, but that will still take a fair amount of time of checking and conversion before those changes will be visible in maps.google.com.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved