5 ms·
I still prefer Geohash http://en.wikipedia.org/wiki/Geohash http://en.wikipedia.org/wiki/Geohash It's already implemented in mongo, elastic, solr, etc, support
by cabirum 11y ago
I still prefer Geohash http://en.wikipedia.org/wiki/Geohash http://en.wikipedia.org/wiki/Geohash
It's already implemented in mongo, elastic, solr, etc, supports arbitrary length/precision codes, adjacent cells have similar hashes. http://www.movable-type.co.uk/scripts/geohash.html http://www.movable-type.co.uk/scripts/geohash.html http://mapzen.github.io/leaflet-spatial-prefix-tree/ http://mapzen.github.io/leaflet-spatial-prefix-tree/
- pjkundert 11y agoGeohash is great, but doesn't include any error detection or correction. This means that one (undetectable) symbol changes, and you could be half-way around the world from the original Geohash location. The EZCOD encoding provides accuracy within 3 meters AND error detection/correction with 10 symbols. For example, where my daughter was born: R3U 1JU QUY.0 (try it at http://ezcod.com http://ezcod.com) If you want 20mm accuracy AND 5-nines certainty of correctness, you can have that in 15 symbols: R3U 1JU QUY L02.XJ8 Available in C++, Javascript (via Emscripten, production-ready and CDN hosted), Python (via Swig) and REST APIs: http://hardconsulting.com/products/13-reed-solomon#EZCOD http://hardconsulting.com/products/13-reed-solomon#EZCOD https://github.com/pjkundert/ezpwd-reed-solomon https://github.com/pjkundert/ezpwd-reed-solomon http://ezcod.com http://ezcod.com Use EZCOD for free. Forever. For whatever application you want. Available under either GPLv3 or completely free Commercial licensing, at your preference.