<br><div class="gmail_quote">On Mon, Jul 4, 2011 at 3:45 AM, ant <span dir="ltr"><<a href="mailto:antofosm@gmail.com">antofosm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
I'm experimenting with osmosis boundig box operations in order to find out how completeWays, completeRelations and cascadingRelations behave. Comparing the outputs of bbox operations done with completeWays=yes and no, respectively, I found something weird. The completeWays output had two relations in it that were not there in the default output. I understood from the documentation that there should be extra nodes only.<br>

<br>
I did:<br>
<br>
osmosis --read-xml  file=bremen.osm --bounding-box bottom=53.129883 left=8.481445 top=53.217773 right=8.569336 completeWays=no --write-xml file=nocompleteways<br>
osmosis --read-xml  file=bremen.osm --bounding-box bottom=53.129883 left=8.481445 top=53.217773 right=8.569336 completeWays=yes --write-xml file=completeways<br>
<br>
diff nocompleteways completeways<br>
<br>
...which gives a long list of nodes plus 2 relations, 20144 and 20614. Using osmosis 0.39.<br>
Note also that the bounding box covers an area not fully contained by the excerpt.<br></blockquote><div><br>I haven't had a good look at the code, but I'm guessing that the inclusion of additional nodes in the output means that additional relations are detected.  In other words, the two relations you've found will probably refer to nodes that are only selected due to completeWays being enabled.<br>
<br>Brett<br><br></div></div>