Encode/decode Geohashes http://geohash.org
Project description
Geohash
Encode/decode Geohashes http://geohash.org
Wraps Derek Smith libgeohash. See https://github.com/simplegeo/libgeohash for implementation.
Free software: GNU General Public License v3
Documentation: https://geohash.readthedocs.io.
Features
Encode
print(geohash_encode(35.689487, 139.691706))
# xn774c <- hash for Tokyo, Japan
Decode
paris = geohash_decode('u09tvw')
print(paris.latitude, paris.longitude)
# 48.856614, 2.352222
Credits
Geohash implementation is by Derek Smith’s libgeohash. See https://github.com/simplegeo/libgeohash
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-05-31)
First release on PyPI.