komoot / photon

an open source geocoder for openstreetmap data
Apache License 2.0
1.83k stars 278 forks source link

Get Details for osm_id #720

Closed kw005 closed 1 year ago

kw005 commented 1 year ago

Hi,

Is there a way to get the details from an osm_id, selected from user before?

Thank you

mtmail commented 1 year ago

Nominatim has a lookup by id (https://nominatim.org/release-docs/develop/api/Lookup/) and Overpass API does (https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#By_element_id), but photon has no lookup method to search by osm_id.

lonvia commented 1 year ago

Not planned.