NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%

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:

×236
×228
×12
×10

question asked: 06 Jan '22, 02:13

question was seen: 844 times

last updated: 06 Jan '22, 02:13

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum