Returns 'set()' when a very coarse resolution is requested
manifolded opened this issue · 1 comments
manifolded commented
Why is the code unwilling to generate geohashes with coarse resolution (e.g. 2 or 3 digits)? When I attempt that it returns 'set()'.
drnextgis commented
The polygon_to_geohashes
function defaults to using the inner=True
argument, indicating that it only takes into account geohashes that are entirely contained within a specified polygon:
>>> polygon_to_geohashes(polygon, precision=3, inner=True)
set()
>>> polygon_to_geohashes(polygon, precision=3, inner=False)
{'swb'}