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.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.1.tar.gz
(18.8 kB
view hashes)
Built Distribution
Close
Hashes for geohashcx-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46c1fd19c718a0e4d59193fbf553ad47ff3ed08e172b72fb4be0b271b6c2b36a |
|
MD5 | 5e431e27aa0e246d8b39d9c9e6e81280 |
|
BLAKE2b-256 | 34222f839bf87d4bd13c60039f6eec5be4bc0386a93128d333b8454e0c66a986 |