Changeset 7793 in josm for trunk/data/validator


Ignore:
Timestamp:
2014-12-11T23:41:28+01:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #10825 - add validator warning for tags on isolated nodes, which should be part of a way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/geometry.mapcss

    r7744 r7793  
    107107  throwWarning: tr("{0} inside {1}", concat("power=", tag("power")), concat("power=", tag("power")));
    108108}
     109
     110/* isolated nodes which should be part of a way, see ticket:#10825 */
     111node:unconnected[barrier=entrance],
     112node:unconnected[entrance],
     113node:unconnected[traffic_calming],
     114node:unconnected[highway=passing_place],
     115node:unconnected[highway=mini_roundabout],
     116node:unconnected[highway=motorway_junction],
     117node:unconnected[highway=turning_loop],
     118node:unconnected[highway=turning_circle],
     119node:unconnected[highway=traffic_signals],
     120node:unconnected[highway=crossing],
     121node:unconnected[crossing],
     122node:unconnected[railway=crossing],
     123node:unconnected[railway=level_crossing],
     124node:unconnected[railway=buffer_stop],
     125node:unconnected[noexit],
     126node:unconnected[waterway=dam],
     127node:unconnected[waterway=weir],
     128node:unconnected[waterway=waterfall],
     129node:unconnected[amenity=ferry_terminal],
     130node:unconnected[mountain_pass=yes] {
     131  throwWarning: tr("{0} must be connected to a way", "{1.tag}");
     132}
Note: See TracChangeset for help on using the changeset viewer.