[OSM-dev] Filtering out elements from a planet extract
marqqs at gmx.eu
marqqs at gmx.eu
Wed Feb 8 20:19:04 GMT 2012
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