This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Overpass turbo Can ways with Roles within relations be rendered using MapCSS

0

Hi Overpass turbo Can ways with Roles within relations be rendered using MapCSS

I have this routine:

https://overpass-turbo.eu/s/1ePB

rel(4137412);
way(r);
out geom;

{{style:
way[role=forward]{color:green}
}}

It contains this way with its role set as 'forward'

https://www.openstreetmap.org/way/32751327

I was hoping it would render green. Is this possible within OPT

asked 06 Jan '22, 02:13

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

Source code available on GitHub .