I didn't find any indication that nodes, ways and relations have
separate ID spaces, so I assumed that IDs are unique across all OSM
entities. Thanks for correcting my mistake.

"integrity violations" might be poor choice of words (Serge is right
English isn't my native language). I didn't want to blame OSM
developers, so if anyone has been offended, I am sorry.

--
Lukas

On Mon, Aug 20, 2012 at 12:30 AM, Serge Wroclawski <emac...@gmail.com> wrote:
> On Sun, Aug 19, 2012 at 3:25 PM, Lukas Kabrt <lu...@kabrt.cz> wrote:
>
>> 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?
>
> I'm going to assume from your name and your domain that English isn't
> your first language, but I think it needs mentioning that stating that
> this is an "integrity violation" is a bit offputting.
>
> As others have mentioned (as well as the OSM documentation), IDs are
> not guaranteed to be unique across element types, and so if your code
> does, then this is simply a bad assumption on your part.
>
> You may not have intended your mail to sound like you were blaming OSM
> developers for being in error, but that's how it came off.
>
> - Serge

_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to