Changes between Version 44 and Version 45 of Styles/Lane_and_Road_Attributes


Ignore:
Timestamp:
2014-07-04T10:41:39+02:00 (11 years ago)
Author:
imagic
Comment:

Support for the right- and left-hand traffic database from JOSM

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Lane_and_Road_Attributes

    v44 v45  
    3636* The settings '''carriage.way.backward''', '''carriage.way.forward''' and '''carriage.way.both_ways''' specify the colour of the respective lanes.
    3737* The settings '''sidewalk''', '''cycletrack''' and '''combined.sidewalk.and.cycletrack''' specify the colour of the sidewalk, a cycletrack and a combined sidewalk and cycletrack
    38 * If '''boolean.right.hand.traffic''' is set to white, lanes are rendered for right hand traffic, otherwise for left hand traffic.
     38* If '''boolean.right.hand.traffic''' is set to white, lanes are rendered for right hand traffic, if set to black for left hand traffic and if set to anything else (which is now the default) the right- and left-hand traffic database from JOSM is used to automatically determine the side.
    3939* If '''boolean.use.svg''' is set to white, the markings for turning lanes are rendered more precisely. '''If you run into memory problems, set this to black.'''
    4040* The settings '''opacity.lane''', '''opacity.markings''' and '''opacity.sidewalk''' specify the opacity of the lane background, road markings and the sidewalk background. If set to white they are opaque; if set to black they are completely transparent, any grey setting in between is treated an appropriate opacity.
     
    6969    link: "http://josm.openstreetmap.de/wiki/Styles/Lane_and_Road_Attributes";
    7070    author: "Martin Vonwald";
    71     version: "2.4-[[revision]]_[[date]]";
     71    version: "2.5-[[revision]]_[[date]]";
    7272    license: "CC-BY-SA";
    73     min-josm-version: "6950";
     73    min-josm-version: "7287";
    7474}
    7575
     
    107107
    108108  /* Ugly hack to make boolean configurable */
    109   ugly_right_hand_traffic: Boolean_right_hand_traffic#FFFFFF;
    110   style_right_hand_traffic: eval(red(prop(ugly_right_hand_traffic)))=1;
     109  ugly_right_hand_traffic: Boolean_right_hand_traffic#888888;
     110  /*style_right_hand_traffic: eval(red(prop(ugly_right_hand_traffic)))=1;*/
     111  /*style_right_hand_traffic: eval(is_right_hand_traffic());*/
     112  style_right_hand_traffic: eval((red(prop(ugly_right_hand_traffic))=1)?yes:((red(prop(ugly_right_hand_traffic))=0)?no:is_right_hand_traffic()));
    111113  ugly_show_warnings: Boolean_show_warnings#FFFFFF;
    112114  style_show_warnings: eval(red(prop(ugly_show_warnings)))=1;