Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#9576 closed enhancement (fixed)

"unconnected" pseudo class in MapCSS

Reported by: naoliv Owned by: team
Priority: normal Milestone: 14.01
Component: Core validator Version:
Keywords: Cc:

Description

Could JOSM also have an :unconnected pseudo class (http://josm.openstreetmap.de/wiki/Help/Styles/MapCSSImplementation#PseudoClasses) for nodes that aren't used by any ways?

Attachments (0)

Change History (5)

comment:1 by Don-vip, 12 years ago

Milestone: 14.01

sounds a good idea :)

comment:2 by naoliv, 12 years ago

To exemplify my request, I am trying to find nodes tagged as traffic_calming=* or highway=(crossing|speed_camera|traffic_signals) that aren't connected to ways.

comment:3 by Don-vip, 12 years ago

Resolution: fixed
Status: newclosed

In 6687/josm:

see #9414, fix #9576 - "unconnected" pseudo class in MapCSS for nodes without parent way

in reply to:  2 comment:4 by anonymous, 12 years ago

Replying to naoliv:

To exemplify my request, I am trying to find nodes tagged as traffic_calming=* or highway=(crossing|speed_camera|traffic_signals) that aren't connected to ways.

Hi, could you then paste the rules here so we could use it too? I'd be interested in such a test too and I am new to this mapcss stuff yet.

comment:5 by naoliv, 12 years ago

My local test has this:

node:unconnected[power = pole],
node:unconnected[power = tower],
node:unconnected[traffic_calming],
node:unconnected[highway = mini_roundabout],
node:unconnected[highway = motorway_junction],
node:unconnected[highway = stop],
node:unconnected[highway = giveway],
node:unconnected[highway = turning_circle],
node:unconnected[highway = crossing],
node:unconnected[highway = speed_camera],
node:unconnected[highway = traffic_signals] {
        throwWarning: tr("{0} must be connected to a way", "{1.tag}");
}

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.