Changeset 1714 in josm


Ignore:
Timestamp:
2009-07-01T20:46:11+02:00 (13 years ago)
Author:
ulfl
Message:

fix #2516: display railway=abandoned or railway=disused in conjunction with something else (e.g. highway=xy), so it won't hide the highway but be displayed as an overlay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.xml

    r1635 r1714  
    11751175        </rule>
    11761176
     1177    <!-- disused often appears together with highway=xy -->
     1178    <!-- -> normal display with line, linemod for combinations -->
    11771179        <rule>
    11781180                <condition k="railway" v="disused"/>
    1179                 <line width="1" colour="oldrail#202020" dashed="true"/>
    1180                 <icon annotate="true" src="misc/deprecated.png"/>
    1181                 <scale_min>1</scale_min>
    1182                 <scale_max>50000</scale_max>
    1183         </rule>
    1184 
     1181                <line width="1" colour="oldrail#202020" dashed="true" priority="-10000"/>
     1182                <linemod mode="over" width="1" colour="oldrail#202020" dashed="true"/>
     1183                <icon annotate="true" src="misc/deprecated.png"/>
     1184                <scale_min>1</scale_min>
     1185                <scale_max>50000</scale_max>
     1186        </rule>
     1187
     1188    <!-- abandoned often appears together with highway=xy -->
     1189    <!-- -> normal display with line, linemod for combinations -->
    11851190        <rule>
    11861191                <condition k="railway" v="abandoned"/>
    11871192                <line width="1" colour="oldrail#202020" dashed="true" priority="-10000"/>
     1193                <linemod mode="over" width="1" colour="oldrail#202020" dashed="true"/>
    11881194                <icon annotate="true" src="misc/deprecated.png"/>
    11891195                <scale_min>1</scale_min>
Note: See TracChangeset for help on using the changeset viewer.