wiki:Styles/LegacyStandard

Legacy Standard style

This style was the default standard style of JOSM, written in XML format, before we switched to more powerful features allowed by our MapCSS implementation. It is no more included in JOSM since r7330 and is kept here on the wiki as a reference for XML format but not maintained anymore.
It is not recommended to use this style because a lot of changes and improvements have been made to the new Default Style.

The style itself

<?xml version="1.0" encoding="UTF-8"?>
<rules xmlns="http://josm.openstreetmap.de/mappaint-style-1.0"
       description="Old version of JOSM default style"
       de.description="Alte Version des JOSM Standardstils"  
       shortdescription="JOSM default (XML; old version, outdated)"
       de.shortdescription="JOSM Standard (XML; alte version, veraltet)"
       icon="josm_small.png"
       version="1.9_2015-02-16">
<!--
A little help:
1. every rule starts with <rule> and ends with </rule>
2. every rule needs a condition
        -k for the key (required)
        -v for the value as a string
        -b for the values yes / no (boolean, will also understand true, 1 and false, 0 respectively)
        Both -v and -b are optional (but recommended). If both are ommitted, the rule will apply to all
        tags with the given key - don't forget to set a priority if other rules could also apply.
3. line attributes
        - width absolute width in pixel in every zoom level
        - realwidth relative width which will be scaled in meters, integer
        - colour
        - priority
        - dashed x - dashed line, length of dashes / spaces in x pixels
        - dashed x,y - dashed line, x length of dashes / spaces in y pixels
        - dashedcolour second (background) colour of a dashed line
4. linemod attributes
        - all line attributes
        - mode ('over' or 'under')
        - width can be specified relative to modified way:
          +x - <x> pixels are added to way size
          -x - <x> pixels are subtracted from way size
          x% - the size is <x> percent of modified way
          If the size is <= 1 the minimum size of 1 is used.
5. area attributes
        - colour
        - priority
        - closed (true or false - when true the area style is ignored for unclosed ways)
6. icon attributes
        - icon (path to icon)
          - relative to the icon path
          - URL's are also supported to allow remote icons (are cached locally)
        - priority
        - annonate (true or false)
7. scale_min / scale_max
        - zoom scale for display (currently unused)

Using both area and line attributes for the same key/value pair does work. For areas
first the best matching area rule is searched and the best matching line rule is
connected with it. They need not have the same key/value pair.

The colours can consist of the two components - name and hex code (e.g. water#0000ff).
If both are given, the color name is introduced in preferences with that value. If only
code is given (e.g. #0000ff), it is used directly. If only name is given, either user
modified preferences or previous value is used. The 6 hex digit color code can also
be appended by a hex value of the alpha channel (thus having 8 hex digits instead of 6).

Linemod's are drawn over or under the line they are associated with and modify the
appearance. There can be multiple linemod's for one way (contrary to line styles,
where only one applies). When drawn over a way either a very small width must be choosen
or an alpha value must be used for the colour field (otherwise the original way is
not visible). When the mod is under the way, then it must be wide enough to be visible
on the sides of the way or the waystyles itself must use alpha channel (which may
look strange).

If a key/value pair matches more than one rule, the "rule that wins" is unpredicted
in case they have same priority! Using priority settings helps to solve conflicts.

For external files the <rules> should have following elements:
- author           the author of the style
- version          a version number of some sort (e.g. creation date)
- description      what is your style meant to be
- shortdescription very short description
- link              a link to a helpful website (optional)
- name             is the name of the style
- icon             icon to display in style choosing dialog
- The fields description, shortdescription and link may also be localized (e.g. de.link)
-->

        <rule>
                <condition k="restriction" v="no_left_turn"/>
                <icon annotate="true" src="vehicle/restriction/turn_restrictions/no_left_turn.png"/>
                <!--icon annotate="true" src="vehicle/restriction/turn_restrictions/ireland/no_left_turn.png"/-->
        </rule>
        <rule>
                <condition k="restriction" v="no_right_turn"/>
                <icon annotate="true" src="vehicle/restriction/turn_restrictions/no_right_turn.png"/>
                <!--icon annotate="true" src="vehicle/restriction/turn_restrictions/ireland/no_right_turn.png"/-->
        </rule>
        <rule>
                <condition k="restriction" v="no_straight_on"/>
                <icon annotate="true" src="vehicle/restriction/turn_restrictions/no_straight_on.png"/>
                <!--icon annotate="true" src="vehicle/restriction/turn_restrictions/ireland/no_straight_on.png"/-->
        </rule>
        <rule>
                <condition k="restriction" v="no_u_turn"/>
                <icon annotate="true" src="vehicle/restriction/turn_restrictions/no_u_turn.png"/>
                <!--icon annotate="true" src="vehicle/restriction/turn_restrictions/ireland/no_u_turn.png"/-->
        </rule>
        <rule>
                <condition k="restriction" v="only_left_turn"/>
                <icon annotate="true" src="vehicle/restriction/turn_restrictions/only_left_turn.png"/>
        </rule>
        <rule>
                <condition k="restriction" v="only_right_turn"/>
                <icon annotate="true" src="vehicle/restriction/turn_restrictions/only_right_turn.png"/>
        </rule>
        <rule>
                <condition k="restriction" v="only_straight_on"/>
                <icon annotate="true" src="vehicle/restriction/turn_restrictions/only_straight_on.png"/>
        </rule>


        <!-- mark some specials that should be fixed - they are already the default and therefore shouldn't be tagged -->
        <rule>
                <condition k="oneway"/>
                <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        <rule>
                <condition k="bridge"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        <rule>
                <condition k="bridge" b="yes"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="bridge" v="viaduct"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="bridge" v="aqueduct"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="bridge" v="movable"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="bridge" v="cantilever"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="bridge" v="covered"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="bridge" v="low_water_crossing"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="bridge" v="trestle"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="bridge" v="swing"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
        </rule>
        <rule>
                <condition k="tunnel" b="yes"/>
                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        <rule>
                <condition k="tunnel" b="no"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        <rule>
                <condition k="cutting" b="no"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        <rule>
                <condition k="embankment" b="no"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

<!--restrictions tags -->
<!--the restrictions rules should be placed before the path rule! -->

        <rule>
                <condition k="access" b="no"/>
                <linemod mode="under" width="+2" colour="no#ff8080" dashed="2"/>
                <icon src="vehicle/restriction/access.png" priority="-100"/>
        </rule>
        <rule>
                <condition k="access" v="permissive"/>
                <linemod mode="under" width="+2" colour="permissive#80ff80" dashed="2"/>
                <icon annotate="true" src="misc/no_icon.png" priority="-100"/>
        </rule>
        <rule>
                <condition k="access" v="private"/>
                <linemod mode="under" width="+2" colour="private#ff8080" dashed="2"/>
                <icon annotate="true" src="misc/no_icon.png" priority="-100"/>
        </rule>
        <rule>
                <condition k="access" v="destination"/>
                <linemod mode="under" width="+2" colour="destination#8080ff" dashed="2"/>
                <icon annotate="true" src="misc/no_icon.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="bicycle" b="no"/>
                <icon src="vehicle/restriction/bicycle.png" priority="-100"/>
        </rule>
        <rule>
                <condition k="bicycle" v="designated"/>
                <!-- see trac #1559 <line width="1" realwidth="2" colour="bicycle#ff00ff"/>-->
                <icon annotate="true" src="vehicle/restriction/bicycle-designated.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="foot" b="no"/>
                <icon src="vehicle/restriction/foot.png" priority="-100"/>
        </rule>
        <rule>
                <condition k="foot" v="designated"/>
                <!-- see trac #1559 <line width="1" realwidth="1" colour="foot#00ff00"/>-->
                <icon annotate="true" src="vehicle/restriction/foot-designated.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="goods" b="no"/>
                <icon src="vehicle/restriction/goods.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="hgv" b="no"/>
                <icon src="vehicle/restriction/goods.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="horse" b="no"/>
                <icon src="vehicle/restriction/horse.png" priority="-100"/>
        </rule>
        <rule>
                <condition k="horse" v="designated"/>
                <!-- see trac #1559 <line width="1" realwidth="2" colour="horse#c08000"/>-->
                <icon src="vehicle/restriction/horse-designated.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="motorcycle" b="no"/>
                <icon src="vehicle/restriction/motorbike.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="motorcar" b="no"/>
                <icon src="vehicle/restriction/motorcar.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="psv" b="no"/>
                <icon src="vehicle/restriction/psv.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="motorboat" b="no"/>
                <icon src="misc/no_icon.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="boat" b="no"/>
                <icon src="misc/no_icon.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="noexit" b="yes"/>
                <icon src="vehicle/restriction/dead_end.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="maxweight"/>
                <icon src="vehicle/restriction/maxweight.png"/>
        </rule>

        <rule>
                <condition k="maxheight"/>
                <icon src="vehicle/restriction/maxheight.png"/>
        </rule>

        <rule>
                <condition k="maxwidth"/>
                <icon src="vehicle/restriction/maxwidth.png"/>
        </rule>

        <rule>
                <condition k="maxlength"/>
                <icon src="vehicle/restriction/maxlength.png"/>
        </rule>

        <rule>
                <condition k="maxspeed"/>
                <icon src="vehicle/restriction/speed.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="minspeed"/>
                <icon src="vehicle/restriction/minspeed.png"/>
        </rule>

        <rule>
                <condition k="maxstay"/>
                <icon src="misc/no_icon.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="toll"/>
                <icon src="misc/no_icon.png" priority="-100"/>
        </rule>

        <rule>
                <condition k="barrier"/>
                <icon annotate="true" src="vehicle/restriction/barrier.png" priority="-10"/>
        </rule>
        <rule>
                <condition k="barrier" v="bollard"/>
                <icon annotate="true" src="vehicle/restriction/bollard.png"/>
                <line width="3" colour="barrier#F0F050" dashed="3,9"/>
        </rule>
        <rule>
                <condition k="barrier" v="gate"/>
                <icon annotate="true" src="vehicle/gate.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="hedge"/>
                <icon annotate="true" src="misc/deprecated.png"/>
                <line width="3" colour="barrier#F0F050"/>
        </rule>
        <rule>
                <condition k="barrier" v="stile"/>
                <icon annotate="true" src="vehicle/stile.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="turnstile"/>
                <icon annotate="true" src="vehicle/turnstile.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="fence"/>
                <icon annotate="true" src="misc/no_icon.png"/>
                <line width="3" colour="barrier#F0F050"/>
        </rule>
        <rule>
                <condition k="barrier" v="cycle_barrier"/>
                <icon annotate="true" src="vehicle/cycle_barrier.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="lift_gate"/>
                <icon annotate="true" src="vehicle/lift_gate.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="swing_gate"/>
                <icon annotate="true" src="vehicle/swing_gate.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="wall"/>
                <icon annotate="true" src="misc/deprecated.png"/>
                <line width="3" colour="barrier#F0F050"/>
        </rule>
        <rule>
                <condition k="barrier" v="toll_booth"/>
                <icon annotate="true" src="vehicle/toll_booth.png"/>
                <area colour="barrier#F0F050" closed="true"/>
        </rule>
        <rule>
                <condition k="barrier" v="kissing_gate"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="city_wall"/>
                <icon annotate="true" src="misc/deprecated.png"/>
                <line width="3" colour="barrier#F0F050"/>
        </rule>
        <rule>
                <condition k="barrier" v="entrance"/>
                <icon annotate="true" src="vehicle/entrance.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="retaining_wall"/>
                <icon annotate="true" src="misc/deprecated.png"/>
                <line width="3" colour="barrier#F0F050"/>
        </rule>
        <rule>
                <condition k="barrier" v="cattle_grid"/>
                <icon annotate="true" src="vehicle/cattle_grid.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="block"/>
                <icon annotate="true" src="vehicle/block.png"/>
                <line width="3" colour="barrier#F0F050"/>
        </rule>
        <rule>
                <condition k="barrier" v="border_control"/>
                <icon annotate="true" src="vehicle/border_control.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="bump_gate"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="sally_port"/>
                <icon annotate="true" src="vehicle/sally_port.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="portcullis"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="spikes"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="bus_trap"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="drawbridge"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>
        <rule>
                <condition k="barrier" v="hampshire_gate"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

<!-- highway tags -->

        <rule>
                <condition k="motorroad" b="yes"/>
                <linemod mode="under" width="+4" colour="motorroad#0000c0"/>
        </rule>

        <rule>
                <condition k="highway" v="motorway"/>
                <line width="3" realwidth="8" colour="motorway#809bc0"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="motorway_link"/>
                <line width="3" realwidth="5" colour="motorway#809bc0"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="trunk"/>
                <line width="3" realwidth="8" colour="trunk#7fc97f"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="trunk_link"/>
                <line width="3" realwidth="5" colour="trunk#7fc97f"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="primary"/>
                <line width="3" realwidth="8" colour="primary#fb805f"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="primary_link"/>
                <line width="3" realwidth="5" colour="primary#fb805f"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="secondary"/>
                <line width="3" realwidth="6" colour="secondary#fdbf6f"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="secondary_link"/>
                <line width="3" realwidth="5" colour="secondary#fdbf6f"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="tertiary"/>
                <line width="2" realwidth="5" colour="tertiary#f7f496"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="tertiary_link"/>
                <line width="2" realwidth="4" colour="tertiary#f7f496"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="unclassified"/>
                <line width="2" realwidth="5" colour="street#c0c0c0"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="road"/>
                <line width="2" realwidth="5" colour="deprecated#ff0000"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="unsurfaced"/>
                <line width="1" realwidth="3" colour="street#c0c0c0"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="track"/>
                <line width="1" realwidth="3" colour="highway_track#006600" priority="-10000"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="residential"/>
                <line width="2" realwidth="5" colour="street#c0c0c0"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="living_street"/>
                <line width="2" realwidth="3" colour="street#c0c0c0" dashed="9" dashedcolour="livingdashed#00ff00"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="service"/>
                <line width="1" realwidth="3" colour="service#809bc0"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="bridleway"/>
                <line width="1" realwidth="2" colour="horse#c08000"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="cycleway"/>
                <line width="1" realwidth="2" colour="bicycle#b100ff"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="footway"/>
                <line width="1" realwidth="1" colour="foot#00ff00"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="path"/>
                <line width="1" realwidth="1" dashed="true" colour="foot#00ff00"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <!-- display path with bicycle/foot=designated/official as if it was cycleway/footway -->
        <rule>
                <condition k="highway" v="path"/>
                <condition k="bicycle" v="designated"/>
                <line width="1" realwidth="2" colour="bicycle#b100ff" priority="100"/>
        </rule>

        <rule>
                <condition k="highway" v="path"/>
                <condition k="bicycle" v="official"/>
                <line width="1" realwidth="2" colour="bicycle#b100ff" priority="100"/>
        </rule>

        <rule>
                <condition k="highway" v="path"/>
                <condition k="foot" v="designated"/>
                <line width="1" realwidth="1" colour="foot#00ff00" priority="100"/>
        </rule>

        <rule>
                <condition k="highway" v="path"/>
                <condition k="foot" v="official"/>
                <line width="1" realwidth="1" colour="foot#00ff00" priority="100"/>
        </rule>

        <rule>
                <condition k="highway" v="path"/>
                <condition k="bicycle" v="designated"/>
                <condition k="foot" v="designated"/>
                <line width="1" realwidth="2" colour="bicycle#b100ff" dashedcolour="foot#00ff00" dashed="14,14" priority="200"/>
        </rule>
        
        <rule>
                <condition k="highway" v="path"/>
                <condition k="bicycle" v="official"/>
                <condition k="foot" v="official"/>
                <line width="1" realwidth="2" colour="bicycle#b100ff" dashedcolour="foot#00ff00" dashed="14,14" priority="200"/>
        </rule>

        <rule>
                <condition k="highway" v="pedestrian"/>
                <line width="3" realwidth="5" colour="foot#00ff00"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="pedestrian"/>
                <condition k="area" b="yes"/>
                <line width="3" realwidth="5" colour="foot#00ff00"/>
                <area colour="foot#00ff00" closed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="steps"/>
                <line width="1" realwidth="1" dashed="2" colour="foot#00ff00"/>
                <icon annotate="true" src="transport/steps.png"/>
        </rule>

        <rule>
                <condition k="highway" v="bus_guideway"/>
                <line width="1" colour="rail#404040" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="raceway"/>
                <line width="1" colour="raceway#ff80ff"/>
        </rule>

        <rule>
                <condition k="direction" v="clockwise"/>
                <icon annotate="true" src="vehicle/restriction/roundabout_left.png" priority="10000"/>
        </rule>

        <rule>
                <condition k="highway" v="mini_roundabout"/>
                <icon annotate="true" src="vehicle/restriction/roundabout_right.png"/>
                <!--icon annotate="true" src="vehicle/restriction/roundabout_left.png"/-->
        </rule>

        <rule>
                <condition k="highway" v="stop"/>
                <icon annotate="true" src="vehicle/restriction/stop.png"/>
        </rule>

        <rule>
                <condition k="highway" v="give_way"/>
                <icon annotate="true" src="vehicle/restriction/right_of_way.png"/>
        </rule>

        <rule>
                <condition k="highway" v="traffic_signals"/>
                <icon annotate="true" src="vehicle/restriction/traffic-light.png"/>
        </rule>

        <rule>
                <condition k="highway" v="street_lamp"/>
                <icon annotate="true" src="misc/streetlamp.png"/>
        </rule>

        <rule>
                <condition k="highway" v="speed_camera"/>
                <icon annotate="true" src="vehicle/restriction/speed_trap.png"/>
        </rule>

        <rule>
                <condition k="traffic_sign" v="city_limit"/>
                <icon annotate="true" src="vehicle/restriction/citylimit.png"/>
        </rule>

        <rule>
                <condition k="highway" v="crossing"/>
                <icon annotate="true" src="vehicle/zebra_crossing.png"/>
        </rule>

        <rule>
                <condition k="highway" v="incline"/>
                <icon annotate="true" src="vehicle/restriction/incline.png"/>
        </rule>

        <rule>
                <condition k="highway" v="incline_steep"/>
                <icon annotate="true" src="vehicle/restriction/incline.png"/>
        </rule>

        <rule>
                <condition k="highway" v="motorway_junction"/>
                <icon annotate="true" src="vehicle/exit.png"/>
        </rule>

        <rule>
                <condition k="highway" v="services"/>
                <area colour="services#c0c0c0"/>
                <icon annotate="true" src="vehicle/services.png"/>
        </rule>

        <rule>
                <condition k="highway" v="rest_area"/>
                <area colour="services#c0c0c0"/>
                <icon annotate="true" src="vehicle/parking.png"/>
        </rule>

        <rule>
                <condition k="highway" v="ford"/>
                <icon annotate="true" src="vehicle/ford.png"/>
        </rule>

        <rule>
                <condition k="ford" v="yes"/>
                <linemod mode="over" width="2" realwidth="5" colour="water#0000ff" dashed="true"/>
                <icon annotate="true" src="vehicle/ford.png"/>
        </rule>

        <rule>
                <condition k="highway" v="bus_stop"/>
                <icon annotate="true" src="transport/bus_small.png"/>
        </rule>

        <rule>
                <condition k="highway" v="platform"/>
                <icon annotate="true" src="misc/deprecated.png"/>
                <line width="2" colour="highway_platform#c0c0c0"/>
                <area colour="highway_platform#c0c0c0" closed="true"/>
        </rule>

        <rule>
                <condition k="highway" v="turning_circle"/>
                <icon annotate="true" src="vehicle/turning_circle.png"/>
        </rule>

        <rule>
                <condition k="highway" v="passing_place"/>
                <icon annotate="true" src="vehicle/passing_place.png"/>
        </rule>

        <rule>
                <condition k="highway" v="construction"/>
                <line width="2" realwidth="5" colour="construction#ffff00" dashed="true" priority="10"/>
                <icon src="misc/construction.png" priority="10"/>
        </rule>

        <rule>
                <condition k="highway" v="emergency_access_point"/>
                <icon src="service/emergency_access_point.png"/>
                <area colour="emergency_access_point#c0c0c0"/>
        </rule>

<!-- traffic_calming tag -->

        <rule>
                <condition k="traffic_calming"/>
                <icon annotate="true" src="vehicle/traffic_calming.png" priority="-5"/>
        </rule>

        <rule>
                <condition k="traffic_calming" v="chicane"/>
                <icon annotate="true" src="vehicle/chicane.png"/>
        </rule>

        <rule>
                <condition k="highway" v="choker"/>
                <icon annotate="true" src="vehicle/passing_place.png"/>
        </rule>

        <rule>
                <condition k="highway" v="cushion"/>
                <icon annotate="true" src="vehicle/passing_place.png"/>
        </rule>

<!-- junction tag -->

        <rule>
                <condition k="junction" v="roundabout"/>
                <icon annotate="true" src="vehicle/restriction/roundabout_right.png"/>
        </rule>

<!-- cycleway tags -->

        <rule>
                <condition k="cycleway" v="lane"/>
                <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="8,14"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="cycleway" v="opposite_lane"/>
                <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="8,14"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="cycleway" v="track"/>
                <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="14,14"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="cycleway" v="opposite_track"/>
                <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="14,14"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="cycleway" v="opposite"/>
                <linemod width="+0" mode="over" colour="bicycle#b100ff" dashed="4,10"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

<!-- tracktype tags -->

        <rule>
                <condition k="highway" v="track"/>
                <condition k="tracktype" v="grade1"/>
                <line width="1" realwidth="3" dashed="2" colour="highway_track#006600"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="track"/>
                <condition k="tracktype" v="grade2"/>
                <line width="1" realwidth="3" dashed="4" colour="highway_track#006600"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="track"/>
                <condition k="tracktype" v="grade3"/>
                <line width="1" realwidth="3" dashed="6" colour="highway_track#006600"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="track"/>
                <condition k="tracktype" v="grade4"/>
                <line width="1" realwidth="3" dashed="8" colour="highway_track#006600"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="highway" v="track"/>
                <condition k="tracktype" v="grade5"/>
                <line width="1" realwidth="3" dashed="10" colour="highway_track#006600"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

<!--waterway tags -->

        <rule>
                <condition k="waterway" v="river"/>
                <line width="2" realwidth="5" colour="water#0000ff"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="riverbank"/>
                <line width="1" colour="riverbank#0000cf" priority="10000"/>
                <area colour="riverbank#0000cf" priority="10000"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="canal"/>
                <line width="2" realwidth="2" colour="water#0000ff"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="wadi"/>
                <line width="2" realwidth="2" colour="water#0000ff" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="stream"/>
                <line width="1" realwidth="1" colour="stream#6600cc"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="ditch"/>
                <line width="1" realwidth="1" colour="water#0000ff"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        <rule>
                <condition k="waterway" v="drain"/>
                <line width="1" realwidth="1" colour="water#0000ff"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="dock"/>
                <area colour="dock#0000cf"/>
                <icon annotate="true" src="nautical/boatyard.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="lock_gate"/>
                <icon annotate="true" src="nautical/lock_gate.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="turning_point"/>
                <icon annotate="true" src="nautical/turning.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="boatyard"/>
                <icon annotate="true" src="nautical/boatyard.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="waterway" v="water_point"/>
                <icon annotate="true" src="accommodation/camping/water.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="waste_disposal"/>
                <icon annotate="true" src="accommodation/camping/wastewater.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="mooring"/>
                <icon annotate="true" src="nautical/marina.png"/>
        </rule>

        <rule>
                <condition k="waterway" v="weir"/>
                <icon annotate="true" src="nautical/weir.png"/>
                <line width="2" colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="waterway" v="rapids"/>
                <icon annotate="true" src="misc/no_icon.png"/>
                <line width="2" colour="rapids#8080ff"/>
        </rule>

        <rule>
                <condition k="waterway" v="dam"/>
                <icon annotate="true" src="nautical/dam.png"/>
                <line width="2" colour="manmade#d8d8d8"/>
                <area colour="manmade#d8d8d8" closed="true"/>
        </rule>

        <rule>
                <condition k="waterway" v="waterfall"/>
                <icon annotate="true" src="nautical/waterfall.png"/>
                <line width="2" colour="manmade#d8d8d8"/>
                <!-- it's not possible to have both line and area, line seems more likely -->
        </rule>

<!-- railway tags -->

        <rule>
                <condition k="railway" v="station"/>
                <area colour="railwaypoint#f7efb7"/>
                <icon annotate="true" src="transport/railway_station.png"/>
        </rule>

        <rule>
                <condition k="railway" v="halt"/>
                <icon annotate="true" src="transport/railway_small.png"/>
        </rule>

        <rule>
                <condition k="railway" v="tram_station"/>
                <area colour="railwaypoint#f7efb7"/>
                <icon annotate="true" src="transport/railway_station.png"/>
        </rule>

        <rule>
                <condition k="railway" v="tram_stop"/>
                <icon annotate="true" src="transport/tram.png"/>
        </rule>

        <rule>
                <condition k="railway" v="subway_entrance"/>
                <area colour="railwaypoint#f7efb7"/>
                <icon annotate="true" src="transport/underground.png"/>
        </rule>

        <rule>
                <condition k="railway" v="crossing"/>
                <area colour="railwaypoint#f7efb7"/>
                <icon annotate="true" src="vehicle/crossing_small.png"/>
        </rule>

        <rule>
                <condition k="railway" v="level_crossing"/>
                <area colour="railwaypoint#f7efb7"/>
                <icon annotate="true" src="vehicle/crossing.png"/>
        </rule>

        <rule>
                <condition k="railway" v="rail"/>
                <line width="2" colour="rail#404040" dashed="true" dashedcolour="raildashed#ffffff"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="rail"/>
                <condition k="service" v="siding"/>
                <line width="1" colour="rail#404040" dashed="true" dashedcolour="raildashed#ffffff" priority="2"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="rail"/>
                <condition k="service" v="yard"/>
                <line width="1" colour="railyard#552200" dashed="true" dashedcolour="raildashed#ffffff" priority="2"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="rail"/>
                <condition k="service" v="spur"/>
                <line width="1" colour="railyard#552200" dashed="true" dashedcolour="raildashed#ffffff" priority="2"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="tram"/>
                <!-- prefer way types over tram - draw tram as overlay in joined cases -->
                <line width="1" colour="otherrail#808080" dashed="true" priority="-10000"/>
                <linemod mode="over" width="1" colour="railover#202020" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="light_rail"/>
                <line width="2" colour="otherrail#808080" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="subway"/>
                <line width="1" colour="subway#606060" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="preserved"/>
                <line width="1" colour="oldrail#404040" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <!-- disused often appears together with highway=xy -->
        <!-- -> normal display with line, linemod for combinations -->
        <rule>
                <condition k="railway" v="disused"/>
                <line width="1" colour="oldrail#404040" dashed="true" priority="-10000"/>
                <linemod mode="over" width="1" colour="oldrail#404040" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <!-- abandoned often appears together with highway=xy -->
        <!-- -> normal display with line, linemod for combinations -->
        <rule>
                <condition k="railway" v="abandoned"/>
                <line width="1" colour="oldrail#404040" dashed="true" priority="-10000"/>
                <linemod mode="over" width="1" colour="oldrail#404040" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="narrow_gauge"/>
                <line width="1" colour="rail#404040" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="monorail"/>
                <line width="1" colour="rail#404040" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="railway" v="turntable"/>
                <icon annotate="true" src="transport/turntable.png"/>
                <area colour="rail#404040"/>
        </rule>

        <rule>
                <condition k="railway" v="buffer_stop"/>
                <icon annotate="true" src="transport/buffer_stop.png"/>
                <area colour="rail#404040"/>
        </rule>

        <rule>
                <condition k="railway" v="platform"/>
                <icon annotate="true" src="misc/deprecated.png"/>
                <line width="2" colour="rail#404040"/>
                <area colour="rail#404040" closed="true"/>
        </rule>

        <rule>
                <condition k="railway" v="funicular"/>
                <line width="1" colour="rail#404040" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="service" v="yard"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="service" v="siding"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="service" v="spur"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

<!--aeroway tags -->

        <rule>
                <condition k="aeroway" v="aerodrome"/>
                <line width="2" colour="aeroway#660000" dashed="true"/>
                <area colour="aeroway#660000"/>
                <icon annotate="true" src="transport/airport.png"/>
        </rule>

        <rule>
                <condition k="aeroway" v="terminal"/>
                <area colour="terminal#bb0000"/>
                <icon annotate="true" src="transport/airport/terminal.png"/>
        </rule>

        <rule>
                <condition k="aeroway" v="helipad"/>
                <area colour="aeroway_dark#330000"/>
                <icon annotate="true" src="transport/airport/helipad.png"/>
        </rule>

        <rule>
                <condition k="aeroway" v="runway"/>
                <line width="3" realwidth="10" colour="aeroway_dark#330000"/>
                <icon annotate="true" src="transport/airport/runway.png"/>
        </rule>

        <rule>
                <condition k="aeroway" v="taxiway"/>
                <line width="2" realwidth="10" colour="aeroway#660000"/>
                <icon annotate="true" src="transport/airport/taxiway.png"/>
        </rule>

        <rule>
                <condition k="aeroway" v="apron"/>
                <area colour="aeroway_light#990000"/>
                <icon annotate="true" src="transport/airport/apron.png"/>
        </rule>

        <rule>
                <condition k="aeroway" v="hangar"/>
                <area colour="aeroway_light#990000"/>
                <icon annotate="true" src="transport/airport/hangar.png"/>
        </rule>

        <rule>
                <condition k="aeroway" v="gate"/>
                <icon annotate="true" src="transport/airport/gate.png"/>
        </rule>

        <rule>
                <condition k="aeroway" v="windsock"/>
                <icon annotate="true" src="transport/airport/windsock.png"/>
        </rule>

<!--aerialway tags -->

        <rule>
                <condition k="aerialway" v="cable_car"/>
                <line width="1" colour="aerialway#663300" dashed="9"/>
                <icon annotate="true" src="transport/aerialway/cable_car.png"/>
        </rule>

        <rule>
                <condition k="aerialway" v="gondola"/>
                <line width="1" colour="aerialway#663300" dashed="9"/>
                <icon annotate="true" src="transport/aerialway/gondola.png"/>
        </rule>

        <rule>
                <condition k="aerialway" v="chair_lift"/>
                <line width="1" colour="aerialway#663300" dashed="6"/>
                <icon annotate="true" src="transport/aerialway/chair_lift.png"/>
        </rule>

        <rule>
                <condition k="aerialway" v="drag_lift"/>
                <line width="1" colour="aerialway#663300" dashed="3"/>
                <icon annotate="true" src="transport/aerialway/drag_lift.png"/>
        </rule>

        <rule>
                <condition k="aerialway" v="station"/>
                <area colour="aerialway#663300"/>
                <icon annotate="true" src="transport/aerialway/station.png"/>
        </rule>

        <rule>
                <condition k="aerialway" v="pylon"/>
                <area colour="aerialway#663300"/>
                <icon annotate="true" src="misc/landmark/power/tower_small.png"/>
        </rule>

        <rule>
                <condition k="aerialway" v="goods"/>
                <line width="1" colour="aerialway#663300" dashed="2"/>
                <icon annotate="true" src="transport/aerialway/goods.png"/>
        </rule>

<!-- piste tags -->

        <rule>
                <condition k="piste:difficulty" v="easy"/>
                <!--
                    Show piste indication as linemod if there is already another line
                    style in place (e.g. from highway=track), otherwise add a proper line
                    style that looks the same.
                    If the proper line style applies, the linemod is suppressed, so it
                    renders only one style for each way.
                -->
                <line width="6" colour="piste_easy#0000ff" priority="-100000"/>
                <linemod width="6" mode="under" colour="piste_easy#0000ff"/>
                <area colour="piste_easy#0000ff" closed="true"/>
                <icon src="sport/skiing.png"/>
        </rule>

        <rule>
                <condition k="piste:difficulty" v="intermediate"/>
                <line width="6" colour="piste_intermediate#ff0000" priority="-100000"/>
                <linemod width="6" mode="under" colour="piste_intermediate#ff0000"/>
                <area colour="piste_intermediate#ff0000" closed="true"/>
                <icon src="sport/skiing.png"/>
        </rule>

        <rule>
                <condition k="piste:difficulty" v="advanced"/>
                <line width="6" colour="piste_advanced#606060" priority="-100000"/>
                <linemod width="6" mode="under" colour="piste_advanced#606060"/>
                <area colour="piste_advanced#606060" closed="true"/>
                <icon src="sport/skiing.png"/>
        </rule>

        <rule>
                <condition k="piste:difficulty" v="expert"/>
                <line width="6" colour="piste_expert#606060" priority="-100000"/>
                <linemod width="6" mode="under" colour="piste_expert#606060"/>
                <area colour="piste_expert#606060" closed="true"/>
                <icon src="sport/skiing.png"/>
        </rule>

        <rule>
                <condition k="piste:difficulty" v="freeride"/>
                <line width="6" colour="piste_freeride#ffff00" priority="-100000"/>
                <linemod width="6" mode="under" colour="piste_freeride#ffff00"/>
                <area colour="piste_freeride#ffff00" closed="true"/>
                <icon src="sport/skiing.png"/>
        </rule>

        <rule>
                <condition k="piste:difficulty" v="novice"/>
                <line width="6" colour="piste_novice#00ff00" priority="-100000"/>
                <linemod width="6" mode="under" colour="piste_novice#00ff00"/>
                <area colour="piste_novice#00ff00" closed="true"/>
                <icon src="sport/skiing.png"/>
        </rule>

<!--power tags -->

        <rule>
                <condition k="power" v="tower"/>
                <icon annotate="true" src="misc/landmark/power/tower_small.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power" v="pole"/>
                <icon annotate="true" src="misc/landmark/power/pole.png"/>
        </rule>

        <rule>
                <condition k="power" v="line"/>
                <line width="1" colour="power#eeeeee"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="power" v="minor_line"/>
                <line width="1" colour="power#eeeeee"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="power" v="plant"/>
                <icon annotate="true" src="misc/landmark/power.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power" v="sub_station"/>
                <icon annotate="true" src="misc/landmark/power.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power" v="substation"/>
                <icon annotate="true" src="misc/landmark/power.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power" v="cable_distribution_cabinet"/>
                <icon annotate="true" src="misc/landmark/power.png"/>
        </rule>

        <rule>
                <condition k="power" v="transformer"/>
                <icon annotate="true" src="misc/landmark/power/transformer.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <!-- power_source is deprecated by the wiki, but still in use -->
        <rule>
                <condition k="power_source" v="wind"/>
                <icon annotate="true" src="misc/landmark/power/wind.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power_source" v="hydro"/>
                <icon annotate="true" src="misc/landmark/power/hydro.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power_source" v="fossil"/>
                <icon annotate="true" src="misc/landmark/power/fossil.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power_source" v="coal"/>
                <icon annotate="true" src="misc/landmark/power/fossil.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power_source" v="gas"/>
                <icon annotate="true" src="misc/landmark/power/fossil.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power_source" v="photovoltaic"/>
                <icon annotate="true" src="misc/landmark/power/fossil.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power_source" v="nuclear"/>
                <icon annotate="true" src="misc/landmark/power/nuclear.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <!-- generator:source replaces power_source -->
        <rule>
                <condition k="generator:source" v="wind"/>
                <icon annotate="true" src="misc/landmark/power/wind.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="generator:source" v="hydro"/>
                <icon annotate="true" src="misc/landmark/power/hydro.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="generator:source" v="coal"/>
                <icon annotate="true" src="misc/landmark/power/fossil.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="generator:source" v="gas"/>
                <icon annotate="true" src="misc/landmark/power/fossil.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="generator:source" v="nuclear"/>
                <icon annotate="true" src="misc/landmark/power/nuclear.png"/>
                <area colour="power#eeeeee"/>
        </rule>

        <rule>
                <condition k="power" v="generator"/>
                <icon annotate="true" src="misc/landmark/power.png" priority="-10000"/>
                <area colour="power#eeeeee"/>
        </rule>

<!--man_made tags -->

        <rule>
                <condition k="man_made" v="beacon"/>
                <icon annotate="true" src="misc/landmark/beacon.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="chimney"/>
                <icon annotate="true" src="misc/landmark/chimney.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="crane"/>
                <area colour="manmade#d8d8d8"/>
                <icon annotate="true" src="misc/landmark/crane.png"/>
        </rule>

        <rule>
                <condition k="man_made" v="flagpole"/>
                <area colour="manmade#d8d8d8"/>
                <icon annotate="true" src="misc/flag.png"/>
        </rule>

        <rule>
                <condition k="man_made" v="gasometer"/>
                <icon annotate="true" src="misc/landmark/gasometer.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="groyne"/>
                <icon annotate="true" src="nautical/groyne.png"/>
                <area colour="manmade#d8d8d8" closed="true"/>
        </rule>

        <rule>
                <condition k="man_made" v="lighthouse"/>
                <icon annotate="true" src="misc/landmark/lighthouse.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="monitoring_station"/>
                <icon annotate="true" src="misc/landmark/measurement_station.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="mineshaft"/>
                <icon annotate="true" src="misc/landmark/mine.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="adit"/>
                <icon annotate="true" src="misc/landmark/adit.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="pier"/>
                <area colour="pier#660000" closed="true"/>
                <line width="2" colour="pier#660000"/>
                <icon annotate="true" src="nautical/pier.png"/>
        </rule>

        <rule>
                <condition k="man_made" v="pipeline"/>
                <line width="2" colour="pipeline#660000"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="man_made" v="petroleum_well"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="man_made" v="reservoir_covered"/>
                <icon annotate="true" src="misc/landmark/reservoir_covered.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="surveillance"/>
                <icon annotate="true" src="misc/surveillance.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="survey_point"/>
                <icon annotate="true" src="misc/landmark/survey_point.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="tower"/>
                <icon annotate="true" src="misc/landmark/tower.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="wastewater_plant"/>
                <area colour="manmade#d8d8d8"/>
                <icon annotate="true" src="misc/landmark/wastewater_plant.png"/>
        </rule>

        <rule>
                <condition k="man_made" v="watermill"/>
                <icon annotate="true" src="misc/landmark/watermill.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="water_tower"/>
                <icon annotate="true" src="misc/landmark/water_tower.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="water_well"/>
                <icon annotate="true" src="misc/landmark/water_well.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="windmill"/>
                <icon annotate="true" src="misc/landmark/windmill.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="works"/>
                <icon annotate="true" src="misc/landmark/works.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

        <rule>
                <condition k="man_made" v="water_works"/>
                <icon annotate="true" src="misc/landmark/water_works.png"/>
                <area colour="manmade#d8d8d8"/>
        </rule>

<!--leisure tags -->

        <rule>
                <condition k="leisure" v="sports_centre"/>
                <icon annotate="true" src="sport/centre.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="golf_course"/>
                <icon annotate="true" src="sport/golf.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="stadium"/>
                <icon annotate="true" src="sport/stadium.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="track"/>
                <icon annotate="true" src="sport/track.png"/>
                <area colour="leisure#c7f1a3" closed="true"/>
                <line width="2" colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="pitch"/>
                <icon annotate="true" src="sport/pitch.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="water_park"/>
                <icon annotate="true" src="leisure/water_park.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="marina"/>
                <icon annotate="true" src="nautical/marina.png"/>
                <area colour="marina#0070cf"/>
        </rule>

        <rule>
                <condition k="leisure" v="slipway"/>
                <icon annotate="true" src="nautical/slipway.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="fishing"/>
                <icon annotate="true" src="sport/fishing.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="nature_reserve"/>
                <icon annotate="true" src="leisure/nature_reserve.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="park"/>
                <icon annotate="true" src="leisure/park.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="playground"/>
                <icon annotate="true" src="leisure/playground.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="garden"/>
                <icon annotate="true" src="leisure/garden.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="common"/>
                <icon annotate="true" src="leisure/common.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="swimming_pool"/>
                <icon annotate="true" src="sport/pool.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="miniature_golf"/>
                <icon annotate="true" src="sport/golf.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="dog_park"/>
                <icon annotate="true" src="leisure/dog.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="ice_rink"/>
                <icon annotate="true" src="sport/hockey.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

        <rule>
                <condition k="leisure" v="sauna"/>
                <icon annotate="true" src="leisure/sauna.png"/>
                <area colour="leisure#c7f1a3"/>
        </rule>

<!--amenity tags -->

        <rule>
                <condition k="amenity" v="pub"/>
                <icon annotate="true" src="food/pub.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="biergarten"/>
                <icon annotate="true" src="food/biergarten.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="nightclub"/>
                <icon annotate="true" src="leisure/nightclub.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="stripclub"/>
                <icon annotate="true" src="leisure/stripclub.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="brothel"/>
                <icon annotate="true" src="leisure/stripclub.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="cafe"/>
                <icon annotate="true" src="food/cafe.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="restaurant"/>
                <icon annotate="true" src="food/restaurant.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="food_court"/>
                <icon annotate="true" src="food/restaurant.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="fast_food"/>
                <icon annotate="true" src="food/fastfood.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="bar"/>
                <icon annotate="true" src="food/bar.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="ice_cream"/>
                <icon annotate="true" src="food/icecream.png"/>
                <area colour="amenity#ecba52"/>
        </rule>

        <rule>
                <condition k="amenity" v="motorcycle_parking"/>
                <icon annotate="true" src="vehicle/parking/motorbike.png" priority="20000"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="bicycle_parking"/>
                <icon annotate="true" src="vehicle/parking/bicycle.png" priority="20000"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="parking" v="park_and_ride"/>
                <icon annotate="true" src="vehicle/parking/park_ride.png" priority="20000"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="parking" v="multi-storey"/>
                <icon annotate="true" src="vehicle/parking/multi-storey.png" priority="10000"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="parking" v="underground"/>
                <icon annotate="true" src="vehicle/parking/underground.png" priority="10000"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="parking" v="surface"/>
                <icon annotate="true" src="vehicle/parking.png"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="parking"/>
                <icon annotate="true" src="vehicle/parking.png"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="parking_space"/>
                <icon annotate="true" src="vehicle/parking.png" priority="-500" />
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="parking_space"/>
                <condition k="wheelchair" b="yes"/>
                <icon annotate="true" src="vehicle/parking/handicapped.png"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>
        
        <rule>
                <condition k="amenity" v="bicycle_rental"/>
                <icon annotate="true" src="vehicle/rental/bicycle.png"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="car_rental"/>
                <icon annotate="true" src="vehicle/rental/car.png"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="car_sharing"/>
                <icon annotate="true" src="vehicle/car_sharing.png"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="car_wash"/>
                <area colour="amenity_traffic#f7efb7"/>
                <icon annotate="true" src="vehicle/car_wash.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="taxi"/>
                <icon annotate="true" src="transport/taxi.png"/>
                <area colour="amenity_traffic#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="fuel"/>
                <icon annotate="true" src="vehicle/fuel.png" priority="10000"/>
                <area colour="amenity_traffic#f7efb7" priority="10000"/>
        </rule>

        <rule>
                <condition k="amenity" v="charging_station"/>
                <icon annotate="true" src="accommodation/camping/hookup.png" priority="1000"/>
        </rule>

        <rule>
                <condition k="amenity" v="grit_bin"/>
                <icon annotate="true" src="misc/grit_bin.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="telephone"/>
                <icon annotate="true" src="service/telephone.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="clock"/>
                <icon annotate="true" src="service/clock.png"/>
        </rule>

        <!-- Rule to delete by end of 2013 if this deprecated tag has finally been replaced by emergency=phone below-->
        <rule>
                <condition k="amenity" v="emergency_phone"/>
                <icon annotate="true" src="vehicle/emergency_phone.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="emergency" v="phone"/>
                <icon annotate="true" src="vehicle/emergency_phone.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="emergency" v="aed"/>
                <icon annotate="true" src="presets/aed.svg"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="emergency" v="defibrillator"/>
                <icon annotate="true" src="presets/aed.svg"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="toilets"/>
                <icon annotate="true" src="service/toilets.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="recycling"/>
                <icon annotate="true" src="service/recycling.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="waste_basket"/>
                <icon annotate="true" src="service/recycling/trash-bin.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="waste_disposal"/>
                <icon annotate="true" src="service/recycling/waste_disposal.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="public_building"/>
                <icon annotate="true" src="service.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="embassy"/>
                <icon annotate="true" src="service/administration/embassy.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="townhall"/>
                <icon annotate="true" src="service.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="community_centre"/>
                <icon annotate="true" src="service/community_centre.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="drinking_water"/>
                <icon annotate="true" src="food/drinking_water.png"/>
                <area colour="light_water#00005f"/>
        </rule>

        <rule>
                <condition k="amenity" v="fountain"/>
                <icon annotate="true" src="misc/landmark/spring.png"/>
                <area colour="light_water#00005f"/>
        </rule>

        <rule>
                <condition k="religion" v="bahai"/>
                <icon annotate="true" src="religion/bahai.png"/>
        </rule>

        <rule>
                <condition k="religion" v="buddhist"/>
                <icon annotate="true" src="religion/buddhism.png"/>
        </rule>

        <rule>
                <condition k="religion" v="christian"/>
                <icon annotate="true" src="religion/church.png"/>
        </rule>

        <rule>
                <condition k="religion" v="hindu"/>
                <icon annotate="true" src="religion/hinduism.png"/>
        </rule>

        <rule>
                <condition k="religion" v="jain"/>
                <icon annotate="true" src="religion/jainism.png"/>
        </rule>

        <rule>
                <condition k="religion" v="jewish"/>
                <icon annotate="true" src="religion/jewish.png"/>
        </rule>

        <rule>
                <condition k="religion" v="muslim"/>
                <icon annotate="true" src="religion/muslim.png"/>
        </rule>

        <rule>
                <condition k="religion" v="sikh"/>
                <icon annotate="true" src="religion/sikhism.png"/>
        </rule>

        <rule>
                <condition k="religion" v="shinto"/>
                <icon annotate="true" src="religion/shinto.png"/>
        </rule>

        <rule>
                <condition k="religion" v="spiritualist"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="religion" v="taoist"/>
                <icon annotate="true" src="religion/taoism.png"/>
        </rule>

        <rule>
                <condition k="religion" v="unitarian"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="religion" v="zoroastrian"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="place_of_worship"/>
                <icon annotate="true" src="religion.png" priority="-10000"/>
                <area colour="amenity_light#f7efb7" priority="-10000"/>
        </rule>

        <rule>
                <condition k="amenity" v="grave_yard"/>
                <icon annotate="true" src="rendering/landuse/cemetery.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="crematorium"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="post_office"/>
                <icon annotate="true" src="service/post_office.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="post_box"/>
                <icon annotate="true" src="service/post_box.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="studio"/>
                <icon annotate="true" src="service/studio.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="school"/>
                <icon annotate="true" src="education/school.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="university"/>
                <icon annotate="true" src="education/university.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="college"/>
                <icon annotate="true" src="education/college.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="kindergarten"/>
                <icon annotate="true" src="education/kindergarten.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="driving_school"/>
                <icon annotate="true" src="education/driving_school.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="pharmacy"/>
                <area colour="health#eeeeee"/>
                <icon annotate="true" src="health/pharmacy.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="hospital"/>
                <area colour="health#eeeeee"/>
                <icon annotate="true" src="health/hospital.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="clinic"/>
                <area colour="health#eeeeee"/>
                <icon annotate="true" src="health/hospital.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="nursery"/>
                <area colour="health#eeeeee"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="baby_hatch"/>
                <icon annotate="true" src="health/baby_hatch.png"/>
                <area colour="health#eeeeee"/>
        </rule>

        <rule>
                <condition k="amenity" v="doctors"/>
                <area colour="health#eeeeee"/>
                <icon annotate="true" src="health/doctor.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="dentist"/>
                <area colour="health#eeeeee"/>
                <icon annotate="true" src="health/dentist.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="veterinary"/>
                <area colour="health#eeeeee"/>
                <icon annotate="true" src="health/veterinary.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="library"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="shop/rental/library.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="police"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="service/police.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="fire_station"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="service/firebrigade.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="bus_station"/>
                <icon annotate="true" src="transport/bus.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="ferry_terminal"/>
                <icon annotate="true" src="nautical/ferry.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="amenity" v="theatre"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="leisure/theater.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="cinema"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="leisure/cinema.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="arts_centre"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="service/arts_centre.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="courthouse"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="service/administration/court_of_law.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="prison"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="service/administration/prison.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="bank"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="money/bank.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="bureau_de_change"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="money/exchange.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="atm"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="money/atm.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="bench"/>
                <line colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="leisure/bench.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="bbq"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="leisure/bbq.png"/>
        </rule>

        <rule>
                <condition k="emergency" v="fire_hydrant"/>
                <icon annotate="true" src="service/fire_hydrant.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="shelter"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="accommodation/shelter.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="hunting_stand"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="hunting_stand.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="marketplace"/>
                <area colour="amenity_light#f7efb7"/>
                <icon annotate="true" src="place/marketplace.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="wlan"/>
                <icon annotate="true" src="wlan.png"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

        <rule>
                <condition k="vending" v="excrement_bags"/>
                <icon annotate="true" src="service/excrement_bags.png"/>
        </rule>

        <rule>
                <condition k="amenity" v="vending_machine"/>
                <icon src="transport/ticket-machine.png" priority="-10"/>
                <area colour="amenity_light#f7efb7"/>
        </rule>

<!--office tags -->

        <rule>
                <condition k="office" v="company"/>
                <icon annotate="true" src="icons/office_blue.png"/>
                <area colour="office#de5696"/>
        </rule>

        <rule>
                <condition k="office" v="government"/>
                <icon annotate="true" src="icons/office_pink.png"/>
                <area colour="office#de5696"/>
        </rule>

<!--shop tags -->

        <rule>
                <condition k="shop" v="supermarket"/>
                <icon annotate="true" src="shop/supermarket.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="convenience"/>
                <icon annotate="true" src="shop/convenience.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="bakery"/>
                <icon annotate="true" src="shop/groceries/bakery.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="butcher"/>
                <icon annotate="true" src="shop/groceries/butcher.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="bicycle"/>
                <icon annotate="true" src="sport/bicycle.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="doityourself"/>
                <icon annotate="true" src="shop/diy_store.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="dry_cleaning"/>
                <icon annotate="true" src="shop/laundry.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="laundry"/>
                <icon annotate="true" src="shop/laundry.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="outdoor"/>
                <icon annotate="true" src="shop/sports/outdoor.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="kiosk"/>
                <icon annotate="true" src="shop/kiosk.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="alcohol"/>
                <icon annotate="true" src="shop/beverages.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="beverages"/>
                <icon annotate="true" src="shop/beverages.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="books"/>
                <icon annotate="true" src="shop/rental/library.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="boutique"/>
                <icon annotate="true" src="shop/boutique.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="car"/>
                <icon annotate="true" src="transport/car.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="car_dealer"/>
                <icon annotate="true" src="transport/car.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="car_repair"/>
                <icon annotate="true" src="vehicle/repair_shop.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="tyres"/>
                <icon annotate="true" src="vehicle/tyres.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="chemist"/>
                <icon annotate="true" src="shop/chemist.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="clothes"/>
                <icon annotate="true" src="shop/clothes.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="computer"/>
                <icon annotate="true" src="shop/computer.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="confectionery"/>
                <icon annotate="true" src="shop/groceries/confectionery.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="copyshop"/>
                <icon annotate="true" src="shop/copyshop.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="curtain"/>
                <icon annotate="true" src="shop/curtain.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="cycle_repair"/>
                <icon annotate="true" src="sport/bicycle.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="department_store"/>
                <icon annotate="true" src="shop/mall.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="deli"/>
                <icon annotate="true" src="shop/groceries/deli.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="electronics"/>
                <icon annotate="true" src="shop/electronics.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="erotic"/>
                <icon annotate="true" src="shop/erotic.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="furniture"/>
                <icon annotate="true" src="shop/furniture.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="fabric"/>
                <icon annotate="true" src="shop/fabric.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="florist"/>
                <icon annotate="true" src="shop/florist.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="frame"/>
                <icon annotate="true" src="shop/frame.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="gift"/>
                <icon annotate="true" src="presets/present.svg"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="greengrocer"/>
                <icon annotate="true" src="shop/groceries/greengrocer.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="garden_centre"/>
                <icon annotate="true" src="shop/garden_centre.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="hairdresser"/>
                <icon annotate="true" src="shop/hairdresser.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="hardware"/>
                <icon annotate="true" src="shop/hardware.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="hearing_aids"/>
                <icon annotate="true" src="shop/hearing_aids.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="hifi"/>
                <icon annotate="true" src="shop/hifi.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="jewelry"/>
                <icon annotate="true" src="shop/jewelry.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="kitchen"/>
                <icon annotate="true" src="shop/kitchen.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="mall"/>
                <icon annotate="true" src="shop/mall.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="mobile_phone"/>
                <icon annotate="true" src="shop/mobile_phone.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="motorcycle"/>
                <icon annotate="true" src="vehicle/motorbike.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="musical_instrument"/>
                <icon annotate="true" src="shop/musical_instrument.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="newsagent"/>
                <icon annotate="true" src="shop/kiosk.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="optician"/>
                <icon annotate="true" src="shop/optician.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="paint"/>
                <icon annotate="true" src="shop/paint.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="pawnbroker"/>
                <icon annotate="true" src="presets/pawnbroker.svg"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="seafood"/>
                <icon annotate="true" src="shop/groceries/seafood.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="shoes"/>
                <icon annotate="true" src="shop/shoes.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="sports"/>
                <icon annotate="true" src="sport/multi.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="stationery"/>
                <icon annotate="true" src="shop/stationery.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="tailor"/>
                <icon annotate="true" src="shop/tailor.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="travel_agency"/>
                <icon annotate="true" src="place/island.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="toys"/>
                <icon annotate="true" src="shop/toys.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="vacuum_cleaner"/>
                <icon annotate="true" src="shop/vacuum_cleaner.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="variety_store"/>
                <icon annotate="true" src="shop/variety_store.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="video"/>
                <icon annotate="true" src="shop/video.png"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="bookmaker"/>
                <icon annotate="true" src="presets/lottery.svg"/>
                <area colour="shop#00005f"/>
        </rule>

        <rule>
                <condition k="shop" v="lottery"/>
                <icon annotate="true" src="presets/lottery.svg"/>
                <area colour="shop#00005f"/>
        </rule>

        <!-- duplicate of shopping_centre? -->
        <rule>
                <condition k="shop" v="shopping_centre"/>
                <icon annotate="true" src="shop/mall.png"/>
                <area colour="shop#00005f"/>
        </rule>

<!--craft tags -->

        <rule>
                <condition k="craft" v="painter"/>
                <icon annotate="true" src="craft/painter.png"/>
                <area colour="craft#999900"/>
        </rule>

        <rule>
                <condition k="craft" v="plumber"/>
                <icon annotate="true" src="craft/plumber.png"/>
                <area colour="craft#999900"/>
        </rule>

        <rule>
                <condition k="craft" v="pottery"/>
                <icon annotate="true" src="craft/pottery.png"/>
                <area colour="craft#999900"/>
        </rule>

        <rule>
                <condition k="craft" v="stonemason"/>
                <icon annotate="true" src="craft/stonemason.png"/>
                <area colour="craft#999900"/>
        </rule>

        <rule>
                <condition k="craft" v="tiler"/>
                <icon annotate="true" src="craft/tiler.png"/>
                <area colour="craft#999900"/>
        </rule>

        <rule>
                <condition k="craft" v="window_construction"/>
                <icon annotate="true" src="craft/window_construction.png"/>
                <area colour="craft#999900"/>
        </rule>

<!--tourism tags -->

        <rule>
                <condition k="tourism" v="hotel"/>
                <icon annotate="true" src="accommodation.png"/>
                <area colour="hotel#e1a0a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="motel"/>
                <icon annotate="true" src="accommodation/motel.png"/>
                <area colour="hotel#e1a0a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="guest_house"/>
                <icon annotate="true" src="accommodation/guest_house.png"/>
                <area colour="hotel#e1a0a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="hostel"/>
                <icon annotate="true" src="accommodation/hostel.png"/>
                <area colour="hotel#e1a0a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="chalet"/>
                <icon annotate="true" src="accommodation/chalet.png"/>
                <area colour="hotel#e1a0a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="alpine_hut"/>
                <icon annotate="true" src="accommodation/alpine_hut.png"/>
                <area colour="hotel#e1a0a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="camp_site"/>
                <icon annotate="true" src="accommodation/camping.png"/>
                <area colour="hotel#e1a0a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="caravan_site"/>
                <icon annotate="true" src="accommodation/camping/caravan.png"/>
                <area colour="hotel#e1a0a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="picnic_site"/>
                <icon annotate="true" src="leisure/picnic.png"/>
                <area colour="tourism#e180a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="viewpoint"/>
                <icon annotate="true" src="sightseeing/viewpoint.png"/>
                <area colour="tourism#e180a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="theme_park"/>
                <icon annotate="true" src="leisure/theme_park.png"/>
                <area colour="tourism#e180a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="attraction"/>
                <icon annotate="true" src="sightseeing.png" priority="-5"/>
                <area colour="tourism#e180a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="zoo"/>
                <icon annotate="true" src="leisure/zoo.png"/>
                <area colour="tourism#e180a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="artwork"/>
                <icon annotate="true" src="service/arts_centre.png"/>
                <line width="2" colour="tourism#e180a2"/>
                <area colour="tourism#e180a2"/>
        </rule>

        <rule>
                <condition k="tourism" v="museum"/>
                <icon annotate="true" src="sightseeing/museum.png"/>
                <area colour="tourism#e180a2"/>
        </rule>

<!-- information tags -->
        <rule>
                <condition k="information" v="guidepost"/>
                <icon annotate="true" src="misc/information/guidepost.png" priority="10"/>
        </rule>

        <rule>
                <condition k="information" v="office"/>
                <icon annotate="true" src="misc/information/informationoffice.png" priority="10"/>
                <area colour="tourism#e180a2"/>
        </rule>

        <rule>
                <condition k="information" v="map"/>
                <icon annotate="true" src="misc/information/map.png" priority="10"/>
        </rule>

        <rule>
                <condition k="information" v="board"/>
                <icon annotate="true" src="misc/information/board.png" priority="10"/>
        </rule>

        <rule>
                <condition k="tourism" v="information"/>
                <icon annotate="true" src="misc/information.png"/>
                <area colour="tourism#e180a2"/>
        </rule>

<!--historic tags -->

        <rule>
                <condition k="historic" v="castle"/>
                <icon annotate="true" src="sightseeing/castle.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="historic" v="monument"/>
                <icon annotate="true" src="sightseeing/monument.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="historic" v="memorial"/>
                <icon annotate="true" src="sightseeing/memorial.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="historic" v="archaeological_site"/>
                <icon annotate="true" src="sightseeing/archaeological.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="historic" v="ruins"/>
                <icon annotate="true" src="sightseeing/ruins.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="historic" v="battlefield"/>
                <icon annotate="true" src="sightseeing/battlefield.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="geological" v="palaeontological_site"/>
                <icon annotate="true" src="historic/palaeontological_site.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="historic" v="wayside_cross"/>
                <icon annotate="true" src="religion/wayside_cross.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="historic" v="wayside_shrine"/>
                <icon annotate="true" src="religion/wayside_shrine.png"/>
                <area colour="historic#663300"/>
        </rule>

        <rule>
                <condition k="historic" v="boundary_stone"/>
                <icon annotate="true" src="historic/boundary_stone.png"/>
                <area colour="historic#663300"/>
        </rule>

<!--landuse tags -->

        <rule>
                <condition k="landuse" v="farm"/>
                <area colour="green#b1e0c2"/>
                <icon annotate="true" src="misc/landmark/farm.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="farmland"/>
                <area colour="green#b1e0c2"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="meadow"/>
                <area colour="green#b1e0c2"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="vineyard"/>
                <area colour="green#b1e0c2"/>
                <icon annotate="true" src="shop/groceries/fruits.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="orchard"/>
                <area colour="green#b1e0c2"/>
        </rule>

        <rule>
                <condition k="landuse" v="quarry"/>
                <area colour="quarry#888888"/>
                <icon src="misc/landmark/mine.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="landfill"/>
                <area colour="landfill#663300"/>
                <icon src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="basin"/>
                <area colour="basin#0000bf"/>
                <icon src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="reservoir"/>
                <area colour="basin#0000bf"/>
                <icon src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="forest"/>
                <area colour="forest#b1efc8"/>
                <icon src="misc/landmark/trees.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="allotments"/>
                <area colour="green#b1e0c2"/>
                <icon src="misc/landmark/plant.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="greenhouse_horticulture"/>
                <area colour="green#b1e0c2"/>
                <icon src="misc/landuse/greenhouse_horticulture.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="plant_nursery"/>
                <area colour="green#b1e0c2"/>
                <icon src="misc/landmark/plant.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="grass"/>
                <area colour="green#b1e0c2"/>
                <icon src="misc/landmark/plant.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="residential"/>
                <area colour="residential#f0f0f0"/>
                <icon src="misc/landuse/residential.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="garages"/>
                <area colour="garages#f0f0f0"/>
                <icon src="misc/landuse/garages.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="farmyard"/>
                <area colour="farmyard#f0f0f0"/>
                <icon src="misc/no_icon.png"/>
        </rule>


        <rule>
                <condition k="landuse" v="retail"/>
                <area colour="retail#ffc4ee"/>
                <icon src="shop/mall.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="commercial"/>
                <area colour="retail#ffc4ee"/>
                <icon src="misc/landuse/commercial.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="industrial"/>
                <area colour="industrial#ecd8ff"/>
                <icon src="misc/landmark/works.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="brownfield"/>
                <area colour="brownfield#ecba32"/>
                <icon src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="greenfield"/>
                <area colour="greenfield#b1ec5c"/>
                <icon src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="railway"/>
                <area colour="railland#888888"/>
                <icon src="transport/railway_station.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="construction"/>
                <area colour="construction#ffff00"/>
                <line width="1" colour="construction#ffff00" dashed="true"/>
                <icon src="misc/construction.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="military"/>
                <area colour="military#b62c2c"/>
                <icon src="vehicle/tank.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="cemetery"/>
                <area colour="cemetery#b1efc8"/>
                <icon src="rendering/landuse/cemetery.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="village_green"/>
                <area colour="green#b1e0c2"/>
                <icon src="leisure/common.png"/>
        </rule>

        <rule>
                <condition k="landuse" v="recreation_ground"/>
                <area colour="green#b1e0c2"/>
                <icon src="leisure/common.png"/>
        </rule>

<!--military tags -->

        <rule>
                <condition k="military" v="airfield"/>
                <icon src="transport/airport/airfield.png"/>
                <area colour="military#b62c2c"/>
        </rule>

        <rule>
                <condition k="military" v="bunker"/>
                <icon src="misc/landmark/bunker.png"/>
                <area colour="military#b62c2c"/>
        </rule>

        <rule>
                <condition k="military" v="barracks"/>
                <icon src="misc/no_icon.png"/>
                <area colour="military#b62c2c"/>
        </rule>

        <rule>
                <condition k="military" v="danger_area"/>
                <icon src="misc/danger.png"/>
                <area colour="military#b62c2c"/>
        </rule>

        <rule>
                <condition k="military" v="range"/>
                <icon src="misc/landmark/range.png"/>
                <area colour="military#b62c2c"/>
        </rule>

<!--natural tags -->

        <rule>
                <condition k="natural" v="spring"/>
                <icon annotate="true" src="misc/landmark/spring.png"/>
                <area colour="light_water#00005f"/>
        </rule>

        <rule>
                <condition k="natural" v="saddle"/>
                <icon annotate="true" src="presets/saddle.svg"/>
        </rule>

        <rule>
                <condition k="natural" v="peak"/>
                <area colour="peak#663300"/>
                <icon annotate="true" src="presets/peak.svg"/>
        </rule>

        <rule>
                <condition k="natural" v="glacier"/>
                <icon annotate="true" src="misc/landmark/glacier_small.png"/>
                <area colour="glacier#ffffff"/>
        </rule>

        <rule>
                <condition k="natural" v="volcano"/>
                <icon annotate="true" src="misc/landmark/volcano_small.png"/>
                <area colour="volcano#5f0000"/>
        </rule>

        <rule>
                <condition k="natural" v="cliff"/>
                <icon src="misc/cliff.png"/>
                <line width="2" colour="natural#002f00"/>
                <area colour="natural#002f00" closed="true"/>
        </rule>

        <rule>
                <condition k="natural" v="scree"/>
                <icon src="misc/no_icon.png"/>
                <area colour="natural#002f00"/>
        </rule>

        <rule>
                <condition k="natural" v="scrub"/>
                <icon src="misc/no_icon.png"/>
                <area colour="scrub#007000"/>
        </rule>

        <rule>
                <condition k="natural" v="fell"/>
                <icon src="misc/no_icon.png"/>
                <area colour="natural#002f00"/>
        </rule>

        <rule>
                <condition k="natural" v="heath"/>
                <icon src="misc/no_icon.png"/>
                <area colour="heath#ffffc0"/>
        </rule>

        <rule>
                <condition k="natural" v="tree_row"/>
                <icon src="misc/no_icon.png"/>
                <line width="2" colour="woodarea#008000"/>
        </rule>
        
        <rule>
                <condition k="natural" v="wood"/>
                <icon src="misc/landmark/trees.png"/>
                <area colour="woodarea#008000"/>
        </rule>

        <rule>
                <condition k="natural" v="grassland"/>
                <icon src="misc/no_icon.png"/>
                <area colour="green#b1e0c2"/>
        </rule>

        <rule>
                <condition k="natural" v="wetland"/>
                <icon src="misc/no_icon.png"/>
                <area colour="marsh#4f4ff3"/>
        </rule>

        <rule>
                <condition k="natural" v="water"/>
                <icon src="nautical/water.png"/>
                <area colour="water#0000ff"/>
        </rule>

        <rule>
                <condition k="natural" v="coastline"/>
                <icon src="misc/coastline.png"/>
                <line width="1" colour="water#0000ff"/>
        </rule>

        <rule>
                <condition k="natural" v="mud"/>
                <icon src="misc/mud.png"/>
                <area colour="mud#cba762"/>
        </rule>

        <rule>
                <condition k="natural" v="beach"/>
                <icon src="misc/beach.png"/>
                <area colour="beach#f8dba2"/>
        </rule>

        <rule>
                <condition k="natural" v="sand"/>
                <icon src="misc/no_icon.png"/>
                <area colour="sand#f8dba2"/>
        </rule>

        <rule>
                <condition k="natural" v="bay"/>
                <icon src="misc/bay.png"/>
                <area colour="natural#002f00"/>
        </rule>

        <rule>
                <condition k="natural" v="land"/>
                <icon src="misc/no_icon.png"/>
                <area colour="natural#002f00"/>
        </rule>

        <rule>
                <condition k="natural" v="cave_entrance"/>
                <icon annotate="true" src="misc/landmark/cave_entrance.png"/>
                <area colour="natural#002f00"/>
        </rule>

        <rule>
                <condition k="natural" v="tree"/>
                <icon src="misc/landmark/trees.png"/>
        </rule>

        <rule>
                <condition k="natural" v="tree"/>
                <condition k="type" v="conifer"/>
                <icon src="misc/landmark/trees_conifer.png" priority="10"/>
        </rule>

        <rule>
                <condition k="natural" v="tree"/>
                <condition k="leaf_type" v="needleleaved"/>
                <icon src="misc/landmark/trees_conifer.png" priority="10"/>
        </rule>

        <rule>
                <condition k="natural" v="tree"/>
                <condition k="type" v="broad_leaved"/>
                <icon src="misc/landmark/trees_broad_leaved.png" priority="10"/>
        </rule>

        <rule>
                <condition k="natural" v="tree"/>
                <condition k="leaf_type" v="broadleaved"/>
                <icon src="misc/landmark/trees_broad_leaved.png" priority="10"/>
        </rule>

        <rule>
                <condition k="natural" v="tree"/>
                <condition k="type" v="palm"/>
                <icon src="misc/landmark/trees_palm.png" priority="10"/>
        </rule>

<!--route tags -->

        <rule>
                <condition k="route" v="bus"/>
                <line width="1" colour="route#809bc0" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="route" v="ferry"/>
                <line width="1" colour="route#809bc0" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="route" v="flight"/>
                <line width="1" colour="route#809bc0" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="route" v="ncn"/>
                <line width="1" colour="route#809bc0" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="route" v="subsea"/>
                <line width="1" colour="route#809bc0" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="route" v="ski"/>
                <line width="1" colour="route#809bc0" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="route" v="tour"/>
                <line width="1" colour="route#809bc0" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="route" v="pub_crawl"/>
                <line width="1" colour="route#809bc0" dashed="true"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

<!--boundary tags -->

        <rule>
                <condition k="boundary" v="national"/>
                <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="admin_level" v="1"/>
                <line width="5" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="2"/>
                <line width="5" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="3"/>
                <line width="4" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="4"/>
                <line width="4" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="5"/>
                <line width="3" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="6"/>
                <line width="3" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="7"/>
                <line width="2" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="8"/>
                <line width="2" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="9"/>
                <line width="1" colour="boundary#FF6600" dashed="true"/>
        </rule>
        <rule>
                <condition k="admin_level" v="10"/>
                <line width="1" colour="boundary#FF6600" dashed="true"/>
        </rule>

        <rule>
                <condition k="boundary" v="administrative"/>
                <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="boundary" v="postal_code"/>
                <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="boundary" v="political"/>
                <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="boundary" v="national_park"/>
                <line width="1" colour="boundary#FF6600" dashed="true" priority="-10"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

<!--sport tags -->

        <rule>
                <condition k="sport" v="9pin"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/10pin.png"/>
        </rule>

        <rule>
                <condition k="sport" v="10pin"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/10pin.png"/>
        </rule>

        <rule>
                <condition k="sport" v="athletics"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/athletics.png"/>
        </rule>

        <rule>
                <condition k="sport" v="soccer"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/soccer.png"/>
        </rule>

        <rule>
                <condition k="sport" v="australian_football"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/soccer.png"/>
        </rule>

        <rule>
                <condition k="sport" v="american_football"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/soccer.png"/>
        </rule>

        <rule>
                <condition k="sport" v="canadian_football"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/soccer.png"/>
        </rule>

        <rule>
                <condition k="sport" v="gaelic_football"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/soccer.png"/>
        </rule>

        <rule>
                <condition k="sport" v="rugby_league"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/football.png"/>
        </rule>

        <rule>
                <condition k="sport" v="rugby_union"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/football.png"/>
        </rule>

        <rule>
                <condition k="sport" v="baseball"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/baseball.png"/>
        </rule>

        <rule>
                <condition k="sport" v="basketball"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/basketball.png"/>
        </rule>

        <rule>
                <condition k="sport" v="boules"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/boule.png"/>
        </rule>

        <rule>
                <condition k="sport" v="bowls"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/boule.png"/>
        </rule>

        <rule>
                <condition k="sport" v="canoe"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/canoe.png"/>
        </rule>

        <rule>
                <condition k="sport" v="chess"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/chess.png"/>
        </rule>

        <rule>
                <condition k="sport" v="climbing"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/climbing.png"/>
        </rule>

        <rule>
                <condition k="sport" v="cricket"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/cricket.png"/>
        </rule>

        <rule>
                <condition k="sport" v="cricket_nets"/>
                <area colour="sport#bde3cb"/>
                <icon src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="sport" v="croquet"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/croquet.png"/>
        </rule>

        <rule>
                <condition k="sport" v="cycling"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/cycling.png"/>
        </rule>

        <rule>
                <condition k="sport" v="dog_racing"/>
                <area colour="sport#bde3cb"/>
                <icon src="leisure/dog.png"/>
        </rule>

        <rule>
                <condition k="sport" v="equestrian"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/riding.png"/>
        </rule>

        <rule>
                <condition k="sport" v="golf"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/golf.png"/>
        </rule>

        <rule>
                <condition k="sport" v="gymnastics"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/multi.png"/>
        </rule>

        <rule>
                <condition k="sport" v="hockey"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/hockey.png"/>
        </rule>

        <rule>
                <condition k="sport" v="horse_racing"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/riding.png"/>
        </rule>

        <rule>
                <condition k="sport" v="karting"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/karting.png"/>
        </rule>

        <rule>
                <condition k="sport" v="motocross"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/motocross.png"/>
        </rule>

        <rule>
                <condition k="sport" v="motor"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/motor.png"/>
        </rule>

        <rule>
                <condition k="sport" v="multi"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/multi.png"/>
        </rule>

        <rule>
                <condition k="sport" v="pelota"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/pelota.png"/>
        </rule>

        <rule>
                <condition k="sport" v="racquet"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/racquetball.png"/>
        </rule>

        <rule>
                <condition k="sport" v="skating"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/skating.png"/>
        </rule>

        <rule>
                <condition k="sport" v="skateboard"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/skateboard.png"/>
        </rule>

        <rule>
                <condition k="sport" v="swimming"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/pool.png"/>
        </rule>

        <rule>
                <condition k="sport" v="skiing"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/skiing.png"/>
        </rule>

        <rule>
                <condition k="sport" v="table_tennis"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/table_tennis.png"/>
        </rule>

        <rule>
                <condition k="sport" v="tennis"/>
                <area colour="sport#bde3cb"/>
                <icon src="sport/tennis.png"/>
        </rule>

        <rule>
                <condition k="sport" v="paintball"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="sport" v="squash"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="sport" v="shooting"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="sport" v="volleyball"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/volleyball.png"/>
        </rule>

        <rule>
                <condition k="sport" v="beachvolleyball"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/beachvolleyball.png"/>
        </rule>

        <rule>
                <condition k="sport" v="bowling"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/10pin.png"/>
        </rule>

        <rule>
                <condition k="sport" v="handball"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/handball.png"/>
        </rule>

        <rule>
                <condition k="sport" v="rowing"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/rowing.png"/>
        </rule>

        <rule>
                <condition k="sport" v="sailing"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="sport" v="diving"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/diving.png"/>
        </rule>

        <rule>
                <condition k="sport" v="badminton"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="misc/no_icon.png"/>
        </rule>

        <rule>
                <condition k="sport" v="archery"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/archery.png"/>
        </rule>

        <rule>
                <condition k="sport" v="fishing"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/fishing.png"/>
        </rule>

        <rule>
                <condition k="sport" v="safety_training"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="sport/safety_training.png"/>
        </rule>

        <rule>
                <condition k="sport" v="model_aerodrome"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="transport/airport.png"/>
        </rule>

        <rule>
                <condition k="sport" v="rc_car"/>
                <area colour="sport#bde3cb"/>
                <icon annotate="true" src="transport/car.png"/>
        </rule>

<!--abutters tags -->

<!--accessories tags -->

<!--properties tags -->

        <rule>
                <condition k="mountain_pass" b="yes"/>
                <icon src="misc/landmark/mountain_pass.png"/>
        </rule>

        <!-- this will badly display otherwise well tagged footways and alike, so comment it out until we have better ways to display this in JOSM!
        XXX - maybe it's possible to use linemod's here?
        <rule>
                <condition k="surface" v="paved"/>
                <linemod mode="under" width="0" dashedcolour="#505050"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        <rule>
                <condition k="surface" v="unpaved"/>
                <linemod mode="under" width="0" dashedcolour="#301000"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        <rule>
                <condition k="surface" v="gravel"/>
                <linemod mode="under" width="0" dashedcolour="#100070"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>

        <rule>
                <condition k="surface" v="cobblestone"/>
                <linemod mode="under" width="0" dashedcolour="#600060"/>
                <icon annotate="true" src="misc/deprecated.png"/>
        </rule>
        -->

<!--name tags -->

<!--preferences tags -->

<!--place tags -->

        <rule>
                <condition k="place" v="continent"/>
                <icon annotate="true" src="place/settlement/capital.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="country"/>
                <icon annotate="true" src="place/settlement/capital.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="state"/>
                <icon annotate="true" src="place/settlement/capital.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="region"/>
                <icon annotate="true" src="place/settlement/capital.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="county"/>
                <icon annotate="true" src="place/settlement/capital.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="city"/>
                <icon annotate="true" src="place/settlement/city.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="town"/>
                <icon annotate="true" src="place/settlement/town.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="village"/>
                <icon annotate="true" src="place/settlement/town.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="hamlet"/>
                <icon annotate="true" src="place/settlement/town.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="isolated_dwelling"/>
                <icon annotate="true" src="place/settlement/town.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="neighbourhood"/>
                <icon annotate="true" src="place/settlement/town.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="suburb"/>
                <icon annotate="true" src="place/settlement/town.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="locality"/>
                <icon annotate="true" src="place/locality.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="island"/>
                <icon annotate="true" src="place/island.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <rule>
                <condition k="place" v="islet"/>
                <icon annotate="true" src="place/islet.png"/>
                <area colour="place#8de3cb"/>
        </rule>

        <!-- special display of unreviewed tiger data (USA) -->
        <rule>
                <condition k="tiger:reviewed" v="no"/>
                <linemod mode="under" width="10" colour="tiger_data#80800090"/>
        </rule>

        <!-- lot's of "openGeoDB:..." tags can be found in germany -->
        <rule>
                <condition k="openGeoDB:type" v="Stadt"/>
                <icon annotate="true" src="place/settlement/town.png"/>
        </rule>

        <rule>
                <condition k="openGeoDB:type" v="Kreis"/>
                <icon annotate="true" src="place/settlement/town.png"/>
        </rule>

        <rule>
                <condition k="openGeoDB:type" v="Gemeinde"/>
                <icon annotate="true" src="place/settlement/town.png"/>
        </rule>

        <rule>
                <condition k="openGeoDB:type" v="Ort"/>
                <icon annotate="true" src="place/settlement/town.png"/>
        </rule>

        <rule>
                <condition k="openGeoDB:type" v="District"/>
                <icon annotate="true" src="place/settlement/town.png"/>
        </rule>

        <rule>
                <condition k="openGeoDB:location" v="locality"/>
                <icon annotate="true" src="place/settlement/town.png"/>
        </rule>

<!--annotation tags -->

<!-- building/entrance/address -->

        <rule>
                <condition k="building"/>
                <icon annotate="true" src="misc/landmark/building.png" priority="-10000"/>
                <area colour="building#cb9999" priority="-10000"/>
        </rule>

        <rule>
                <condition k="building" v="garage"/>
                <icon annotate="true" src="misc/landuse/garages.png"/>
        </rule>

        <rule>
                <condition k="building" v="garages"/>
                <icon annotate="true" src="misc/landuse/garages.png"/>
        </rule>

        <rule>
                <condition k="building" v="entrance" />
                <icon annotate="true" src="misc/entrance-yes.png" priority="100"/>
        </rule>

        <rule>
                <condition k="entrance" v="yes" />
                <icon annotate="true" src="misc/entrance-yes.png"/>
        </rule>

        <rule>
                <condition k="entrance" v="main" />
                <icon annotate="true" src="misc/entrance-main.png"/>
        </rule>

        <rule>
                <condition k="entrance" v="service" />
                <icon annotate="true" src="misc/entrance-service.png"/>
        </rule>

        <rule>
                <condition k="entrance" v="exit" />
                <icon annotate="true" src="misc/entrance-exit.png"/>
        </rule>

        <rule>
                <condition k="entrance" v="emergency" />
                <icon annotate="true" src="misc/entrance-emergency.png"/>
        </rule>

        <rule>
                <condition k="area" b="yes"/>
                <area colour="area#ffffff" priority="-10000"/>
        </rule>

        <rule>
                <condition k="addr:housenumber"/>
                <icon annotate="true" src="misc/housenumber.png" priority="-50000"/>
        </rule>

        <rule>
                <condition k="addr:postcode"/>
                <icon annotate="true" src="misc/housenumber.png" priority="-50000"/>
        </rule>

        <rule>
                <condition k="addr:interpolation" v="odd"/>
                <line width="1" realwidth="1" dashed="15,4" colour="address#1C86EE"/>
        </rule>

        <rule>
                <condition k="addr:interpolation" v="even"/>
                <line width="1" realwidth="1" dashed="4,4" colour="address#1C86EE"/>
        </rule>

        <rule>
                <condition k="addr:interpolation" v="all"/>
                <line width="1" realwidth="1" dashed="2,2" colour="address#1C86EE"/>
        </rule>

        <rule>
                <condition k="addr:interpolation" v="alphabetic"/>
                <line width="1" realwidth="1" dashed="2,2" colour="address#1C86EE"/>
        </rule>

<!--"work in progress" tags -->

        <rule>
                <condition k="fixme"/>
                <icon annotate="true" src="misc/fixme.png" priority="10000"/>
        </rule> 

        <rule> 
                <condition k="FIXME"/> 
                <icon annotate="true" src="misc/fixme.png" priority="10000"/>
        </rule> 

        <rule> 
                <condition k="note"/> 
                <icon annotate="true" src="misc/note.png" priority="-100000"/>
        </rule> 

<!--public_transport tags --> 
        <rule>
                <condition k="public_transport" v="stop_position"/>
                <condition k="train" v="yes"/>
                <icon annotate="true" src="transport/railway_small.png" priority="10" />
        </rule>

        <rule>
                <condition k="public_transport" v="stop_position"/>
                <condition k="tram" v="yes"/>
                <icon annotate="true" src="transport/tram.png"  priority="8" />
        </rule>

        <rule>
                <condition k="public_transport" v="stop_position"/>
                <condition k="ferry" v="yes"/>
                <icon annotate="true" src="transport/ferry.png"  priority="7" />
        </rule>

        <rule>
                <condition k="public_transport" v="stop_position"/>
                <condition k="aerial" v="yes"/>
                <icon annotate="true" src="transport/aerialway.png"  priority="6" />
        </rule>

        <rule>
                <condition k="public_transport" v="stop_position"/>
                <condition k="bus" v="yes"/>
                <icon annotate="true" src="transport/bus_small.png"  priority="4" />
        </rule>

        <rule>
                <condition k="public_transport" v="stop_position"/>
                <icon annotate="true" src="transport/railway_small.png" priority="-10"/>
        </rule>

        <rule>
                <condition k="public_transport" v="platform"/>
                <condition k="train" v="yes"/>
                <icon annotate="true" src="transport/railway_station.png"  priority="10" />
                <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
                <area colour="service#809bc0" closed="true" />
        </rule>

        <rule>
                <condition k="public_transport" v="platform"/>
                <condition k="tram" v="yes"/>
                <icon annotate="true" src="transport/railway_station.png"  priority="8" />
                <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
                <area colour="service#809bc0" closed="true" />
        </rule>

        <rule>
                <condition k="public_transport" v="platform"/>
                <condition k="ferry" v="yes"/>
                <icon annotate="true" src="transport/ferry.png"  priority="7" />
                <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
                <area colour="service#809bc0" closed="true" />
        </rule>

        <rule>
                <condition k="public_transport" v="platform"/>
                <condition k="aerial" v="yes"/>
                <icon annotate="true" src="transport/aerialway/station.png"  priority="6" />
                <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
                <area colour="service#809bc0" closed="true" />
        </rule>

        <rule>
                <condition k="public_transport" v="platform"/>
                <condition k="bus" v="yes"/>
                <icon annotate="true" src="transport/bus_small.png"  priority="4" />
                <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
                <area colour="service#809bc0" closed="true" />
        </rule>

        <rule>
                <condition k="public_transport" v="platform"/>
                <icon annotate="true" src="transport/bus_small.png" priority="-10"/>
                <line width="1" realwidth="1" colour="service#809bc0" dashed="9" dashedcolour="livingdashed#00ff00"/>
                <area colour="service#809bc0" closed="true" />
        </rule>

<!--"deprecated" tags -->

    <!-- historic=museum -> tourism=museum -->
    <!-- man_made=power_wind -> power=generator and power_source=wind -->
    <!-- man_made=power_hydro -> power=generator and power_source=hydro -->
    <!-- man_made=power_fossil -> power=generator and power_source=fossil -->
    <!-- man_made=power_nuclear -> power=generator and power_source=nuclear -->
    <!-- amenity=park_bench -> amenity=bench -->
    <!-- amenity=signpost -> information=guidepost -->
    <!-- amenity=emergency_phone -> emergency=phone -->
    <!-- highway minor - classification now more detailed -->
    <!-- highway=stile -> barrier=stile -->
    <!-- highway=gate -> barrier=gate -->
    <!-- highway=cattle_grid -> barrier=cattle_grid -->
    <!-- highway=toll_booth -> barrier=toll_booth -->
    <!-- highway=viaduct -> bridge=viaduct -->
    <!-- railway=viaduct -> bridge=viaduct -->
    <!-- waterway=aqueduct -> bridge=aqueduct -->
    <!-- natural=marsh -> natural=wetland -->
    <!-- leisure=zoo -> tourism=zoo -->
    <!-- power=station -> power=plant or power=sub_station -->

</rules>

Styles_LegacyStandard-style.xml, Styles_LegacyStandard.zip

Last modified 4 years ago Last modified on 2015-02-16T02:09:07+01:00

Attachments (1)

Download all attachments as: .zip