2009/1/14 Nop <[email protected]> > > Hello! > > > Are the ids of osm objects unique? > > A) globally unique > > B) unique only within the type of object, so the same id may occur with > a way, a node and a relation. > > C) unique only within the type of object, but with non-intersecting > numbering schemes > > > According to the wiki it is B) [1] > > In my data processing I have so far assumed A) and never encountered a > problem. > > > What are the facts? >
B is the case... e.g. http://www.openstreetmap.org/browse/way/10000000 http://www.openstreetmap.org/browse/node/10000000 You may not have encountered a problem with assuming A in a limited dataset as the 'current' value for ways is significantly smaller than for nodes and the current value for relations is significantly smaller than for ways due to there being a lot more ways than relations and a lot more nodes than ways... >From http://www.openstreetmap.org/stats/data_stats.html: Number of nodes296115165 Number of ways24186209 Number of relations53679 d
_______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

