[OSM-dev] relations refering to deleted objects

Frederik Ramm frederik at remote.org
Sun May 23 18:28:27 BST 2010


Hi,

Mitja Kleider wrote:
> Shouldn't the API reject a changeset creating such inconsistencies?

It should. I haven't looked at your list but be aware that (contrary to 
what some people think) the planet dump does NOT possess referential 
integrity. For example, if a node is created and added to a relation 
around Wednesday afternoon, it is quite likely that the node section has 
already been dumped to file at this time (thus the node will not be 
included in the planet file) but the relations are not yet dumped (thus 
the node will be referenced by a relation).

Bye
Frederik




More information about the dev mailing list