Changes between Version 18 and Version 19 of Styles/Lane_and_Road_Attributes


Ignore:
Timestamp:
2013-02-26T11:28:24+01:00 (13 years ago)
Author:
imagic
Comment:

Added rule for the to and from members of enforcement relations

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Lane_and_Road_Attributes

    v18 v19  
    1414* [[http://wiki.openstreetmap.org/wiki/Key:destination|destination]]: Signposted destination of a road. Only rudimentary support without lane-dependent values. The subkeys [[http://wiki.openstreetmap.org/wiki/Key:destination:ref|destination:ref]] and [[http://wiki.openstreetmap.org/wiki/Key:destination:country|destination:country]] are also supported.
    1515* [[http://wiki.openstreetmap.org/wiki/Proposed_features/highway%3Djunction|highway=junction]]: Can be used to indicate the outline of a junction and group together all features of it.
     16* [[http://wiki.openstreetmap.org/wiki/Relation:enforcement|Relation enforcement]]: The to and from members of such relations are highlighted
    1617
    1718Furthermore:
     
    3031* 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.
    3132* Currently no rendering of turn=reverse.
     33* In forward and backward direction a maximum of eight lanes and for lanes in both directions a maximum of four lanes is displayed.
    3234
    3335'''Acknowledgments:'''
     
    4648    description: "Visualization of lanes, width, turn lanes, changing the lane, destination, lighting and street lamps, sidewalk, cycletracks, bicycle lanes, bus lanes, psv lanes.";
    4749    author: "Martin Vonwald";
    48     version: "0.99-beta13-[[revision]]_[[date]]";
     50    version: "0.99-beta14-[[revision]]_[[date]]";
    4951    license: "CC-BY-SA";
    5052    min-josm-version: "5714";
     
    24222424/* Street lamp                                                                                                                                     */
    24232425/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
    2424 node|z17-[highway="street_lamp"]::Street_lamp_1
     2426node|z17-[highway="street_lamp"]::Lighting_1
    24252427{
    24262428    symbol-shape: circle;
     
    24292431    symbol-fill-opacity: 0.07;
    24302432}
    2431 node|z17-[highway="street_lamp"]::Street_lamp_2
     2433node|z17-[highway="street_lamp"]::Lighting_2
    24322434{
    24332435    symbol-shape: circle;
     
    24362438    symbol-fill-opacity: 0.05;
    24372439}
    2438 node|z17-[highway="street_lamp"]::Street_lamp_3
     2440node|z17-[highway="street_lamp"]::Lighting_3
    24392441{
    24402442    symbol-shape: circle;
     
    24992501    font-size: eval(prop(lane_default_width,"default"));          text-color: white;        text-opacity: 0.3;   
    25002502    text-halo-radius: 2;    text-halo-color: blue;    text-halo-opacity: 0.3;
     2503}
     2504
     2505/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
     2506/* Member nodes of enforcement relations                                                                                                           */
     2507/*-------------------------------------------------------------------------------------------------------------------------------------------------*/
     2508relation[type="enforcement"] >[role="from"] node
     2509{   
     2510    symbol-stroke-color: #00FF00; symbol-shape: square; symbol-size: 5; symbol-stroke-width: 2;
     2511}
     2512relation[type="enforcement"] >[role="to"] node
     2513{   
     2514    symbol-stroke-color: #FF0000; symbol-shape: square; symbol-size: 5; symbol-stroke-width: 2;
    25012515}
    25022516