[osmosis-dev] no matches found: building=*

Bjenk Ellefsen bjenk.ellefsen at gmail.com
Wed Nov 30 13:12:14 UTC 2016


Hello,


I am getting an error when trying to extract ways and I have no idea why its not working.

First, I am extracting a city using geometry like so:

osmosis --rbf ontario-latest.osm.pbf --bounding-polygon file=“city.poly" completeWays=yes --wx city.osm

Then, I want all buildings:

osmosis --rbf city.osm --tf accept-ways building=* --tf reject-relations --used-node --wx cityBuildings.osm

The first step works fine and the second command is giving me a no matches found: building=*

However,, when I try with building=yes, it runs fine.

Anyone have experienced this before? Am I doing something wrong?

Environment: macOS 10.11.6, Java 1.8, osmosis 0.45


More information about the osmosis-dev mailing list