Changes between Version 14 and Version 15 of Styles/Lane_and_Road_Attributes


Ignore:
Timestamp:
2013-02-23T11:45:35+01:00 (13 years ago)
Author:
imagic
Comment:

Value "reverse" for key "turn" was not recognized

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Lane_and_Road_Attributes

    v14 v15  
    2828* change:lanes without suffix is currently only supported on one-ways. It is planned to support this in the future, but limited to the values yes and no.
    2929* If both destination:forward and destination:backward are given they will be written side-by-side but due to a limitation of JOSM it is purely random if destination:forward is rendered above the forward or backward lanes and vice versa.
     30* Currently no rendering of turn=reverse.
    3031
    3132'''Acknowledgments:'''
     
    4445    description: "Visualization of lanes, width, turn lanes, changing the lane, destination, lighting and street lamps, sidewalk, cycletracks, bicycle lanes, bus lanes, psv lanes.";
    4546    author: "Martin Vonwald";
    46     version: "0.99-beta9-[[revision]]_[[date]]";
     47    version: "0.99-beta10-[[revision]]_[[date]]";
    4748    license: "CC-BY-SA";
    4849    min-josm-version: "5714";
     
    301302/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
    302303/* Determine turning lanes                                                                                                                         */
     304/* TODO: rendering of "reverse" is missing                                                                                                         */
    303305/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
    304306/***************************************************************************************************************************************************/
     
    334336                                    ))));
    335337    /* Work aorund for issue with the lenght() function temp: eval(regexp_test(".*([|])$",prop(temp))?concat(prop(temp),"none"):prop(temp)); */
    336     data_error: eval(regexp_test("^(none|through|left|slight_left|sharp_left|right|slight_right|sharp_right|merge_to_left|merge_to_right|;|\\|)*$",prop(temp))?prop(data_error):"invalid forward turn lanes");
     338    data_error: eval(regexp_test("^(none|through|left|slight_left|sharp_left|right|slight_right|sharp_right|merge_to_left|merge_to_right|reverse|;|\\|)*$",prop(temp))?prop(data_error):"invalid forward turn lanes");
    337339    temp_list: eval(split("|",prop(temp)));
    338340    temp_length: eval(length(prop(temp_list)));
     
    381383                                    ))));
    382384    /* Work aorund for issue with the lenght() function temp: eval(regexp_test(".*([|])$",prop(temp))?concat(prop(temp),"none"):prop(temp)); */
    383     data_error: eval(regexp_test("^(none|through|left|slight_left|sharp_left|right|slight_right|sharp_right|merge_to_left|merge_to_right|;|\\|)*$",prop(temp))?prop(data_error):"invalid backward turn lanes");
     385    data_error: eval(regexp_test("^(none|through|left|slight_left|sharp_left|right|slight_right|sharp_right|merge_to_left|merge_to_right|reverse|;|\\|)*$",prop(temp))?prop(data_error):"invalid backward turn lanes");
    384386    temp_list: eval(split("|",prop(temp)));
    385387    temp_length: eval(length(prop(temp_list)));
     
    24482450way[prop(style_show_disputed)][maxspeed][!"source:maxspeed"]            { data_warning: "source:maxspeed missing"; }
    24492451/* Value of source:maxspeed should be <country code>:<context> */
    2450 way[prop(style_show_disputed)]["source:maxspeed"] { data_warning: eval(regexp_test("^[A-Z][A-Z]:.+$",tag("source:maxspeed"))?prop(data_warning):"verify source:maxspeed"); }
     2452way[prop(style_show_disputed)]["source:maxspeed"] { data_warning: eval(regexp_test("^([A-Z][A-Z]:.+|zone|sign)$",tag("source:maxspeed"))?prop(data_warning):"verify source:maxspeed"); }
    24512453
    24522454/*-------------------------------------------------------------------------------------------------------------------------------------------------*/