Add support for Nominatim
This adds support for Nominatim-based reverse geocoding, along with Photon and Geofi. To use it, set the environment variables:
NOMINATIM_API_HOST - the host name of the OSM Nominatim server NOMINATIM_API_USE_HTTPS - use the HTTPS to connect NOMINATIM_API_KEY - the API key
@Cyberax can you please provide an example of configuration? Photon is being used by Nominatim, so I'm not sure what are we adding here
@Cyberax can you please provide an example of configuration? Photon is being used by Nominatim, so I'm not sure what are we adding here
You can set up Nominatim using these instructions: https://github.com/mediagis/nominatim-docker/tree/master/4.5
Photon is a project on top of Nominatim, it pulls out a subset of Nominatim data. Full Nominatim is much more massive (1.2TB instead of ~100Gb for Photon), but it supports incremental updates.
Edit: another reason I'm running the full Nominatim, is to support the full OpenStreetMap server. I eventually want to self-host the tile rendering.
BTW, you can test Nominatim using the official OSM endpoint:
NOMINATIM_API_HOST: nominatim.openstreetmap.org
NOMINATIM_API_USE_HTTPS: true
I'm sorry to bother, but can you look at this patch? It'd help me by allowing me to not carry it locally
I'll be able to have a look when the issue with building docker image for arm64 will be resolved, it's my current focus for now