Ambiguities within OSM
@centralinedalbasso asked for
We would like to share that the place_id coming from the reverse geocoder is an internal id from Nominatim, so it should not be counted upon. While the osm_id referencing OSM elements might feel better, one has still to take care about its properties.
The
place_idhas no relevance for OSM, it is only an internal Nominatim identifier. Between different Nominatim instances, theplace_idfor the same OSM object may differ.
The Nominatim’s
place_idis only an internal parameter of the engine. You cannot useplace_idfor anything, it is a technical database key and depends on a single Nominatim instance.
There are good candidates to “persistent place-identifier”, but all fails in the main property, that is to ensure persistence . In this context of non-permanent IDs, the most important example is the Nominatim’s
place_idthat is “independent of geometry”.