Frederik Ramm wrote about similar issues on January 9 (not sure if they're the same though).  I haven't had a chance to look into them yet.  I didn't write the completeRelations, completeWays functionality so I don't understand how they work at the moment.<br>
<br>It's on my TODO list, but I'm finding it hard to get the time.  If somebody else has the time to look into that area of the code I'd be very grateful ;-)<br><br>Brett<br><br><div class="gmail_quote">On Wed, Mar 10, 2010 at 10:30 AM, Maxim Dubinin <span dir="ltr"><<a href="mailto:sim@gis-lab.info">sim@gis-lab.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
to follow up on <a href="http://www.mail-archive.com/osmosis-dev@openstreetmap.org/msg00279.html" target="_blank">http://www.mail-archive.com/osmosis-dev@openstreetmap.org/msg00279.html</a><br>
<br>
I'm using 0.34 and I'm doing:<br>
<br>
osmosis --read-xml file=input.osm --bounding-polygon file=bnd.poly<br>
completeWays=yes completeRelations=yes idTrackerType=BitSet<br>
--write-xml file=output.osm<br>
<br>
As a result, I'm having _all_ relations (more that 16 thousands) from input.osm dumped into<br>
output.osm. All these extra relations are empty ones, ways and nodes<br>
are not extracted.<br>
<br>
According to wiki:<br>
completeRelations Include all available relations which are members of<br>
relations which have at least one member in the bounding box.<br>
<br>
But some of extracted ones definitely do not have any members in bnd.poly.<br>
<br>
Any ideas?<br>
<br>
Maxim<br>
<br>
<br>
_______________________________________________<br>
osmosis-dev mailing list<br>
<a href="mailto:osmosis-dev@openstreetmap.org">osmosis-dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/osmosis-dev" target="_blank">http://lists.openstreetmap.org/listinfo/osmosis-dev</a><br>
</blockquote></div><br>