Changeset 18527 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2022-07-26T23:05:41+02:00 (2 years ago)
Author:
taylor.smock
Message:

Fix #22102: Add a warning if surface does not match tracktype (patch by mkoniecz)

File:
1 edited

Legend:

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

    r18522 r18527  
    55way[surface=~/^(unpaved|compacted|gravel|fine_gravel|pebblestone|ground|earth|dirt|grass|sand|mud|ice|salt|snow|woodchips)$/] { /* without grass_paver as it is controversial */
    66  set unpaved_surface;
     7}
     8way[surface=~/^(paved|asphalt|cobblestone|cobblestone:flattened|sett|concrete|concrete:plates|paving_stones|metal|wood|unhewn_cobblestone)$/] {
     9  set fully_paved_surface;
    710}
    811
     
    327330way[junction=yes][highway],
    328331way[tracktype=grade1][surface].unpaved_surface,
    329 way[tracktype=grade2][surface][surface=~/^(sand|mud)$/],
     332way[tracktype=grade2][surface][surface=~/^(sand|mud|ground|earth|dirt|grass|ice|salt|snow|woodchips)$/],
     333way[tracktype=grade4][surface].fully_paved_surface,
     334way[tracktype=grade5][surface].fully_paved_surface,
    330335way[segregated][bicycle=no],
    331336way[segregated][foot=no],
Note: See TracChangeset for help on using the changeset viewer.