Changeset 6549 in josm for trunk/data/validator


Ignore:
Timestamp:
2013-12-27T21:16:58+01:00 (11 years ago)
Author:
simon04
Message:

fix #9379 - Add validator warning: "foot used with highway=motorway|trunk|primary|secondary|tertiary, use sidewalk or separate footway instead"

File:
1 edited

Legend:

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

    r6516 r6549  
    5858}
    5959
     60way[foot][highway =~ /motorway|trunk|primary|secondary|tertiary/] {
     61  throwWarning: tr("{0} used with {1}", "{0.key}", "{1.tag}");
     62  suggestAlternative: "sidewalk";
     63  suggestAlternative: "separate footway";
     64  assertMatch: "way highway=primary foot=yes";
     65  assertNoMatch: "way highway=primary";
     66}
     67
    6068way[highway=road] {
    6169  throwWarning: tr("temporary highway type");
     
    107115  assertNoMatch: "way name=Foobarstraße";
    108116}
    109 
    110 /*
    111 TODO: * : W : / *name * /i == * && name != * # misspelled key name
    112 */
Note: See TracChangeset for help on using the changeset viewer.