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, 02:13

DaveF's gravatar image

DaveF
3.0k7793127
accept rate: 15%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×230
×215
×11
×10

question asked: 06 Jan, 02:13

question was seen: 256 times

last updated: 06 Jan, 02:13

powered by OSQA