[OSM-dev] Duplicate IDs

Lukas Kabrt lukas at kabrt.cz
Sun Aug 19 20:25:45 BST 2012


I have created a small library for parsing OSM data and one of the
users reported a weird error. The root cause of this error is the fact
that there are elements with duplicate IDs in the database. I have
found at least this pair -
http://www.openstreetmap.org/browse/way/49755010 and
http://www.openstreetmap.org/browse/node/49755010

Before I start fixing this error, it would be nice to know whether
this is an exceptional case or whether these kind of integrity
violations happens more often.

Has anyone seen other elements with duplicate IDs? What is the best
way to fix it in the database?

--
Lukas



More information about the dev mailing list