[OSM-dev] API 0.5 is on the way

bvh bvh-osm at irule.be
Mon Sep 17 13:02:07 BST 2007

On Sat, Sep 15, 2007 at 08:26:55PM +0200, Frederik Ramm wrote:
> Circular references can happen (this has nothing to do with whether a
> way or node is also in it or not); that's why we never, anywhere,
> offer to return a relation with all members recursively retrieved. The
> API does not protect against circular references but it doesn't choke
> on them either. I think that's the best way to deal with them; if
> someone came up with a reson why he would want to use circular
> references somewhere, who am I to judge whether that makes sense ;-)

The wiki states that the database retains referential integrety.
Ie it will not allow you to delete something that is a member of
something else. How do you then delete circular-referenced relations?

cu bart

More information about the dev mailing list