Project

geohashr

0.0
No commit activity in last 3 years
No release in over 3 years
GeoHash - encode, decode, neighbors
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 3.12
~> 5.2
 Project Readme

Geohashr

Version Build Coverage

Geohash is a latitude/longitude geocoding system. It is a hierarchical spatial data structure which subdivides space into buckets of grid shape.

Geohash precision

Here is some information regarding the precision/length of the geohash string:

Precision | Size | Rough Size | Width (tiles) | Height (tiles) | Approx # Tiles ---|---|---|---|---|---|---|--- 1 | 5003 km (3109 mi) | Continent | 8 | 4 | 32 2 | 625 km (388 mi) | US State; Small country | 32 | 32 | 1k 3 | 123 km (76 mi) | US County | 256 | 128 | 32k 4 | 19 km (12 mi) | City | 1024 | 1024 | 1.04m 5 | 3.8 km (2 mi) | US Postal Code | 8192 | 4096 | 33.55m 6 | 610 m (2001 ft) | Neighborhood | 32768 | 32768 | 1.074b 7 | 118 m (387 ft) | Street | 262144 | 1310762 | 34.36b 8 | 19 m (62 ft) | House / Office | 1048576 | 1048576 | 1.09t 9 | 3.7 m (12 ft) | Room | 8388608 | 4194304 | 35.18t 10 | 0.6 m (2 ft) | Desk | 33554432 | 33554432 | 1.12quadrillion

Usefull geohash links

xkcd comic

xkcd

Contributing

If you'd like to contribute, that's awesome. There's a guide to contributing (both code and general help) over in CONTRIBUTING.md

Development

To see what has changed in recent versions, see the CHANGELOG.md.

License

Copyright 2014 JohnnyT

Licensed under the MIT License