Changeset 15722 in josm for trunk/data/validator


Ignore:
Timestamp:
2020-01-18T20:29:13+01:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #18471 - warn about highway=cycleway|footway|path together with segregated=no and sidewalk=left|right|both and warn about values of segregated other than yes|no

Location:
trunk/data/validator
Files:
2 edited

Legend:

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

    r15695 r15722  
    313313}
    314314
     315/* {0.tag} together with {1.tag} and {2.key}, #18471 */
     316way[highway=~/^(cycleway|footway|path)$/][segregated=no][sidewalk =~/^(left|right|both)$/] {
     317  throwWarning: tr("{0} together with {1} and {2}", "{0.tag}", "{1.tag}", "{2.key}");
     318  group: tr("suspicious tag combination");
     319}
     320
    315321/* #11127, #13727 */
    316322way[waterway][bridge=yes][waterway!=weir] {
  • trunk/data/validator/deprecated.mapcss

    r15715 r15722  
    18871887  group: tr("deprecated tagging");
    18881888}
     1889
     1890node[segregated][segregated!=yes][segregated!=no],
     1891way[segregated ][segregated!=yes][segregated!=no] {
     1892  throwWarning: tr("unusual value of {0}", "{0.key}");
     1893}
Note: See TracChangeset for help on using the changeset viewer.