Created GeoHash system for database

Hash is calculated using:
floor((lat+180)/.05)*7200+floor((lon+180)/.05)
i.e. latitude-major with .05*.05 deg sectors