phayes/geoPHP — pull request #42 by phayes (2012-07-10 22:13:49+00:00)
Title: Rehash Revamp

This does a few things:

1. Adds higher-dimension support for geoHash

2. Defaults to producing a Polygon when reading a geohash (equiv to geohash grid). This can be changed to produce a point like so geoPHP::load($geohash,'geohash', TRUE);

One of the problems I ran into is that round-trips in and out of geohash produced polygons with less and less accuracy. The reason for this is that edge detection isn't that great. We need to some way detect in something is on a grid intersection and note that it could belong in either grid. When it comes time to produce a geohash, we could make use of this information (I think)