Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Nominatim #634

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add support for Nominatim #634

wants to merge 1 commit into from

Conversation

Cyberax
Copy link

@Cyberax Cyberax commented Jan 9, 2025

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

@Freika
Copy link
Owner

Freika commented Jan 9, 2025

@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
Copy link
Author

Cyberax commented Jan 9, 2025

@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.

@Cyberax
Copy link
Author

Cyberax commented Jan 21, 2025

BTW, you can test Nominatim using the official OSM endpoint:

      NOMINATIM_API_HOST: nominatim.openstreetmap.org
      NOMINATIM_API_USE_HTTPS: true

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
Copy link
Author

Cyberax commented Feb 2, 2025

I'm sorry to bother, but can you look at this patch? It'd help me by allowing me to not carry it locally

@Freika
Copy link
Owner

Freika commented Feb 2, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants