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://geohashcx.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.1 (2019-06-01)
Make precision optional
0.1.1 (2019-06-01)
Update installation docs
0.1.0 (2019-05-31)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
geohashcx-0.1.2.tar.gz
(18.9 kB
view hashes)
Built Distribution
Close
Hashes for geohashcx-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae6dc8a1c28b1240eb92139545c78353d934048c732644a1f77734a2803c4c49 |
|
MD5 | 6a16898df463153d79975f917638c2fe |
|
BLAKE2b-256 | c25bee9773bc8bee41d97b32781a06cf8b7e7e31f210135b3eeb3d00baa3a46c |