Skip to content

ab1470/polyhash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polyhash

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.

Prerequisites

  • Python >= 3.6
  • Shapely >= 1.6.4.post2
  • python-geohash >= 0.8.5
  • georaptor >= 2.0.3
pip install requirements.txt

Installing

$ pip install python-polyhash

Usage

$ from polyhash import geohash_to_polygon
$ geohash_to_polygon('www123')
> <shapely.geometry.polygon.Polygon at 0x11f19d588>
$

License

This project is licensed under the MIT License - see the LICENSE file for details

About

For converting geohashes to polygons and vice versa.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages