DenisCarriere / geocoder

:earth_asia: Python Geocoder
http://geocoder.readthedocs.org
MIT License
1.62k stars 286 forks source link

could not reverse geocode for locationiq #388

Open kucheech opened 5 years ago

kucheech commented 5 years ago

Hi,

I got an error using the function geocoder.locationiq([x, y], key=apikey, method='reverse') for x = 49.9623848 and y = 8.3137846

I had obtained the following error message Status code 404 from https://locationiq.org/v1/search.php: ERROR - 404 Client Error: Not Found for url: https://locationiq.org/v1/search.php?key=b5e04f6fa65db5&q=49.9623848&q=8.3137846&format=json&addressdetails=1&limit=1

It is working for other values and it is working for LocationIQ API call https://us1.locationiq.com/v1/reverse.php?key=key&lat=49.9623848&lon=8.3137846&format=json