Changeset 14987 in josm


Ignore:
Timestamp:
2019-04-12T19:59:15+02:00 (6 years ago)
Author:
Klumbumbus
Message:
  • see #2760 see #13804 - fix validator rule syntax
  • see #17592 - fix validator rule syntax
  • fix #17594 - warn about tracktype=grade2 with surface=sand|mud
Location:
trunk/data/validator
Files:
2 edited

Legend:

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

    r14986 r14987  
    243243}
    244244
    245 /* {0.tag} together with {1.tag}, see #17592, #17542, #16861, #16147, #10186 */
    246 way[tracktype=grade1][surface][surface=~/^(unpaved|compacted|gravel|fine_gravel|pebblestone|ground|earth|dirt|grass|sand|mud|ice|salt|snow|woodchips)$/]
     245/* {0.tag} together with {1.tag}, see #17592, #17594, #17542, #16861, #16147, #10186 */
     246way[tracktype=grade1][surface][surface=~/^(unpaved|compacted|gravel|fine_gravel|pebblestone|ground|earth|dirt|grass|sand|mud|ice|salt|snow|woodchips)$/],
     247way[tracktype=grade2][surface][surface=~/^(sand|mud)$/],
    247248way[segregated][bicycle=no],
    248249way[segregated][foot=no],
  • trunk/data/validator/unnecessary.mapcss

    r14980 r14987  
    5555*[emergency=permissive] {
    5656  /* see #9458 - emergency=permissive makes no sense */
    57   throwWarning: tr("{0} makes no sense", "{0.tag");
     57  throwWarning: tr("{0} makes no sense", "{0.tag}");
    5858  fixAdd: "emergency=yes";
    5959  assertMatch: "way emergency=permissive";
Note: See TracChangeset for help on using the changeset viewer.