Changeset 735 in josm for trunk/styles/standard


Ignore:
Timestamp:
2008-07-24T12:06:08+02:00 (12 years ago)
Author:
stoecker
Message:

added boolean checks to mappaint element styles

File:
1 edited

Legend:

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

    r733 r735  
    1919        <!-- mark some specials that should be fixed - they are already the default and therefore shouldn't be tagged -->
    2020    <rule>
    21        <condition k="oneway" v="yes"/>
     21       <condition k="oneway"/>
    2222           <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
    2323       <icon annotate="true" src="misc/deprecated.png" />
     
    2626     </rule>
    2727    <rule>
    28        <condition k="oneway" v="1"/>
    29            <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
    30        <icon annotate="true" src="misc/deprecated.png" />
    31        <scale_min>1</scale_min>
    32        <scale_max>40000</scale_max>
    33      </rule>
    34     <rule>
    35        <condition k="oneway" v="-1"/>
    36            <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
    37        <icon annotate="true" src="misc/deprecated.png" />
    38        <scale_min>1</scale_min>
    39        <scale_max>40000</scale_max>
    40      </rule>
    41     <rule>
    42        <condition k="oneway" v="true"/>
    43            <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
    44        <icon annotate="true" src="misc/deprecated.png" />
    45        <scale_min>1</scale_min>
    46        <scale_max>40000</scale_max>
    47      </rule>
    48     <rule>
    49        <condition k="oneway" v="no"/>
    50        <line width="2" realwidth="5" dashed="true" colour="#ff0000"/>
    51        <icon annotate="true" src="misc/deprecated.png" />
    52        <scale_min>1</scale_min>
    53        <scale_max>40000</scale_max>
    54      </rule>
    55     <rule>
    56        <condition k="oneway" v="false"/>
    57        <line width="2" realwidth="5" dashed="true" colour="#ff0000"/>
    58        <icon annotate="true" src="misc/deprecated.png" />
    59        <scale_min>1</scale_min>
    60        <scale_max>40000</scale_max>
    61      </rule>
    62     <rule>
    63        <condition k="bridge" v="yes"/>
     28       <condition k="bridge" b="yes"/>
    6429           <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
    6530       <icon annotate="true" src="vehicle/viaduct.png" />
     
    6833     </rule>
    6934    <rule>
    70        <condition k="bridge" v="true"/>
    71            <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
    72        <icon annotate="true" src="vehicle/viaduct.png" />
    73        <scale_min>1</scale_min>
    74        <scale_max>40000</scale_max>
    75      </rule>
    76     <rule>
    77        <condition k="bridge" v="false"/>
    78        <line width="2" realwidth="5" dashed="true" colour="#ff0000"/>
    79        <icon annotate="true" src="misc/deprecated.png" />
    80        <scale_min>1</scale_min>
    81        <scale_max>40000</scale_max>
    82      </rule>
    83     <rule>
    84        <condition k="bridge" v="no"/>
     35       <condition k="bridge" b="no"/>
    8536       <line width="2" realwidth="5" dashed="true" colour="#ff0000"/>
    8637       <icon annotate="true" src="misc/deprecated.png" />
     
    11061     </rule>
    11162    <rule>
    112        <condition k="tunnel" v="yes"/>
     63       <condition k="tunnel" b="yes"/>
    11364           <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
    11465                <icon annotate="true" src="vehicle/tunnel.png" />
     
    11768     </rule>
    11869    <rule>
    119        <condition k="tunnel" v="true"/>
    120            <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
    121                 <icon annotate="true" src="vehicle/tunnel.png" />
    122        <scale_min>1</scale_min>
    123        <scale_max>40000</scale_max>
    124      </rule>
    125     <rule>
    126        <condition k="tunnel" v="false"/>
     70       <condition k="tunnel" b="no"/>
    12771       <line width="2" realwidth="5" dashed="true" colour="#ff0000"/>
    12872       <icon annotate="true" src="misc/deprecated.png" />
     
    13175     </rule>
    13276    <rule>
    133        <condition k="tunnel" v="no"/>
     77       <condition k="cutting" b="no"/>
    13478       <line width="2" realwidth="5" dashed="true" colour="#ff0000"/>
    13579       <icon annotate="true" src="misc/deprecated.png" />
     
    13882     </rule>
    13983    <rule>
    140        <condition k="cutting" v="false"/>
    141        <line width="2" realwidth="5" dashed="true" colour="#ff0000"/>
    142        <icon annotate="true" src="misc/deprecated.png" />
    143        <scale_min>1</scale_min>
    144        <scale_max>40000</scale_max>
    145      </rule>
    146     <rule>
    147        <condition k="embankment" v="false"/>
     84       <condition k="embankment" b="no"/>
    14885       <line width="2" realwidth="5" dashed="true" colour="#ff0000"/>
    14986       <icon annotate="true" src="misc/deprecated.png" />
Note: See TracChangeset for help on using the changeset viewer.