PHP GeoRev Class

A class written in -I hope- readable and understandable code to perform reverse server side geocoding focused on returning the best possible street/address/city/country combination from each engine.

This proves troublesome for some engines and the programmer behind it.  I’m very open for suggestions, especially on the output formats of the engines involved.  If there is a logic in some I don’t know about, please inform  me.    If you think you have the format right, next you try different coordinates in another country and it goes wrong again.    I will make a post in my blog that explains what led me to writing this.  I was going to test a few engines and ended up writing this here.  Please report bugs and suggestions using the github page.  I would love a short signal on Twitter on this blog or anywhere else if you  love using this, or if you gave up trying and it doesn’t work, let me know.  Entirely my fault..

I’ve released this PHP5  class on github, please visit it here : https://github.com/gplv2/PHP-GeoRev-Class

Grab the tarball or the zip archive from Github directly to start playing with it.

You can also clone the project with Git by running:

$ git clone git://github.com/gplv2/PHP-GeoRev-Class

Update: 04/2012

You can also clone the project from Bitbucket by running:

$ git clone git@bitbucket.org:gplv2/php-georev-class.git