Opened 11 years ago

Last modified 11 years ago

#10825 closed enhancement

add validator warning for tags on isolated nodes, which should be part of a way — at Version 3

Reported by: Klumbumbus Owned by: Klumbumbus
Priority: normal Milestone: 14.12
Component: Core validator Version:
Keywords: Cc:

Description (last modified by Klumbumbus)

I suggest to add the following validator warning:

node:unconnected[barrier=entrance],
node:unconnected[entrance],
node:unconnected[traffic_calming],
node:unconnected[highway=passing_place],
node:unconnected[highway=mini_roundabout],
node:unconnected[highway=motorway_junction],
node:unconnected[highway=turning_loop],
node:unconnected[highway=turning_circle],
node:unconnected[highway=traffic_signals],
node:unconnected[highway=crossing],
node:unconnected[crossing],
node:unconnected[railway=crossing],
node:unconnected[railway=level_crossing],
node:unconnected[railway=buffer_stop],
node:unconnected[noexit],
node:unconnected[waterway=dam],
node:unconnected[waterway=weir],
node:unconnected[waterway=waterfall],
node:unconnected[amenity=ferry_terminal],
node:unconnected[mountain_pass=yes] {
  throwWarning: tr("{0} must be connected to a way", "{1.tag}");
}

(partly based on ticket:9576#comment:5)

Any opinions about this, or more tags to add to the list?

Change History (3)

comment:1 by Don-vip, 11 years ago

Milestone: 14.12

Railway=crossing

Good idea :)

comment:2 by Klumbumbus, 11 years ago

railway=level_crossing
railway=buffer_stop
noexit
highway=passing_place
mountain_pass=yes
barrier=entrance
waterway=dam
waterway=weir
waterway=waterfall
amenity=ferry_terminal

for ford there is aleady a more advanced validator test.

comment:3 by Klumbumbus, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.