This repository has been archived by the owner on Jul 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
IndexError on failed reverse geocodes #8
Comments
fwiw, this very similar query works:
I didn't look at their docs at all, so I don't know if you're not supposed to hit that endpoint or something; I just copied from the network inspector and guessed. |
Understood, this is unwanted but expected behavior since I'm not checking for a valid list before returning results here. https://github.com/plant99/felicette/blob/master/felicette/utils/geo_utils.py#L19 |
Fixed with this commit, df507be |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I live in Portland, Maine so if I search for Portland it almost always brings up Oregon. Therefore the first thing I did when downloading this was:
I debugged into it a bit and nominatim returns empty results for
Portland Maine
andPortland, ME
:It would be best if the reverse geocode worked, but also totally OK for felicette to print out an understandable error if the reverse geocode failed.
The text was updated successfully, but these errors were encountered: