paradoxxjm / ShowMeTheMoney

Weekend Hack. Winner of RHoK DC 06/2012
http://showmethemoney.phpfogapp.com/
4 stars 3 forks source link

Revisit Geocoding #4

Open matt-glover opened 12 years ago

matt-glover commented 12 years ago

The current approach uses the region-biased Google geocoding API which means certain countries, like Egypt, are geocoded in the US rather than geocoding to the country being queried.

Either the World Bank's API should be utilized. For example: http://api.worldbank.org/country/EG/?format=json

or the Google results should be parsed to select a result that contains the appropriate country name.

sjobe commented 12 years ago

Related to #7