acf-openstreetmap-field
acf-openstreetmap-field copied to clipboard
Other library nominatim to geocoder
Hello, I am having problems with the nominatim geolocation. In many cases, the house number is not found. We must then manually find the exact situation on the street.
Here is an example :
https://nominatim.openstreetmap.org/search?q=11%20Rue%20du%20Rocher,%2035510%20Cesson-S%C3%A9vign%C3%A9&limit=5&format=json&addressdetails=1
The return is only the street and not the position of number 11 in the street
I'm sorry, but I am not the maintainer of the nominatim service.
Is it possible to change the library to another like for exemple openrouteservice , here or other library ?
Well, openrouteservice looks interesting ... This plugin uses (leaflet-control-geocoder)[https://github.com/perliedman/leaflet-control-geocoder] for geocoding, which does not support openrouteservice. Would be quite a bit of work to do, implementing a different service, parse different kinds of geocoding results, making it compatible to existing installations and datasets ... However I have some feature like a choosable geocoding service in mind, so I'll put this on the agenda.
Thank you, I would be delighted and my users too !