[OSM-dev] node/way/relation IDs

Jochen Topf jochen at remote.org
Tue Sep 25 10:39:11 BST 2012


On Tue, Sep 25, 2012 at 11:34:54AM +0200, Bernhard R. Fischer wrote:
> I am working on Smrender (http://www.abenteuerland.at/smrender/), a renderer 
> for paper charts. It creates an in-memory database for rendering and I use the 
> object IDs as keys.
> 
> Do nodes, ways, and relations share a common pool of IDs (i.e. there is no 
> node which has the same ID as a way), or do those object have separate ID 
> pools (i.e. there may be a node which has the same ID as a way)?
> 
> I already tried to find an answer in the Internet but didn't find one yet.

They use different ID spaces, so there can be a node and a way with the same
ID.

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298



More information about the dev mailing list