Using colour to distinguish a node's role in a relation in an overpass query

I’m sure this is possible, but the Overpass documentation is unhelpful.

Basically, I’m looking for an overpass query that shows something a bit like this but with the different node relation roles in different colours - so that this node is displayed differently to this one.

Any overpass query that assigns colours based on role relation would be helpful; I’ll be able to figure the rest out from there.

4 posts - 4 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/using-colour-to-distinguish-a-nodes-role-in-a-relation-in-an-overpass-query/108041