photon-pelias-adapter is a small API proxy to replace pelias geocoder with photon. We use this to replace pelias with photon in digitransit-ui
Supported pelias APIs:
/v1/search/v1/reverse
Supported pelias paramters:
- for
searchtextboundary.rectfocus.pointlang- returns empty results, if
sourcescontainsgtfs.
- for
reversepoint.latandpoint.lonlang
Configuration:
- Set port via
PORTenvironment variable. Default8080. - Set Photon endpoint via environment variable
PHOTON_URL. Defaulthttps://photon.komoot.de.