OpenStreetMap does not and cannot offer permanent IDs. An entity might be mapped in more detail, resulting in something being split in two parts, or change from node to way, with wildly different IDs.
At the same time, a point might be repurposed as something else entirely.
Comments
OpenStreetMap does not and cannot offer permanent IDs. An entity might be mapped in more detail, resulting in something being split in two parts, or change from node to way, with wildly different IDs.
At the same time, a point might be repurposed as something else entirely.
You could store the ID in a tag. They already do this for e.g. wikidata[1] and gnis[2].
Though I kinda doubt they want to support maintaining these for every single project that wants one.
[1]: https://wiki.openstreetmap.org/wiki/Key:wikidata
[2]: https://wiki.openstreetmap.org/wiki/Key:gnis:feature_id