-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
I think we need an extra method when you encode with encode_uint64 for getting neighbors. Right now it will only with work with character geohash implementation.
This is the code I am using
ghash = gh.encode_uint64(lat,lon)
neighbors = gh.neighbors(ghash)
This is the error I am getting -
Traceback (most recent call last):
File "test4.py", line 123, in <module>
main()
File "test4.py", line 30, in main
neighbors = gh.neighbors(ghash)
File "/usr/local/lib/python3.6/dist-packages/python_geohash-0.8.5-py3.6-linux-x86_64.egg/geohash.py", line 239, in neighbors
if _geohash and len(hashcode)<25:
TypeError: object of type 'int' has no len()
Metadata
Metadata
Assignees
Labels
No labels