Main
Latest
- .za fees
- Web Museum!
- Developers are not investors
- Triplog.co.za and Location Tracking
- Zoopy Development Suggestions
- Recursive Tabs to Spaces Converter
- Converting tabs to spaces
- Learning about the FHS /srv
- Semantic MediaWiki
- South African Embassy
Archives
- June 2004
- July 2004
- August 2004
- September 2004
- October 2004
- November 2004
- December 2004
- January 2005
- February 2005
- March 2005
- April 2005
- May 2005
- June 2005
- July 2005
- August 2005
- September 2005
- October 2005
- November 2005
- December 2005
- January 2006
- February 2006
- March 2006
- April 2006
- May 2006
- June 2006
- July 2006
- August 2006
- September 2006
- November 2006
- December 2006
- January 2007
- February 2007
- March 2007
- April 2007
- May 2007
- June 2007
- July 2007
- August 2007
- September 2007
- October 2007
- November 2007
- December 2007
- January 2008
- February 2008
- March 2008
- April 2008
- May 2008
- June 2008
- July 2008
- August 2008
- September 2008
- October 2008
- November 2008
- December 2008
- January 2009
Google Reverse Geocoding
So Google finally released a feature they call Reverse Geocoding. Normal Geocoding means that you can get GPS coordinates back if you feed it a location name. Reverse Geocoding therefore means that you get location names back if you feed it GPS coordinates.
So I thought it was time for some experiments...
The interesting thing is that Geolocation seems to be a problem in Gaborone. It gives me GPS coordinates but does not give me a city name. The region name is South East (which would be correct, relative to Botswana) but the country name is South Africa. The South East of South Africa is definitely quite far from here. Very strange.
However, when I then feed these coordinates into the Reverse Geocoding API, I get some rather interesting results back. Basically I get only one name and that is North West. What? Ok, that would actually be correct relative to South Africa and because the Geolocation API seems to round off the GPS coordinates to two decimal places, I could kind of forgive that.
However, what I don’t understand is why it doesn’t at least add “South Africa" to that text.
Strange... Maybe not entirely usable yet in this area? Any other good or bad experiences from other local developers or even users??
Copyright © 2004-2009 Charl van Niekerk. All articles are released under the Creative Commons Attribution 2.5 South Africa licence, unless where otherwise stated.


2 Comments
Comment by
Brad Whittington on Wednesday, October 29, 2008 8:41:00 AM
You have been able to do this forever using http://www.geonames.org/ and http://gazetteer.openstreetmap.org/namefinder/
They have APIs to access the information in a non-html form.
Comment by
Charl van Niekerk on Saturday, November 01, 2008 8:04:00 AM
Thanks Brad, will check those out.
Post a Comment