> osmosis \
> --read-xml input.osm \
> --tf accept-ways highway=* \
> --tf reject-ways highway=motorway,motorway_link \
> --tf reject-relations \
> --used-node \
> --write-xml output.osm

Can I filter for nodes with a specific tag OR nodes in a way with a 
specific tag or does --used-node throw these POI nodes away?

Eg. I want all nodes with the amenity tag set and all ways with the 
highway tag set plus their nodes.

an Example:

osmosis \
  --read-xml input.osm \
  --tf accept-ways highway=* \
  --tf accept-nodes amenity=* \
  --tf reject-relations \
  --used-node \
  --write-xml output.osm


Does --used-node in this case throw away all amenity=* nodes?

Peter

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

Reply via email to