Changeset 8077 in josm for trunk/data/validator


Ignore:
Timestamp:
2015-02-16T23:20:55+01:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #9389 - add validator warning for :forward and :backward in oneways; add validator info for lanes:backward without lanes:forward and vice versa

File:
1 edited

Legend:

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

    r8057 r8077  
    8484
    8585/* {0.key} without {1.key} (info level) */
     86*[lanes:forward][!lanes:backward][oneway!=yes][oneway!=-1],
     87*[lanes:backward][!lanes:forward][oneway!=yes][oneway!=-1],
    8688*[leaf_type ][!leaf_cycle],
    8789*[leaf_cycle][!leaf_type] {
     
    148150}
    149151
     152/* {0.tag} together with {1.key}, see #9389 */
     153*[oneway=yes][/:backward/],
     154*[oneway=yes][/:forward/],
     155*[oneway=-1 ][/:backward/],
     156*[oneway=-1 ][/:forward/] {
     157  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.key}");
     158}
     159
    150160/* {0.tag} together with {1.tag} (info level), see #9696 */
    151161*[highway=footway][oneway=no] {
Note: See TracChangeset for help on using the changeset viewer.