Changeset 16993 in josm


Ignore:
Timestamp:
2020-08-31T15:07:50+02:00 (4 years ago)
Author:
Klumbumbus
Message:

fix #19742 - Warn about much likely wrong direction tag on highway=mini_roundabout, remove icon for solely direction=clockwise tag

Location:
trunk/resources
Files:
2 edited

Legend:

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

    r16860 r16993  
    815815  assertNoMatch: "way highway=primary placement:forward=transition placement:both_ways=transition";
    816816}
     817
     818/* #19742 */
     819node:righthandtraffic[highway=mini_roundabout][direction=clockwise] {
     820  throwWarning: tr("{0} together with {1} at right-hand traffic", "{1.tag}", "{2.tag}");
     821  group: tr("suspicious tag combination");
     822}
     823node!:righthandtraffic[highway=mini_roundabout][direction=anticlockwise] {
     824  throwWarning: tr("{0} together with {1} at left-hand traffic", "{1.tag}", "{2.tag}");
     825  group: tr("suspicious tag combination");
     826}
  • trunk/resources/styles/standard/elemstyles.mapcss

    r16990 r16993  
    722722node[highway=milestone] {
    723723    icon-image: "presets/vehicle/milestone.svg";
    724     set icon_z17;
    725 }
    726 node[direction=clockwise] {
    727     icon-image: "presets/vehicle/restriction/roundabout_left.svg";
    728724    set icon_z17;
    729725}
Note: See TracChangeset for help on using the changeset viewer.