[OSM-dev] relations refering to deleted objects

Richard Fairhurst richard at systemed.net
Sun Aug 22 17:01:09 BST 2010


Mitja Kleider wrote:
> That tag is old, the changeset is tagged 
> created_by = Potlatch 1.4 (live de)

Ah, sorry.

I think you're misreading how the relation integrity checks work. The API
only checks whether an entity is still visible when the entity is _added_ to
a relation. For performance reasons, it does not check the entities formerly
in the relation. It assumes that they're ok, which in the case of historic
(pre-integrity check) data may not be the case. See preconditions_ok? in
app/models/relation.rb in the Rails port for the code.

cheers
Richard
-- 
View this message in context: http://gis.638310.n2.nabble.com/relations-refering-to-deleted-objects-tp5090823p5450017.html
Sent from the Developer Discussion mailing list archive at Nabble.com.



More information about the dev mailing list