Changes between Version 43 and Version 44 of Styles/Lane_and_Road_Attributes


Ignore:
Timestamp:
2014-07-01T10:28:33+02:00 (11 years ago)
Author:
imagic
Comment:

Updated some prop/is_prop_set statements to be compatible with future JOSM versions

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Lane_and_Road_Attributes

    v43 v44  
    21532153/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
    21542154/***************************************************************************************************************************************************/
    2155 way[is_prop_set(ok)][is_prop_set(lanes_all)]::Ground
     2155way[is_prop_set(ok, "default")][is_prop_set(lanes_all, "default")]::Ground
    21562156{
    21572157    linecap: none;
     
    21652165/* Sidewalk and cycletrack */
    21662166way|z17- {} /* ATTENTION: For whatever reason this is needed, otherwise the following won't be interpreted correctly */
    2167 way|z17-[is_prop_set(ok)][is_prop_set(lanes_all)]::Ground
     2167way|z17-[is_prop_set(ok, "default")][is_prop_set(lanes_all, "default")]::Ground
    21682168{
    21692169    /* Cycletrack in an one-way on the left side? */
     
    31983198/* Destination                                                                                                                                     */
    31993199/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
    3200 way|z17-[is_prop_set(ok)][destination][!prop(style_use_svg_destination)]::Destination
     3200way|z17-[is_prop_set(ok, "default")][destination][!prop(style_use_svg_destination, "default")]::Destination
    32013201{
    32023202    text-offset: eval(prop("placement_offset","default"));
     
    32073207    text-halo-radius: 2;    text-halo-color: blue;    text-halo-opacity: 0.3;
    32083208}
    3209 way|z17-[is_prop_set(ok)]["destination:forward"][!prop(style_use_svg_destination)]::Destination_Forward
     3209way|z17-[is_prop_set(ok, "default")]["destination:forward"][!prop(style_use_svg_destination, "default")]::Destination_Forward
    32103210{
    32113211    text-offset: eval(prop("placement_offset","default")+(eval(prop(lane_width_all,"default"))/4));
     
    32163216    text-halo-radius: 2;    text-halo-color: blue;    text-halo-opacity: 0.3;
    32173217}
    3218 way|z17-[is_prop_set(ok)]["destination:backward"][!prop(style_use_svg_destination)]::Destination_Backward
     3218way|z17-[is_prop_set(ok, "default")]["destination:backward"][!prop(style_use_svg_destination, "default")]::Destination_Backward
    32193219{
    32203220    text-offset: eval(prop("placement_offset","default")-(eval(prop(lane_width_all,"default"))/4));
     
    32283228/* TODO: make opacity configurable */
    32293229way{} /* If this is removed the following won't be interpreted */
    3230 way|z17-[is_prop_set(ok)][destination][prop(style_use_svg_destination)]::Destination
     3230way|z17-[is_prop_set(ok, "default")][destination][prop(style_use_svg_destination, "default")]::Destination
    32313231{
    32323232    complete_destination: eval(get(split(";",tag(destination)),0));
     
    32443244}
    32453245way{} /* If this is removed the following won't be interpreted */
    3246 way|z17-[is_prop_set(ok)]["destination:forward"][prop(style_use_svg_destination)]::Destination_Forward
     3246way|z17-[is_prop_set(ok, "default")]["destination:forward"][prop(style_use_svg_destination, "default")]::Destination_Forward
    32473247{
    32483248    complete_destination: eval(get(split(";",tag("destination:forward")),0));
     
    32593259}
    32603260way{} /* If this is removed the following won't be interpreted */
    3261 way|z17-[is_prop_set(ok)]["destination:backward"][prop(style_use_svg_destination)]::Destination_Backward
     3261way|z17-[is_prop_set(ok, "default")]["destination:backward"][prop(style_use_svg_destination, "default")]::Destination_Backward
    32623262{
    32633263    complete_destination: eval(get(split(";",tag("destination:backward")),0));
     
    32773277/* destination_sign relation (experimental support - only one sign per way is supported)                                                           */
    32783278/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
    3279 relation[is_prop_set(ok)][type="destination_sign"] >[role="to"] way|z17-::Destination_Sign
     3279relation[is_prop_set(ok, "default")][type="destination_sign"] >[role="to"] way|z17-::Destination_Sign
    32803280{   
    32813281    sign_font_size: 50;