I want to match bridges which are considered metallic or unknown.
I tried this:
area[name="Australia"]->.a;
way(area.a)
[man_made=bridge]
[bridge!=viaduct]
["bridge:structure"!=humpback]
[material~metal]
[material~steel]
[material~reinforced_concrete]
["bridge:material"~steel]
["bridge:material"~metal];
out geom;
But it this ignores bridges that don't have the material or "bridge:material" key. Looking at the overpass docs doesn't mention anyway to match on a key only if that key exists.
asked
05 Feb '17, 09:46
CMCDragonkai
21●1●1●2
accept rate:
0%
I think you should use the union operator ( ) and search for bridges without bridge:material on one hand with [!"bridge:material"] and the ones you are looking for above.