Hi Bartosz, Thanks for the patch. I've applied it mostly unchanged except that I've registered the task as "--used-way-0.6" in addition to the names you provided.
I've also documented it on the wiki. http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.39#--used-way_.28--uw.29 Cheers, Brett On Sun, Mar 27, 2011 at 2:44 AM, Bartosz Fabianowski <bart...@fabianowski.eu > wrote: > Hi list > > The attached patch adds a --used-way filter that is analogous to the > --used-node one: Only ways referenced by a relation are kept. > > This filter allows one to extract a subset of all relations and keep only > the ways and nodes referenced by these: > > osmosis --fast-read-xml input.osm \ > --tag-filter accept-relations <desired criterion> \ > --used-way \ > --used-node \ > --write-xml output.osm > > I am using this patch locally and it works well for me. > > - Bartosz > > _______________________________________________ > osmosis-dev mailing list > osmosis-dev@openstreetmap.org > http://lists.openstreetmap.org/listinfo/osmosis-dev > >
_______________________________________________ osmosis-dev mailing list osmosis-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/osmosis-dev