polygon-geohasher icon indicating copy to clipboard operation
polygon-geohasher copied to clipboard

Converts a polygon into a set of geohashes with arbitrary precision.

Results 6 polygon-geohasher issues
Sort by recently updated
recently updated
newest added

The dependencies in requirements.txt are given with exact version numbers. This makes this package difficult to combine with others as versions move forward. Perhaps the requirements.txt could be changed to...

enhancement

Why is the code unwilling to generate geohashes with coarse resolution (e.g. 2 or 3 digits)? When I attempt that it returns 'set()'.

Uses `shapely.ops.unary_union` instead of `shapely.ops.cascaded_union` to avoid `ShapelyDeprecationWarning`s. Also adds a regression test to check for these warnings when calling `geohashes_to_polygon`. Closes #13

Adds type hints to the library and test files and published this type information along with the package using a `py.typed` file. This will allow downstream libraries to do more...

I get the following warning message when using `polygon_geohasher.polygon_geohasher.geohashes_to_polygon`: ``` .../python3.9/site-packages/polygon_geohasher/polygon_geohasher.py:56: ShapelyDeprecationWarning: The 'cascaded_union()' function is deprecated. Use 'unary_union()' instead. return cascaded_union([geohash_to_polygon(g) for g in geohashes]) ``` I can suppress...

ERROR: Command errored out with exit status 1: Collecting polygon-geohasher Using cached polygon_geohasher-0.0.1-py3-none-any.whl Collecting python-geohash Using cached python-geohash-0.8.5.tar.gz (17 kB) Requirement already satisfied: shapely in /usr/local/lib/python3.9/site-packages (from polygon-geohasher) (1.7.1) Building...