Changeset 15094 in josm for trunk/data


Ignore:
Timestamp:
2019-05-18T22:11:00+02:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #17623 - warn about junction=yes together with highway=* and warn about A linear object highway=* without area=yes has a tag indicating that it is an area.

File:
1 edited

Legend:

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

    r15075 r15094  
    245245}
    246246
    247 /* {0.tag} together with {1.tag}, see #17592, #17594, #17542, #16861, #16147, #10186 */
     247/* {0.tag} together with {1.tag}, see #17623, #17592, #17594, #17542, #16861, #16147, #10186 */
     248way[junction=yes][highway],
    248249way[tracktype=grade1][surface][surface=~/^(unpaved|compacted|gravel|fine_gravel|pebblestone|ground|earth|dirt|grass|sand|mud|ice|salt|snow|woodchips)$/],
    249250way[tracktype=grade2][surface][surface=~/^(sand|mud)$/],
     
    580581  assertNoMatch: "way highway=pedestrian width=5.5";
    581582}
     583
     584/* see #17623 */
     585way:areaStyle[highway][highway =~ /motorway|trunk|primary|secondary|tertiary|unclassified|residential|service|living_street|pedestrian|track|path|footway|cycleway|bus_guideway|bridleway/][area!=yes] {
     586  throwOther: tr("A linear object {0} without {1} has a tag indicating that it is an area.", "{1.tag}", "{3.tag}");
     587  group: tr("suspicious tag combination");
     588}
Note: See TracChangeset for help on using the changeset viewer.