android icon indicating copy to clipboard operation
android copied to clipboard

Add support for self-hosted reverse geocoding (Photon)

Open zvea opened this issue 11 months ago • 6 comments

Currently, reverse geocoding requires streaming location data to a third-party provider. For privacy reasons, it would be nice if the app was able to use a self-hosted instance of Photon.

  • Photon repo: https://github.com/komoot/photon
  • Public API and demo: https://photon.komoot.io/

This would also make for a nice integration with DaWarIch (https://dawarich.app/) since it already supports self-hosted Photon (info).

  • App build number: 2.5.3
  • Installation source: Google Play

zvea avatar Jan 04 '25 10:01 zvea

I wonder how many people would go to the trouble of installing/self-hosting Photon:

  • 200GB storage for indexing
  • Java
  • PostgreSQL
  • Elastic (unless I misread)
  • .. ?

jpmens avatar Jan 04 '25 10:01 jpmens

I don't have any insight into the install base of Photon (except that I, for example, host my own instance).

What I do know is that spinning it up involves a single Docker command: https://github.com/rtuszik/photon-docker

zvea avatar Jan 04 '25 11:01 zvea

Any progress on this so far? Or is help required for this implementation? @growse

ent427 avatar Jul 04 '25 19:07 ent427

I wonder how many people would go to the trouble of installing/self-hosting Photon:

  • 200GB storage for indexing
  • Java
  • PostgreSQL
  • Elastic (unless I misread)
  • .. ?

Just chiming in, I self host Photon, and public Photon instances also exist. 200gb is not necessarily a lot, particularly in the self-hosting sphere. Would love to see support for it.

Slashpaf avatar Aug 28 '25 07:08 Slashpaf

If so, it might make sense to support our revgeod which already consumes OpenCage data and could be made to have distinct backends, such as Photon.

jpmens avatar Aug 28 '25 07:08 jpmens

Entirely separately, I got nominatim set up at home which I was hoping to beging testing with.

Will make a note to do photos as well and try get more options into the next release.

growse avatar Aug 28 '25 22:08 growse