2009/7/16 Frederik Ramm <[email protected]>

> Hi,
>
> Shaun McDonald wrote:
>
>> Yes you can do it, though I don't have a good reason for doing such a
>> thing.
>>
>
> I don't have an idea where one would add a relation as a member to itself,
> but circular references could e.g. happen if you were to create a relation
> for a city and then have another city as a member with role="twinned_with" -
> this would obviously be circular.
>
>
I'd be curious to know how the api calculates the bounding box of such a
relation, assuming the api definition is "the smallest bbox containg all
children bbox'es".

Does the api have special tests to avoid infinite recursion?

- Chris -
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to