Python library for converting polygons to geohashes and vice versa. This library was inspired by polygon-geohasher. This also requires python-geohash and Shapely. Additionally, this was taken a step further to include and require georaptor for the compression of geohashes.
- Python >= 3.6
- Shapely >= 1.6.4.post2
- python-geohash >= 0.8.5
- georaptor >= 2.0.3
pip install requirements.txt
$ pip install python-polyhash
$ from polyhash import geohash_to_polygon
$ geohash_to_polygon('www123')
> <shapely.geometry.polygon.Polygon at 0x11f19d588>
$
This project is licensed under the MIT License - see the LICENSE file for details