osmosis accept-nodes

Good day

I use simple command
osmosis --read-xml RU-MAG.osm.bz2 --tag-filter accept-nodes natural=peak, natural=bay --write-xml roads_nodes.osm

to extract peak’s and bay’s from RU-MAG.osm.bz2, but file roads_nodes.osm contain only bay’s.

What is it?

According to the examples in the documentation, the --tag-filter option should be in one of these formats:

--tag-filter accept-nodes natural=peak,bay


--tag-filter accept-nodes natural=peak natural=bay

or have a look at http://wiki.openstreetmap.org/wiki/Osmfilter as an alternative tool.

to alester

osmosis --read-xml RU-MAG.osm.bz2 --tag-filter accept-nodes natural=peak natural=bay --write-xml roads_nodes.osm

file roads_nodes.osm contains only bay’s