I have and .osm file and I would like the modify the tags based on the following criteria.
If highway = "unclassified"
and has a cycleway tag
Then change highway to "tertiary"
I know that with osmfilter I can modify all the "unclassified" roads
./osmfilter streets.osm --modify-tags="highway=unclassifiedto =tertiary" -o=streets2.osm
But is there a way to specify the additional criteria? Preferably a method that works on large osm files.