Is there an open source proxy/cache for Geocoding/Reverse Geocoding services ?

dagobar5 years ago

Hello.

Since free services for geocoding/reverse geocoding are limiting request per second/day/month (witch is understandable) I had searched for an open source proxy/cache who can on:
input side: accept authentificated requests, limited by quantity per time (second, day, month, e.t.c.)
core: route requests based on various configuration rules, cache repetitive requests based on configured distance
output side: send authentificated request to different service providers, different protocols (ex. Nominatim, Google, e.t.c.) limited by quantity per time (second, day, month, e.t.c.).

Unfortunately I did not find such a software... if anyone knows please let me know.

Thanks.

dagobar5 years ago

Meanwhile I edit/add an PHP script found here ( https://www.traccar.org/forums/topic/geocoding-reverse-problem/ ) and in combination with HAProxy + Apache (every virtual host has the same script modified for the specified service provider) I have now load balancing + redundancy (based on httpcheck + the response from the reverse geocoding service)
I've tested with openstreetmap and locationiq, both nominatim servers and it's working fine.