[OSM-dev] [OSM-talk] Circular relation by user mapper_07
cbro at semperpax.com
Thu Jul 16 10:41:46 BST 2009
2009/7/16 Frederik Ramm <frederik at remote.org>
> Chris Browet wrote:
>> I'd be curious to know how the api calculates the bounding box of such a
> assuming the api definition is "the smallest bbox containg all
>> children bbox'es".
> It isn't.
Ok. If I understand well, it adds to a relation bbox all the nodes and ways
of children relations (+ the "pure" ways and nodes, of course).
That won't remove the problem of infinite recursion: R1 -> R2 -> R1; it will
add to R1 all ways/nodes of R2, which itself will add all ways/nodes of R1,
Bottomline question is: How does the api handle the case?
- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev