Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#17499 closed enhancement (worksforme)

mapcss link selector enhancement

Reported by: dmanzer95 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: mapcss Cc:

Description

is there a way in MapCSS to do something like this:

relation[type=restriction] >[role=from] node

skipping the child way and selecting the child nodes of a relation where it has a role in the relation?

Attachments (0)

Change History (5)

comment:1 by dmanzer95, 6 years ago

this would be helpful for creating mapcss based validation checks for relations

comment:2 by Klumbumbus, 6 years ago

If the node is a direct member of the relation then this is possible:

relation[type=restriction] >[role=via] node {
    throwWarning: tr("via node");
}

comment:3 by dmanzer95, 6 years ago

thanks for the help. It wasn't working earlier for some reason. Must have been a different issue.

comment:4 by dmanzer95, 6 years ago

Resolution: fixed
Status: newclosed

comment:5 by Klumbumbus, 6 years ago

Resolution: fixedworksforme

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.