Hi Ciprian,

sorry, I got you wrong.

Now it's clear which ways you want to exclude, but I'm still not sure which 
nodes you want have and which nodes you don't.

You want to exclude landuse-ways with all their nodes?
BUT you do NOT want to exclude that nodes of landuse-ways which have at least 
one node-owned tag?

Markus

-------- Original-Nachricht --------
> Datum: Wed, 8 Feb 2012 22:25:19 +0200
> Von: Ciprian Talaba <[email protected]>
> An: [email protected]
> CC: [email protected]
> Betreff: Re: [OSM-dev] Filtering out elements from a planet extract

> Hi Markus,
> 
> The scope is to keep everything BUT the landuse ways and corresponding
> nodes. I've tried like this:
> 
> osmfilter32 input.o5m  --drop-ways="landuse=" --out-o5m >output.o5m
> 
> Thanks,
> --Ciprian
> 
> On Wed, Feb 8, 2012 at 10:19 PM,  <[email protected]> wrote:
> > Hi,
> >
> >> I then tried with osmfilter but I don't think I found the right way to
> >> do it since the output file is only marginally smaller than the
> >> original.
> >
> > how did your command line look like? This should work:
> >
> >  osmfilter input_data.osm --keep="landuse=" -o=output_data.osm
> >
> > If you do NOT want to include nodes and relations on the base of their
> own landuse tags, enter this:
> >
> >  osmfilter input_data.osm --keep-ways="landuse="
> --keep-nodes-relations="" -o=output_data.osm
> >
> > Markus

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to