Catching up with this old email... To me it looks like the --tag-filter task makes the
--node-key --node-key-value --way-key --way-key-value tasks redundant as these appear to me to be equivalent: osmosis ... --node-key keyList="k1,k2,..." osmosis ... --tag-filter accept-nodes k1=*,k2=*,... and osmosis ... --node-key-value keyValueList="k1.v1,k1.v2,k2.v3,..." osmosis ... --tag-filter accept-nodes k1=v1,v2,k2=v3,... similarly for way-key and way-key-value options. If this is so, I think it would be worth deprecating the --(node|way)-key(-value)? tasks, and updating the wiki to say so. http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#--node-key-value_.28--nkv.29 Simon / CycleStreets Thread started: http://lists.openstreetmap.org/pipermail/osmosis-dev/2010-July/thread.html On 3 September 2010 19:19, Andrew Byrd <[email protected]> wrote: > Hello, > > I somehow missed this conversation back in July. Did you get the tag-based > filtering worked out? The Tag Filter task was designed for exactly this > purpose - I use it to keep only pedestrian-friendly ways. Here's the > documentation on the wiki: > > http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.35#--tag-filter_.28 > > Let me know if you have any problems. > > -Andrew > > On 03 Sep 2010, at 14:34, Brett Henderson wrote: > >> I've applied the patch, modified it to use a new >> SortedDuplicateEntityPipeValidator class, and checked it all in. I haven't >> tested it though ... >> >> On Fri, Sep 3, 2010 at 10:20 PM, Brett Henderson <[email protected]> wrote: >> >> Thanks. I seem to remember there were some but I may be talking >> about a terribly old version. (tagfilter?) >> >> Yes, there is a --tag-filter task. So there is one other task with filter >> in the name ... Oh well, there's less typing now :-) >> _______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
