I did my own OpenStreetMap local server(to avoid the online limits) with Nominatim and it's working ok through the webpage(localhost/nominatim). But when I try to collect geocodes (same that works well on the webpage) and after some number of requests the server shows this error:
GeocoderServiceError: HTTP Error 500: Internal Server Error
I tried to put timeout in my code, but I am still facing the same problem.
My actual code is more or less like this:
from geopy.geocoders import Nominatim
nom = Nominatim(domain='192.168.1.214/nominatim', scheme='http', timeout=3)
df1["Coordinates"]=df1["location"].apply(nom.geocode)
Someone know how to solve this?
Thanks ;)