[OSM-dev] Filtering out elements from a planet extract
Ciprian Talaba
cipriantalaba at gmail.com
Wed Feb 8 20:25:19 GMT 2012
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, <marqqs at gmx.eu> 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
More information about the dev
mailing list