[Openstreetmap-dev] Coinciding ids for nodes and segments?
immanuel.scholz at gmx.de
Sun Feb 12 11:28:07 GMT 2006
>> > Is this intentional, a bug, a feature?
>> Segments and nodes are in different id spaces.
> In what way is that a feature? I would call it a misfeature...
Well, every problem that is not a bug is a feature, right? ;-)
Some time ago, I came up with the same thing and told Steve either to
change the name "uid" in the sources to "id" or make them unique. He
changed the name.
The XML protocoll still has "uid" as name but this will be changed for 0.3.
> I did not see any answer on my question about
> Is this document wrong? It says:
It is either wrong or someone changes the database to produce
non-overlapping ids. Then it is right. ;-)
> I wanted to know if things was going to be fixed according to the
> schema or if the schema was wrong?
I am your man, if you are up to changing the database. I don't like the
double id's for different objects either. However, I am not that into
MySql to do the id generation better and maybe too lazy too.
I don't think there is a fundamental need that ids can overlap.
More information about the dev