[OSM-dev] [OSM-talk] Circular relation by user mapper_07
Chris Browet
cbro at semperpax.com
Thu Jul 16 09:40:11 BST 2009
2009/7/16 Frederik Ramm <frederik at remote.org>
> 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 -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090716/c41572f1/attachment.html>
More information about the dev
mailing list