Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 661 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 661 Bytes

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 search
    • text
    • boundary.rect
    • focus.point
    • lang
    • returns empty results, if sources contains gtfs.
  • for reverse
    • point.lat and point.lon
    • lang

Configuration:

  • Set port via PORT environment variable. Default 8080.
  • Set Photon endpoint via environment variable PHOTON_URL. Default https://photon.komoot.de.