feat: default to photon for geocoding

This commit is contained in:
moanos [he/him] 2025-01-22 20:39:30 +01:00
parent 712c3d32f3
commit 64a9db133e

View File

@ -89,9 +89,9 @@ CELERY_RESULT_BACKEND = config.get("celery", "backend", fallback="redis://localh
HEALTHCHECKS_URL = config.get("monitoring", "healthchecks_url", fallback=None) HEALTHCHECKS_URL = config.get("monitoring", "healthchecks_url", fallback=None)
""" GEOCODING """ """ GEOCODING """
GEOCODING_API_URL = config.get("geocoding", "api_url", fallback="https://nominatim.hyteck.de/search") GEOCODING_API_URL = config.get("geocoding", "api_url", fallback="https://photon.hyteck.de/api")
# GEOCODING_API_FORMAT is allowed to be one of ['nominatim', 'photon'] # GEOCODING_API_FORMAT is allowed to be one of ['nominatim', 'photon']
GEOCODING_API_FORMAT = config.get("geocoding", "api_format", fallback="nominatim") GEOCODING_API_FORMAT = config.get("geocoding", "api_format", fallback="photon")
""" Tile Server """ """ Tile Server """
MAP_TILE_SERVER = config.get("map", "tile_server", fallback="https://tiles.hyteck.de") MAP_TILE_SERVER = config.get("map", "tile_server", fallback="https://tiles.hyteck.de")