This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

check duplication id in OSM

0

is it possible that id node and id way or id relation be the same in OSM?

asked 01 Jul '20, 14:05

Stagier's gravatar image

Stagier
11112
accept rate: 0%


One Answer:

0

The element IDs are only unique within the element type. So there can be up to three elements with the same number if one is a node, another is a way and the final one is a relation.

answered 01 Jul '20, 15:14

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

Source code available on GitHub .