<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="osmarender.xsl"?>

<!-- Tiles@Home Rules File for zoom level 15 -->
<rules
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:svg="http://www.w3.org/2000/svg"
    data="data.osm"
    svgBaseProfile="full"
    scale="1"
    symbolScale="1"
    textAttenuation="3.5"
    minimumMapWidth="1"
    minimumMapHeight="1"
    withOSMLayers="yes"
    withUntaggedSegments="no"
    showScale="no"
    showGrid="no"
    showBorder="no"
    showLicense="no"
    interactive="no">

    <!--bounds_mkr1-->
    <!--bounds_mkr2-->

    <!-- Select all nodes and ways (unless they have an osmarender:render=no tag) -->
    <rule e="node|way" k="osmarender:render" v="~|yes">

        <!-- Landuse -->
        <rule e="way" k="landuse" v="residential|farmyard">
            <area class="landuse-residential"/>
        </rule>
        <rule e="way" k="landuse" v="retail">
            <area class="landuse-retail"/>
        </rule>
        <rule e="way" k="landuse" v="industrial|brownfield">
            <area class="landuse-industrial"/>
        </rule>
        <rule e="way" k="landuse" v="commercial">
            <area class="landuse-commercial"/>
        </rule>
        <rule e="way" k="landuse" v="quarry">
            <area class="landuse-quarry"/>
        </rule>
        <rule e="way" k="landuse" v="field|farm|farmland|allotments|village_green|recreation_ground|meadow|grass">
            <area class="landuse-field"/>
        </rule>
        <rule e="way" k="landuse" v="cemetery">
            <rule e="way" k="religion" v="christian">
                <area class="landuse-cemetery-christian"/>
            </rule>
            <else>
                <area class="landuse-cemetery"/>
            </else>
        </rule>
        <rule e="way" k="landuse" v="vineyard">
            <area class="landuse-vineyard"/>
        </rule>

        <!-- Natural features -->
        <rule e="way" k="natural" v="coastline">
            <area class="natural-coastline"/>
        </rule>
        <rule e="way" k="natural" v="land">
            <area class="natural-land"/>
        </rule>
        <rule e="way" k="natural" v="beach">
            <area class="natural-beach"/>
        </rule>
        <rule e="way" k="natural|landuse" v="forest|wood|scrub">
            <rule e="way" k="wood" v="coniferous">
                <area class="landuse-wood-coniferous"/>
            </rule>
            <else>
                <rule e="way" k="wood" v="deciduous">
                    <area class="landuse-wood-deciduous"/>
                </rule>
                <else>
                    <rule e="way" k="wood" v="mixed">
                        <area class="landuse-wood-mixed"/>
                    </rule>
                    <else>
                        <area class="landuse-wood"/>
                    </else>
                </else>
            </else>
        </rule>
        <rule e="way" k="natural" v="heath">
            <area class="natural-heath"/>
        </rule>

        <!-- Artificial landuse -->
        <rule e="way" k="amenity" v="school|college|university">
            <area class="amenity-school"/>
        </rule>
        <rule e="way" k="leisure" v="park|playground|playing_fields|garden|pitch|golf_course|common|green">
            <area class="leisure-park"/>
        </rule>
        <rule e="way" k="leisure" v="stadium|sports_centre|water_park">
            <area class="leisure-stadium"/>
        </rule>
        <rule e="way" k="leisure" v="track">
            <area class="leisure-track"/>
        </rule>
        <rule e="way" k="leisure" v="swimming_pool">
            <area class="leisure-swimming-pool"/>
        </rule>

        <!-- Airports and runways -->
        <rule e="way" k="aeroway" v="apron">
            <area class="aeroway-apron"/>
        </rule>
        <rule e="way" k="landuse" v="runway">
            <rule e="way" k="use_status" v="~">
                <area class="landuse-runway"/>
            </rule>
            <rule e="way" k="use_status" v="disused">
                <area class="landuse-runway-disused"/>
            </rule>
            <rule e="way" k="use_status" v="dismantled">
                <area class="landuse-runway-dismantled"/>
            </rule>
        </rule>

        <!-- Raceways and racetracks (cars and horses etc) -->
        <rule e="way" k="landuse" v="raceway">
            <rule e="way" k="use_status" v="~">
                <area class="landuse-raceway"/>
            </rule>
            <rule e="way" k="use_status" v="disused">
                <area class="landuse-raceway-disused"/>
            </rule>
            <rule e="way" k="use_status" v="dismantled">
                <area class="landuse-raceway-dismantled"/>
            </rule>
        </rule>

        <!-- Man-made areas -->
        <rule e="way" k="leisure|landuse|amenity|tourism" v="~">
            <rule e="way" k="building" v="~|no|false|0">
                <rule e="way" k="sport" v="swimming">
                    <area class="sport-swimming"/>
                </rule>
                <else>
                    <rule e="way" k="sport" v="tennis">
                        <area class="sport-tennis"/>
                    </rule>
                    <else>
                        <rule e="way" k="sport" v="*">
                            <area class="sport"/>
                        </rule>
                    </else>
                </else>
            </rule>
        </rule>
        <rule e="way" k="amenity" v="parking">
            <area class="amenity-parking"/>
        </rule>
        <rule e="way" k="tourism" v="attraction">
            <area class="tourism-attraction"/>
        </rule>
        <rule e="way" k="tourism" v="zoo|picnic_site|caravan_site|camp_site">
            <area class="tourism-green-area"/>
        </rule>
        <rule e="way" k="military" v="*">
            <area class="military-area"/>
        </rule>
        <rule e="way" k="landuse" v="military">
            <rule e="way" k="military" v="~">
                <area class="military-area"/>
            </rule>
        </rule>

        <!-- access rules for parking -->
        <rule e="way" k="amenity" v="parking">
            <rule e="way" k="access" v="private">
                <area class="access-private-small-area"/>
            </rule>
            <rule e="way" k="access" v="permissive">
                <area class="access-permissive-small-area"/>
            </rule>
            <rule e="way" k="access" v="destination">
                <area class="access-destination-small-area"/>
            </rule>
            <rule e="way" k="access" v="no">
                <area class="access-no-small-area"/>
            </rule>
        </rule>

        <!-- Airfields and airports -->
        <rule e="way" k="aeroway" v="runway">
            <line class="aeroway-runway-casing"/>
        </rule>
        <rule e="way" k="aeroway" v="taxiway">
            <line class="aeroway-taxiway-casing"/>
        </rule>

        <!-- Waterways -->
        <rule e="way" k="waterway" v="riverbank">
            <area class="waterway-riverbank"/>
        </rule>
        <rule e="way" k="waterway" v="river">
            <line class="waterway-casing waterway-river-casing"/>
        </rule>
        <rule e="way" k="waterway" v="stream">
            <line class="waterway-casing waterway-stream-casing"/>
        </rule>
        <rule e="way" k="waterway" v="canal">
            <line class="waterway-casing waterway-canal-casing"/>
        </rule>
        <rule e="way" k="waterway" v="drain">
            <line class="waterway-casing waterway-drain-casing"/>
        </rule>
        <rule e="way" k="waterway" v="river">
            <line class="waterway-core waterway-river-core"/>
        </rule>
        <rule e="way" k="waterway" v="stream">
            <line class="waterway-core waterway-stream-core"/>
        </rule>
        <rule e="way" k="waterway" v="canal">
            <line class="waterway-core waterway-canal-core"/>
        </rule>
        <rule e="way" k="waterway" v="drain">
            <line class="waterway-core waterway-drain-core"/>
        </rule>
        <rule e="way" k="waterway" v="dock">
            <area class="natural-water"/>
        </rule>
        <rule e="way" k="natural" v="water|pond|lake">
            <area class="natural-water"/>
        </rule>
        <rule e="way" k="landuse" v="reservoir">
            <area class="natural-water"/>
        </rule>
        <rule e="way" k="landuse" v="basin">
            <area class="natural-water"/>
        </rule>

        <!-- Highway area casings -->
        <rule e="way" k="area" v="yes|true">
            <rule e="way" k="highway" v="footway|footpath">
                <area class="highway-casing highway-footway-casing highway-footway-area-casing no-bezier" smart-area="no"/>
            </rule>
            <rule e="way" k="highway" v="pedestrian">
                <area class="highway-casing highway-pedestrian-casing highway-pedestrian-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="cycleway">
                <area class="highway-casing highway-cycleway-casing highway-cycleway-area-casing no-bezier" smart-area="no"/>
            </rule>
            <rule e="way" k="highway" v="bridleway">
                <area class="highway-casing highway-bridleway-casing highway-bridleway-area-casing no-bezier" smart-area="no"/>
            </rule>
            <rule e="way" k="highway" v="byway">
                <area class="highway-casing highway-byway-1-casing highway-byway-1-area-casing no-bezier" smart-area="no"/>
                <area class="highway-casing highway-byway-2-casing highway-byway-2-area-casing no-bezier" smart-area="no"/>
                <area class="highway-casing highway-byway-3-casing highway-byway-3-area-casing no-bezier" smart-area="no"/>
            </rule>
            <rule e="way" k="highway" v="track">
                <rule e="way" k="tracktype" v="grade1">
                    <area class="highway-casing highway-track-casing highway-track-grade1-casing highway-track-area-casing no-bezier"/>
                </rule>
                <else>
                    <rule e="way" k="tracktype" v="grade2">
                        <area class="highway-casing highway-track-casing highway-track-grade2-casing highway-track-area-casing no-bezier"/>
                    </rule>
                    <else>
                        <rule e="way" k="tracktype" v="grade3">
                            <area class="highway-casing highway-track-casing highway-track-grade3-casing highway-track-area-casing no-bezier" smart-area="no"/>
                        </rule>
                        <else>
                            <rule e="way" k="tracktype" v="grade4">
                                <area class="highway-casing highway-track-casing highway-track-grade4-casing highway-track-area-casing no-bezier" smart-area="no"/>
                            </rule>
                            <else>
                                <rule e="way" k="tracktype" v="grade5">
                                    <area class="highway-casing highway-track-casing highway-track-grade5-casing highway-track-area-casing no-bezier" smart-area="no"/>
                                </rule>
                                <else>
                                    <area class="highway-casing highway-track-casing highway-track-area-casing"/>
                                 </else>
                            </else>
                        </else>
                    </else>
                </else>
            </rule>
            <rule e="way" k="highway" v="unsurfaced">
                <area class="highway-casing highway-unsurfaced-casing highway-unsurfaced-area-casing no-bezier" smart-area="no"/>
            </rule>
            <rule e="way" k="highway" v="service">
                <area class="highway-casing highway-service-casing highway-service-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="unclassified|residential|minor|living_street|road">
                <area class="highway-casing highway-unclassified-casing highway-unclassified-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="tertiary">
                <area class="highway-casing highway-tertiary-casing highway-tertiary-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="secondary">
                <area class="highway-casing highway-secondary-casing highway-secondary-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="primary_link">
                <area class="highway-casing highway-primary-link-casing highway-primary-link-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="trunk_link">
                <area class="highway-casing highway-trunk-link-casing highway-trunk-link-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="motorway_link">
                <area class="highway-casing highway-motorway-link-casing highway-motorway-link-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="primary">
                <area class="highway-casing highway-primary-casing highway-primary-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="trunk">
                <area class="highway-casing highway-trunk-casing highway-trunk-area-casing no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="motorway">
                <area class="highway-casing highway-motorway-casing highway-motorway-area-casing no-bezier"/>
            </rule>
        </rule>

        <!-- Linear casings -->
        <rule e="way" k="tunnel" v="~|no|false">
            <rule e="way" k="area" v="~|no|false">
                <rule e="way" k="highway" v="raceway">
                    <rule e="way" k="use_status" v="~">
                        <line class="highway-raceway-casing"/>
                    </rule>
                    <rule e="way" k="use_status" v="disused">
                        <line class="highway-raceway-casing-disused"/>
                    </rule>
                    <rule e="way" k="use_status" v="dismantled">
                        <line class="highway-raceway-casing-dismantled"/>
                    </rule>
                </rule>
                <rule e="way" k="highway" v="steps">
                    <line class="highway-casing highway-steps-casing"/>
                </rule>
                <rule e="way" k="highway" v="footway|footpath">
                    <line class="highway-casing highway-footway-casing" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="pedestrian">
                    <line class="highway-casing highway-pedestrian-casing"/>
                </rule>
                <rule e="way" k="highway" v="cycleway">
                    <line class="highway-casing highway-cycleway-casing" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="bridleway">
                    <line class="highway-casing highway-bridleway-casing" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="byway">
                    <line class="highway-casing highway-byway-1-casing" smart-linecap="no"/>
                    <line class="highway-casing highway-byway-2-casing" smart-linecap="no"/>
                    <line class="highway-casing highway-byway-3-casing" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="track">
                    <rule e="way" k="tracktype" v="grade1">
                        <line class="highway-casing highway-track-casing highway-track-grade1-casing"/>
                    </rule>
                    <else>
                        <rule e="way" k="tracktype" v="grade2">
                            <line class="highway-casing highway-track-casing highway-track-grade2-casing"/>
                        </rule>
                        <else>
                            <rule e="way" k="tracktype" v="grade3">
                                <line class="highway-casing highway-track-casing highway-track-grade3-casing" smart-linecap="no"/>
                            </rule>
                            <else>
                                <rule e="way" k="tracktype" v="grade4">
                                    <line class="highway-casing highway-track-casing highway-track-grade4-casing" smart-linecap="no"/>
                                </rule>
                                <else>
                                    <rule e="way" k="tracktype" v="grade5">
                                        <line class="highway-casing highway-track-casing highway-track-grade5-casing" smart-linecap="no"/>
                                    </rule>
                                    <else>
                                        <rule e="way" k="track" v="racetrack">
                                            <line class="highway-racetrack-casing-white" smart-linecap="no"/>
                                            <line class="highway-racetrack-casing-red" smart-linecap="no"/>
                                        </rule>
                                        <else>
                                            <line class="highway-casing highway-track-casing"/>
                                        </else>
                                    </else>
                                </else>
                            </else>
                        </else>
                    </else>
                </rule>
                <rule e="way" k="highway" v="unsurfaced">
                    <line class="highway-casing highway-unsurfaced-casing" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="service">
                    <line class="highway-casing highway-service-casing"/>
                </rule>
                <rule e="way" k="highway" v="unclassified|residential|minor|living_street|road">
                    <line class="highway-casing highway-unclassified-casing"/>
                </rule>
                <rule e="way" k="highway" v="tertiary">
                    <line class="highway-casing highway-tertiary-casing"/>
                </rule>
                <rule e="way" k="highway" v="secondary">
                    <line class="highway-casing highway-secondary-casing"/>
                </rule>
                <rule e="way" k="highway" v="primary_link">
                    <line class="highway-casing highway-primary-link-casing"/>
                </rule>
                <rule e="way" k="highway" v="trunk_link">
                    <line class="highway-casing highway-trunk-link-casing"/>
                </rule>
                <rule e="way" k="highway" v="motorway_link">
                    <line class="highway-casing highway-motorway-link-casing"/>
                </rule>
                <rule e="way" k="highway" v="primary">
                    <line class="highway-casing highway-primary-casing"/>
                </rule>
                <rule e="way" k="highway" v="trunk">
                    <line class="highway-casing highway-trunk-casing"/>
                </rule>
                <rule e="way" k="highway" v="motorway">
                    <line class="highway-casing highway-motorway-casing"/>
                </rule>
                <rule e="way" k="railway" v="monorail">
                    <line class="railway-casing railway-monorail-casing"/>
                </rule>
                <rule e="way" k="railway" v="preserved">
                    <line class="railway-casing railway-preserved-casing"/>
                </rule>
                <rule e="way" k="railway" v="narrow_gauge">
                    <line class="railway-casing railway-narrow-gauge-casing"/>
                </rule>
                <rule e="way" k="railway" v="tram">
                    <line class="railway-casing railway-tram-casing"/>
                </rule>
                <rule e="way" k="railway" v="subway">
                    <line class="railway-casing railway-subway-casing"/>
                </rule>
                <rule e="way" k="railway" v="light_rail|incline">
                    <line class="railway-casing railway-light-rail-casing"/>
                </rule>
                <rule e="way" k="railway" v="rail">
                    <line class="railway-casing railway-rail-casing"/>
                </rule>
            </rule>
        </rule>

        <!-- Highway area cores -->
        <rule e="way" k="area" v="yes|true">
            <rule e="way" k="highway" v="footway|footpath">
                <area class="highway-core highway-footway-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="pedestrian">
                <area class="highway-core highway-pedestrian-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="cycleway">
                <area class="highway-core highway-cycleway-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="bridleway">
                <area class="highway-core highway-bridleway-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="byway">
                <area class="highway-core highway-byway-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="track">
                <area class="highway-core highway-track-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="unsurfaced">
                <area class="highway-core highway-unsurfaced-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="service">
                <area class="highway-core highway-service-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="unclassified|residential|minor|living_street">
                <area class="highway-core highway-unclassified-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="road">
                <area class="highway-core highway-road-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="tertiary">
                <area class="highway-core highway-tertiary-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="secondary">
                <area class="highway-core highway-secondary-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="primary_link">
                <area class="highway-core highway-primary-link-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="trunk_link">
                <area class="highway-core highway-trunk-link-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="motorway_link">
                <area class="highway-core highway-motorway-link-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="primary">
                <area class="highway-core highway-primary-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="trunk">
                <area class="highway-core highway-trunk-area no-bezier"/>
            </rule>
            <rule e="way" k="highway" v="motorway">
                <area class="highway-core highway-motorway-area no-bezier"/>
            </rule>
        </rule>

        <!-- Buildings -->
        <rule e="way" k="aeroway" v="terminal">
            <area class="building-block"/>
        </rule>
        <rule e="way" k="building" v="*">
            <area class="building-block no-bezier"/>
        </rule>

        <!-- Linear cores -->
        <rule e="way" k="tunnel" v="~|false|no">
            <rule e="way" k="area" v="~|false|no">
                <rule e="way" k="highway" v="raceway">
                    <rule e="way" k="use_status" v="~">
                        <line class="highway-raceway-core"/>
                    </rule>
                    <rule e="way" k="use_status" v="disused">
                        <line class="highway-raceway-core-disused"/>
                    </rule>
                    <rule e="way" k="use_status" v="dismantled">
                        <line class="highway-raceway-core-dismantled"/>
                    </rule>
                </rule>
                <rule e="way" k="scramble" v="*">
                    <line class="highway-core highway-scramble-core"/>
                </rule>
                <rule e="way" k="highway" v="steps">
                    <line class="highway-core highway-steps-core" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="footway|footpath">
                    <line class="highway-core highway-footway-core" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="pedestrian">
                    <line class="highway-core highway-pedestrian-core"/>
                </rule>
                <rule e="way" k="highway" v="cycleway">
                    <line class="highway-core highway-cycleway-core" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="bridleway">
                    <line class="highway-core highway-bridleway-core" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="byway">
                    <line class="highway-core highway-byway-2-casing" smart-linecap="no"/>
                    <line class="highway-core highway-byway-3-casing" smart-linecap="no"/>
                    <line class="highway-core highway-byway-1-core" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="track">
                    <rule e="way" k="tracktype" v="race">
                        <line class="highway-racetrack-core"/>
                    </rule>
                    <else>
                        <line class="highway-core highway-track-core"/>
                    </else>
                </rule>
                <rule e="way" k="highway" v="unsurfaced">
                    <line class="highway-core highway-unsurfaced-core" smart-linecap="no"/>
                </rule>
                <rule e="way" k="highway" v="service">
                    <line class="highway-core highway-service-core"/>
                </rule>
                <rule e="way" k="highway" v="unclassified|residential|minor|living_street">
                    <line class="highway-core highway-unclassified-core"/>
                </rule>
                <rule e="way" k="highway" v="road">
                    <line class="highway-core highway-road-core"/>
                </rule>
                <rule e="way" k="highway" v="tertiary">
                    <line class="highway-core highway-tertiary-core"/>
                </rule>
                <rule e="way" k="highway" v="secondary">
                    <line class="highway-core highway-secondary-core"/>
                </rule>
                <rule e="way" k="highway" v="primary_link">
                    <line class="highway-core highway-primary-link-core"/>
                </rule>
                <rule e="way" k="highway" v="trunk_link">
                    <line class="highway-core highway-trunk-link-core"/>
                </rule>
                <rule e="way" k="highway" v="motorway_link">
                    <line class="highway-core highway-motorway-link-core"/>
                </rule>
                <rule e="way" k="highway" v="primary">
                    <line class="highway-core highway-primary-core"/>
                </rule>
                <rule e="way" k="highway" v="trunk">
                    <line class="highway-core highway-trunk-core"/>
                </rule>
                <rule e="way" k="highway" v="motorway">
                    <line class="highway-core highway-motorway-core"/>
                </rule>
                <rule e="way" k="railway" v="monorail">
                    <line class="railway-core railway-monorail-core"/>
                </rule>
                <rule e="way" k="railway" v="preserved">
                    <line class="railway-core railway-preserved-core"/>
                </rule>
                <rule e="way" k="railway" v="narrow_gauge">
                    <line class="railway-core railway-narrow-gauge-core"/>
                </rule>
                <rule e="way" k="railway" v="tram">
                    <line class="railway-core railway-tram-core"/>
                </rule>
                <rule e="way" k="railway" v="subway">
                    <line class="railway-core railway-subway-core"/>
                </rule>
                <rule e="way" k="railway" v="light_rail|incline">
                    <line class="railway-core railway-light-rail-core"/>
                </rule>
                <rule e="way" k="railway" v="rail">
                    <line class="railway-core railway-rail-1-core"/>
                    <line class="railway-core railway-rail-2-core" smart-linecap="no"/>
                </rule>
                <rule e="way" k="aeroway" v="runway">
                    <line class="aeroway-runway-core"/>
                </rule>
                <rule e="way" k="aeroway" v="taxiway">
                    <line class="aeroway-taxiway-core"/>
                </rule>
            </rule>
        </rule>

        <!-- Tunnels -->
        <rule e="way" k="tunnel" v="true|yes">
            <rule e="way" k="highway" v="steps">
                <line class="tunnel-casing highway-steps-casing tunnel" mask-class="tunnel-core highway-steps-core"/>
                <line class="highway-steps-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="footway|footpath">
                <line class="tunnel-casing highway-footway-casing tunnel" mask-class="tunnel-core highway-footway-core"/>
                <line class="highway-footway-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="pedestrian">
                <line class="tunnel-casing highway-pedestrian-casing tunnel" mask-class="tunnel-core highway-pedestrian-core"/>
                <line class="highway-pedestrian-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="cycleway">
                <line class="tunnel-casing highway-cycleway-casing tunnel" mask-class="tunnel-core highway-cycleway-core"/>
                <line class="highway-cycleway-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="bridleway">
                <line class="tunnel-casing highway-bridleway-casing tunnel" mask-class="tunnel-core highway-bridleway-core"/>
                <line class="highway-bridleway-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="byway">
                <line class="tunnel-casing highway-byway-1-casing tunnel" mask-class="tunnel-core highway-byway-1-core"/>
                <line class="highway-byway-1-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="track">
                <line class="tunnel-casing highway-track-casing tunnel" mask-class="tunnel-core highway-track-core"/>
                <line class="highway-track-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="unsurfaced">
                <line class="tunnel-casing highway-unsurfaced-casing tunnel" mask-class="tunnel-core highway-unsurfaced-core"/>
                <line class="highway-unsurfaced-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="service">
                <line class="tunnel-casing highway-service-casing tunnel" mask-class="tunnel-core highway-service-core"/>
                <line class="highway-service-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="unclassified|residential|minor|tertiary|living_street">
                <line class="tunnel-casing highway-unclassified-casing tunnel" mask-class="tunnel-core highway-unclassified-core"/>
                <line class="highway-unclassified-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="road">
                <line class="tunnel-casing highway-unclassified-casing tunnel" mask-class="tunnel-core highway-road-core"/>
                <line class="highway-unclassified-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="tertiary">
                <line class="tunnel-casing highway-tertiary-casing tunnel" mask-class="tunnel-core highway-tertiary-core"/>
                <line class="highway-tertiary-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="secondary">
                <line class="tunnel-casing highway-secondary-casing tunnel" mask-class="tunnel-core highway-secondary-core"/>
                <line class="highway-secondary-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="primary_link">
                <line class="tunnel-casing highway-primary-link-casing tunnel" mask-class="tunnel-core highway-primary-link-core"/>
                <line class="highway-primary-link-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="trunk_link">
                <line class="tunnel-casing highway-trunk-link-casing tunnel" mask-class="tunnel-core highway-trunk-link-core"/>
                <line class="highway-trunk-link-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="motorway_link">
                <line class="tunnel-casing highway-motorway-link-casing tunnel" mask-class="tunnel-core highway-motorway-link-core"/>
                <line class="highway-motorway-link-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="primary">
                <line class="tunnel-casing highway-primary-casing tunnel" mask-class="tunnel-core highway-primary-core"/>
                <line class="highway-primary-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="trunk">
                <line class="tunnel-casing highway-trunk-casing tunnel" mask-class="tunnel-core highway-trunk-core"/>
                <line class="highway-trunk-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="highway" v="motorway">
                <line class="tunnel-casing highway-motorway-casing tunnel" mask-class="tunnel-core highway-motorway-core"/>
                <line class="highway-motorway-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="railway" v="monorail">
                <line class="tunnel-casing railway-monorail-casing tunnel" mask-class="tunnel-core railway-monorail-core"/>
                <line class="railway-monorail-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="railway" v="preserved">
                <line class="tunnel-casing railway-preserved-casing tunnel" mask-class="tunnel-core railway-preserved-core"/>
                <line class="railway-preserved-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="railway" v="narrow_gauge">
                <line class="tunnel-casing railway-narrow-gauge-casing tunnel" mask-class="tunnel-core railway-narrow-gauge-core"/>
                <line class="railway-narrow-gauge-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="railway" v="tram">
                <line class="tunnel-casing railway-tram-casing tunnel" mask-class="tunnel-core railway-tram-core"/>
                <line class="railway-tram-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="railway" v="subway">
                <line class="tunnel-casing railway-subway-casing tunnel" mask-class="tunnel-core railway-subway-core"/>
                <line class="railway-subway-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="railway" v="light_rail|incline">
                <line class="tunnel-casing railway-light-rail-casing tunnel" mask-class="tunnel-core railway-light-rail-core"/>
                <line class="railway-light-rail-casing highway-tunnel-ends"/>
            </rule>
            <rule e="way" k="railway" v="rail">
                <line class="tunnel-casing railway-rail-casing tunnel" mask-class="tunnel-core railway-rail-1-core"/>
                <line class="railway-rail-casing highway-tunnel-ends"/>
            </rule>
        </rule>

        <!-- highway motorway-junctions -->
        <rule e="node" k="highway" v="motorway_junction">
            <circle r="2" class="highway-motorway-junction"/>
            <text k="name" class="highway-motorway-junction-caption" dy="-2px"/>
            <text k="ref" class="highway-motorway-junction-caption" dy="+6px"/>
        </rule>

        <!-- Linear cores (under construction) -->
        <rule e="way" k="highway" v="construction">
            <rule e="way" k="construction" v="steps">
                <line class="highway-core highway-steps-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="footway|footpath">
                <line class="highway-core highway-footway-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="pedestrian">
                <line class="highway-core highway-pedestrian-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="cycleway">
                <line class="highway-core highway-cycleway-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="bridleway">
                <line class="highway-core highway-bridleway-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="byway">
                <line class="highway-core highway-byway-1-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="track">
                <line class="highway-core highway-track-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="unsurfaced">
                <line class="highway-core highway-unsurfaced-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="service">
                <line class="highway-core highway-service-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="unclassified|residential|minor|living_street">
                <line class="highway-core highway-unclassified-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="road">
                <line class="highway-core highway-road-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="tertiary">
                <line class="highway-core highway-tertiary-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="secondary">
                <line class="highway-core highway-secondary-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="primary_link">
                <line class="highway-core highway-primary-link-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="trunk_link">
                <line class="highway-core highway-trunk-link-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="motorway_link">
                <line class="highway-core highway-motorway-link-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="primary">
                <line class="highway-core highway-primary-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="trunk">
                <line class="highway-core highway-trunk-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="motorway">
                <line class="highway-core highway-motorway-core under-construction"/>
            </rule>
        </rule>

        <rule e="way" k="railway" v="construction">
            <rule e="way" k="construction" v="monorail">
                <line class="railway-core railway-monorail-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="preserved">
                <line class="railway-core railway-preserved-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="narrow_gauge">
                <line class="railway-core railway-narrow-gauge-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="tram">
                <line class="railway-core railway-tram-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="subway">
                <line class="railway-core railway-subway-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="light_rail|incline">
                <line class="railway-core railway-light-rail-core under-construction"/>
            </rule>
            <rule e="way" k="construction" v="rail">
                <line class="railway-core railway-rail-1-core under-construction"/>
            </rule>
        </rule>

        <!-- access restrictions -->
        <rule e="way" k="highway" v="*">
            <rule e="way" k="area" v="yes|true">
                <rule e="way" k="access" v="private">
                    <area class="access-private-area"/>
                </rule>
                <rule e="way" k="access" v="permissive">
                    <area class="access-permissive-area"/>
                </rule>
                <rule e="way" k="access" v="destination">
                    <area class="access-destination-area"/>
                </rule>
                <rule e="way" k="access" v="no">
                    <area class="access-no-area"/>
                </rule>
            </rule>
            <else>
                <rule e="way" k="highway" v="footway|footpath|cycleway|bridleway|byway|unsurfaced">
                    <rule e="way" k="access" v="private">
                        <line class="access-private-line" smart-linecap="no"/>
                    </rule>
                    <rule e="way" k="access" v="permissive">
                        <line class="access-permissive-line" smart-linecap="no"/>
                    </rule>
                    <rule e="way" k="access" v="destination">
                        <line class="access-destination-line" smart-linecap="no"/>
                    </rule>
                    <rule e="way" k="access" v="no">
                        <line class="access-no-line" smart-linecap="no"/>
                    </rule>
                </rule>
                <else>
                    <rule e="way" k="highway" v="track">
                        <rule e="way" k="tracktype" v="grade3|grade4|grade5">
                            <rule e="way" k="access" v="private">
                                <line class="access-private-line" smart-linecap="no"/>
                            </rule>
                            <rule e="way" k="access" v="permissive">
                                <line class="access-permissive-line" smart-linecap="no"/>
                            </rule>
                            <rule e="way" k="access" v="destination">
                                <line class="access-destination-line" smart-linecap="no"/>
                            </rule>
                            <rule e="way" k="access" v="no">
                                <line class="access-no-line" smart-linecap="no"/>
                            </rule>
                        </rule>
                        <else>
                            <rule e="way" k="access" v="private">
                                <line class="access-private-line"/>
                            </rule>
                            <rule e="way" k="access" v="permissive">
                                <line class="access-permissive-line"/>
                            </rule>
                            <rule e="way" k="access" v="destination">
                                <line class="access-destination-line"/>
                            </rule>
                            <rule e="way" k="access" v="no">
                                <line class="access-no-line"/>
                            </rule>
                        </else>
                    </rule>
                    <else>
                        <rule e="way" k="access" v="private">
                            <line class="access-private-line"/>
                        </rule>
                        <rule e="way" k="access" v="permissive">
                            <line class="access-permissive-line"/>
                        </rule>
                        <rule e="way" k="access" v="destination">
                            <line class="access-destination-line"/>
                        </rule>
                        <rule e="way" k="access" v="no">
                            <line class="access-no-line"/>
                        </rule>
                    </else>
                </else>
            </else>
        </rule>

        <!-- Mini-roundabouts -->
        <rule e="node" k="highway" v="mini_roundabout">
            <rule e="node" k="direction" v="clockwise">
                <symbol xlink:href="#symbol-roundabout_left" width="4px" height="4px" transform="translate(0,0)"/>
            </rule>
            <else>
                <!-- Default is anti-clockwise -->
                <symbol xlink:href="#symbol-roundabout_right" width="4px" height="4px" transform="translate(0,0)"/>
            </else>
        </rule>

        <!-- Piste maps -->
        <rule e="way" k="piste:type" v="downhill">
            <rule e="way" k="piste:difficulty" v="novice">
                <line class="piste-core piste-difficulty-novice" smart-linecap="no"/>
            </rule>
            <rule e="way" k="piste:difficulty" v="easy">
                <line class="piste-core piste-difficulty-easy" smart-linecap="no"/>
            </rule>
            <rule e="way" k="piste:difficulty" v="intermediate">
                <line class="piste-core piste-difficulty-intermediate" smart-linecap="no"/>
            </rule>
            <rule e="way" k="piste:difficulty" v="advanced">
                <line class="piste-core piste-difficulty-advanced" smart-linecap="no"/>
            </rule>
            <rule e="way" k="piste:difficulty" v="expert">
                <line class="piste-core piste-difficulty-expert" smart-linecap="no"/>
            </rule>
            <rule e="way" k="piste:difficulty" v="freeride">
                <line class="piste-core piste-difficulty-freeride" smart-linecap="no"/>
            </rule>
            <rule e="way" k="piste:difficulty" v="~">
                <line class="piste-core piste-difficulty-other" smart-linecap="no"/>
            </rule>
            <rule e="way" k="name|ref" v="*">
                <!-- prefer to render name, otherwise render ref -->
                <rule e="way" k="name" v="~">
                    <rule e="way" k="ref" v="*">
                        <text k="ref" dy="2px" class="piste-downhill-ref" text-anchor="middle" startOffset="75%"/>
                    </rule>
                </rule>
                <else>
                    <rule e="way" k="ref" v="*">
                        <text k="ref" dy="2px" class="piste-downhill-ref" text-anchor="middle" startOffset="75%"/>
                    </rule>
                    <rule e="way" k="name" v="*">
                        <text k="name" dy="2px" class="piste-downhill-name" text-anchor="middle" startOffset="75%"/>
                    </rule>
                </else>
            </rule>
        </rule>
        <rule e="way" k="piste:type" v="sled">
            <line class="piste-type-sled"/>
        </rule>
        <rule e="way" k="piste:type" v="nordic">
            <line class="piste-type-nordic"/>
        </rule>
        <rule e="way" k="man_made" v="piste:halfpipe">
            <area class="man-made-piste-halfpipe"/>
            <areaSymbol xlink:href="#symbol-man-made-halfpipe" width="7px" height="7px" transform="translate(-3.5,-3.5)"/>
        </rule>

        <!-- Surface lifts (render over pistes) -->
        <rule e="way" k="piste:lift" v="*">
            <rule e="way" k="piste:lift" v="t-bar|j-bar|platter">
                <line smart-linecap="no" class="aerialway-line piste-lift-t-bar-marker no-bezier"/>
                <line smart-linecap="no" class="aerialway-struts no-bezier"/>
            </rule>
            <rule e="way" k="piste:lift" v="rope_tow">
                <line smart-linecap="no" class="piste-lift-rope-tow no-bezier"/>
            </rule>
            <rule e="way" k="piste:lift" v="magic_carpet">
                <line smart-linecap="no" class="piste-lift-magic-carpet no-bezier"/>
            </rule>
            <rule e="way" k="name" v="*">
                <text k="name" dx="0px" dy="-3px" class="aerialway-name" text-anchor="middle" startOffset="50%"/>
            </rule>
        </rule>

        <!-- Aerialways (render over pistes) -->
        <rule e="node|way" k="aerialway" v="*">
            <rule e="way" k="aerialway" v="cable_car">
                <line class="aerialway-line aerialway-cablecar-marker no-bezier" smart-linecap="no"/>
            </rule>
            <else>
                <rule e="way" k="aerialway" v="gondola">
                    <line class="aerialway-line aerialway-gondola-marker no-bezier" smart-linecap="no"/>
                </rule>
                <else>
                    <rule e="way" k="aerialway" v="chair_lift">
                        <rule e="way" k="piste:lift:occupancy" v="4|5|6">
                            <line class="aerialway-line aerialway-chairlift4-marker no-bezier" smart-linecap="no"/>
                        </rule>
                        <else>
                            <line class="aerialway-line aerialway-chairlift2-marker no-bezier" smart-linecap="no"/>
                        </else>
                    </rule>
                    <else>
                        <rule e="way" k="aerialway" v="mixed_lift">
                            <line class="aerialway-line aerialway-mixedlift-marker no-bezier" smart-linecap="no"/>
                        </rule>
                        <else>
                            <rule e="way" k="aerialway" v="*">
                                <line class="aerialway-line no-bezier" smart-linecap="no"/>
                            </rule>
                        </else>
                    </else>
                </else>
            </else>
            <line smart-linecap="no" class="aerialway-struts no-bezier"/>
            <rule e="node" k="aerialway" v="station">
                <circle r="1.5px" class="aerialway-station"/>
            </rule>
            <rule e="way" k="name" v="*">
                <text k="name" dx="0px" dy="-3px" class="aerialway-name" text-anchor="middle" startOffset="50%"/>
            </rule>
        </rule>

        <!-- Natural features -->
        <rule e="node" k="natural" v="peak">
            <symbol xlink:href="#symbol-peak" width="6px" height="6px" transform="translate(-3,-3)"/>
        </rule>

        <!-- Draw marine features -->
        <rule e="way" k="man_made" v="pier">
            <line class="artificial-pier-casing"/>
        </rule>
        <rule e="way" k="man_made" v="pier">
            <line class="artificial-pier-core"/>
        </rule>

        <!-- Non-physical routes -->
        <rule e="way" k="route" v="ferry">
            <line class="route-ferry"/>
        </rule>

        <!-- Railway stations -->
        <rule e="node" k="railway" v="station">
            <rule e="node" s="way" k="railway" v="rail">
                <circle r="2" class="railway-station"/>
            </rule>
            <else>
                <circle r="1.5" class="railway-halt"/>
            </else>
        </rule>
        <rule e="node" k="railway" v="halt">
            <circle r="1.5" class="railway-halt"/>
        </rule>
        <!-- tram stops -->
        <rule e="node" k="railway" v="tram_stop">
            <circle r="1.5" class="railway-halt"/>
        </rule>

        <!-- Amenities -->
        <rule e="node" k="amenity" v="hospital">
            <symbol xlink:href="#hospital" width="8px" height="8px" transform="translate(-4,-4)"/>
        </rule>
    </rule>

    <!-- ==================================== Layer 5 ======================================== -->
    <rule e="node|way" k="osmarender:render" v="~|yes" layer="5">

        <!-- Non-physical boundaries -->
        <rule e="way" k="boundary" v="administrative" layer="5">
            <rule e="way" k="border_type" v="state" layer="5">
                <line class="boundary boundary-administrative-state-casing"/>
                <line class="boundary boundary-administrative-state-core"/>
            </rule>
            <else>
                <rule e="way" k="admin_level" v="10" layer="5">
                    <line class="boundary boundary-administrative-parish-core"/>
                </rule>
                <else>
                    <rule e="way" k="admin_level" v="8" layer="5">
                        <line class="boundary boundary-administrative-district-core"/>
                    </rule>
                    <else>
                        <line class="boundary boundary-administrative-state-core"/>
                    </else>
                </else>
            </else>
        </rule>

        <!-- Waterway and Street names -->
        <rule e="way" k="osmarender:renderName" v="~|yes" layer="5">
            <rule e="way" k="tunnel" v="~|no|false" layer="5"> <!-- no names in tunnels -->
                <rule e="way" k="area" v="~|no|false" layer="5"> <!-- don't draw linear names around areas -->
                    <rule e="way" k="junction" v="~" layer="5"> <!-- no names on or along junctions -->
                        <rule e="way" k="waterway" v="canal" layer="5">
                            <text k="name" startOffset="50%" class="waterway-name-casing waterway-canal-name-casing" dy="2px"/>
                            <text k="name" startOffset="50%" class="waterway-name-core waterway-canal-name-core" dy="2px"/>
                        </rule>
                        <rule e="way" k="waterway" v="river" layer="5">
                            <text k="name" startOffset="50%" class="waterway-name-casing waterway-river-name-casing" dy="2px"/>
                            <text k="name" startOffset="50%" class="waterway-name-core waterway-river-name-core" dy="2px"/>
                        </rule>
                        <rule e="way" k="highway" v="unclassified|residential|minor|living_street|road" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-unclassified-name" dy="1.6px"/>
                        </rule>
                        <rule e="way" k="highway" v="tertiary" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-tertiary-name" dy="1.8px"/>
                        </rule>
                        <rule e="way" k="highway" v="secondary" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-secondary-name" dy="1.8px"/>
                        </rule>
                        <rule e="way" k="highway" v="primary_link" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-primary-link-name" dy="2.1px"/>
                        </rule>
                        <rule e="way" k="highway" v="trunk_link" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-trunk-link-name" dy="2.1px"/>
                        </rule>
                        <rule e="way" k="highway" v="motorway_link" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-motorway-link-name" dy="2.1px"/>
                        </rule>
                        <rule e="way" k="highway" v="primary" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-primary-name" dy="2.1px"/>
                        </rule>
                        <rule e="way" k="highway" v="trunk" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-trunk-name" dy="2.1px"/>
                        </rule>
                        <rule e="way" k="highway" v="motorway" layer="5">
                            <text k="name" startOffset="50%" class="highway-name highway-motorway-name" dy="2.1px"/>
                        </rule>
                    </rule>
                </rule>
            </rule>

            <!-- Road numbers for all highways -->
            <rule e="way" k="osmarender:renderRef" v="~|yes" layer="5">
                <rule e="way" k="tunnel" v="~|no|false" layer="5"> <!-- no road numbers in tunnels -->
                    <rule e="way" k="junction" v="~" layer="5"> <!-- no ref on junctions / roundabouts -->
                        <!-- Use startOffset to prevent captions from colliding on dual carriageways -->
                        <rule e="way" k="highway" v="tertiary" layer="5">
                            <text k="ref" startOffset="30%" class="highway-ref highway-tertiary-ref" dy="-3.5px" textAttenuation="1.5"/>
                        </rule>
                        <rule e="way" k="highway" v="secondary" layer="5">
                            <text k="ref" startOffset="30%" class="highway-ref highway-secondary-ref" dy="-3.5px" textAttenuation="1.5"/>
                        </rule>
                        <rule e="way" k="highway" v="primary" layer="5">
                            <text k="ref" startOffset="30%" class="highway-ref highway-primary-ref" dy="-3.5px" textAttenuation="1.5"/>
                        </rule>
                        <rule e="way" k="highway" v="trunk" layer="5">
                            <text k="ref" startOffset="30%" class="highway-ref highway-trunk-ref" dy="-3.5px" textAttenuation="1.5"/>
                        </rule>
                        <rule e="way" k="highway" v="motorway" layer="5">
                            <text k="ref" startOffset="30%" class="highway-ref highway-motorway-ref" dy="-4px" textAttenuation="1.5"/>
                        </rule>
                    </rule>
                </rule>
            </rule>
        </rule>

        <!-- Place names  -->
        <rule e="node" k="osmarender:renderName" v="~|yes" layer="5">
            <rule k="natural" v="peak" layer="5">
                <text k="name" class="place-caption peak-caption" dy="-5px"/>
            </rule>
            <rule e="node" k="place" v="islet" layer="5">
                <text k="name" class="place-caption islet-caption"/>
            </rule>
            <rule e="node" k="place" v="village" layer="5">
                <text k="name" class="place-caption village-caption"/>
            </rule>
            <rule e="node" k="place" v="suburb" layer="5">
                <text k="name" class="place-caption suburb-caption"/>
            </rule>
            <rule e="node" k="place" v="hamlet" layer="5">
                <text k="name" class="place-caption hamlet-caption"/>
            </rule>
            <rule e="node" k="place" v="locality" layer="5">
                <text k="name" class="place-caption locality-caption"/>
            </rule>
            <rule e="node" k="place" v="farm" layer="5">
                <text k="name" class="place-caption farm-caption"/>
            </rule>
            <rule e="node" k="tourism" v="attraction" layer="5">
                <text k="name" class="tourism-attraction-caption"/>
            </rule>
            <rule e="node" k="railway" v="station" layer="5">
                <rule e="node" s="way" k="railway" v="rail" layer="5">
                    <text k="name" class="caption-casing railway-station-caption-casing" dy="-5px"/>
                    <text k="name" class="caption-core railway-station-caption-core" dy="-5px"/>
                </rule>
            </rule>
        </rule>
    </rule>

    <!-- SVG Definitions - markers, symbols etc go here -->
    <defs>
        <style xmlns="http://www.w3.org/2000/svg" id="styles" type="text/css">
            /* DO NOT DELETE - Used by osmarender.xsl */
            .untagged-segments {
                stroke-width: 0.5px;
                stroke-linejoin: round;
                stroke-linecap: butt;
                stroke: #e0e0e0;
                stroke-dasharray: 0.5,0.5;
            }


           
			/* Railways - generic styles */
            .railway-casing {
				stroke-linecap: butt;
                stroke-linejoin: round;
                fill: none;
            }

			.railway-core {
                stroke-linecap: butt;
                stroke-linejoin: round;
                fill: none;
			}				


            /* Highways - generic styles */
            .highway-casing {
				stroke-linecap: square;
                stroke-linejoin: round;
                fill: none;
            }

            .highway-core {
                stroke-linecap: square;
                stroke-linejoin: round;
                fill: none;
            }

            .highway-motorway-junction {
            fill: yellow;
            stroke: #4D5D73;
            stroke-width: 1px;
            }
            
            .highway-motorway-junction-caption {
            fill: black;
            stroke: black;
            stroke-width: 0.2px;
            font-family: "DejaVu Sans",sans-serif;
            font-size: 5px;
            font-weight: bold;
            text-anchor: middle;
            }
            
            .highway-ref {
                fill: #666666;
                stroke: white;
                font-family: "DejaVu Sans";
                font-weight: normal;
				text-anchor: middle;
            }

            .highway-name {
                fill: black;
                font-family: "DejaVu Sans";
                font-weight: normal;
                stroke: white;
				text-anchor: middle;
             }

            .bridge-casing {
                stroke-linecap: butt;
                stroke-linejoin: round;
                stroke: #777777;
                fill: none;
                marker-start: url(#bridge-casing-start);
                marker-end: url(#bridge-casing-end);
            }
			
			.bridge-core {
                stroke-linecap: butt;
                stroke-linejoin: round;
                stroke: #f8f8f8;
                fill: none;
			}

            .tunnel-casing {
				stroke-linecap: butt;
                stroke-linejoin: round;
                fill: none;
            }

            .tunnel-core {
                stroke-linecap: butt;
                stroke-linejoin: round;
                fill: none;
            }

			.tunnel { stroke-dasharray: 0.8, 0.8; }


            .railway-rail-bridge-casing             { stroke-width: 6.5px; }
            .railway-rail-bridge-core               { stroke-width: 5.5px; }
            .railway-rail-casing                    { stroke-width: 3.0px; stroke: #aaaaaa; }
            .railway-rail-1-core                    { stroke-width: 1.8px; stroke: #ffffff; }
            .railway-rail-2-core                    { stroke-width: 4.0px; stroke: #aaaaaa; stroke-dasharray: 0.3, 3.0; }

            .railway-light-rail-bridge-casing       { stroke-width: 4.6px; }
            .railway-light-rail-bridge-core         { stroke-width: 3.6px; }
            .railway-light-rail-casing              { stroke-width: 2.4px; stroke: #666666; }
            .railway-light-rail-core                { stroke-width: 1.8px; stroke: #666666; }

            .railway-subway-bridge-casing           { stroke-width: 4.6px; }
            .railway-subway-bridge-core             { stroke-width: 3.6px; }
            .railway-subway-casing                  { stroke-width: 2.4px; stroke: #aaaaaa; }
            .railway-subway-core                    { stroke-width: 1.8px; stroke: #ffffff; stroke-dasharray: 3, 9; }

            .railway-tram-bridge-casing             { stroke-width: 4.6px; }
            .railway-tram-bridge-core               { stroke-width: 3.6px; }
            .railway-tram-casing                    { stroke-width: 2.4px; stroke: #666666; }
            .railway-tram-core                      { stroke-width: 1.8px; stroke: #666666; }

            .railway-narrow-gauge-bridge-casing     { stroke-width: 4.6px; }
            .railway-narrow-gauge-bridge-core       { stroke-width: 3.6px; }
            .railway-narrow-gauge-casing            { stroke-width: 2.4px; stroke: #aaaaaa; }
            .railway-narrow-gauge-core              { stroke-width: 1.8px; stroke: #aaaaaa; }

            .railway-preserved-bridge-casing        { stroke-width: 4.7px; }
            .railway-preserved-bridge-core          { stroke-width: 3.7px; }
            .railway-preserved-casing               { stroke-width: 2.2px; stroke: #666666; }
            .railway-preserved-core                 { stroke-width: 1.8px; stroke: #666666; }
      
            .railway-monorail-bridge-casing         { stroke-width: 4.5px; }
            .railway-monorail-bridge-core           { stroke-width: 3.5px; }
            .railway-monorail-casing                { stroke-width: 2.0px; stroke: #666666; }
            .railway-monorail-core                  { stroke-width: 1.6px; stroke: #a65ca3; }

            .highway-motorway-bridge-casing         { stroke-width: 8px; }
            .highway-motorway-bridge-core           { stroke-width: 7px; }
            .highway-motorway-casing				{ stroke-width: 5.1px;  stroke: #777777; }
            .highway-motorway-area-casing           { stroke-width: 0.5px; }
            .highway-motorway-core					{ stroke-width: 4.6px;  stroke: #809BC0; }
            .highway-motorway-area					{ fill: #809BC0; }
            .highway-motorway-name                  { stroke-width: 0px;     font-size: 6px; }
            .highway-motorway-ref                   { stroke-width: 0px;     font-size: 6px; }

            .highway-trunk-bridge-casing            { stroke-width: 6.5px; }
            .highway-trunk-bridge-core              { stroke-width: 6.0px; }
            .highway-trunk-casing                   { stroke-width: 5.0px;     stroke: #777777; }
            .highway-trunk-area-casing              { stroke-width: 0.5px; }
            .highway-trunk-core                     { stroke-width: 4.5px;  stroke: #7FC97F; }
            .highway-trunk-area                     { fill: #7FC97F; }
            .highway-trunk-name                     { stroke-width: 0px;     font-size: 6px; }
            .highway-trunk-ref                      { stroke-width: 0px;     font-size: 6px; }

            .highway-primary-bridge-casing          { stroke-width: 6.5px; }
            .highway-primary-bridge-core            { stroke-width: 6.0px; }
            .highway-primary-casing                 { stroke-width: 5.0px;     stroke: #777777; }
            .highway-primary-area-casing            { stroke-width: 0.5px; }
            .highway-primary-core                   { stroke-width: 4.5px;  stroke: #e46d71; }
            .highway-primary-area                   { fill: #e46d71; }
            .highway-primary-name                   { stroke-width: 0px;     font-size: 6px; }
            .highway-primary-ref					{ stroke-width: 0px;     font-size: 6px; }

            .highway-motorway-link-bridge-casing    { stroke-width: 6.5px; }
            .highway-motorway-link-bridge-core      { stroke-width: 6.0px; }
            .highway-motorway-link-casing           { stroke-width: 5.0px;     stroke: #777777; }
            .highway-motorway-link-area-casing      { stroke-width: 0.5px; }
            .highway-motorway-link-core             { stroke-width: 4.5px;  stroke: #809BC0; }
            .highway-motorway-link-area             { fill: #809BC0; }
            .highway-motorway-link-name             { stroke-width: 0px;     font-size: 6px; }
            .highway-motorway-link-ref              { stroke-width: 0px;     font-size: 6px; }

            .highway-trunk-link-bridge-casing       { stroke-width: 6.5px; }
            .highway-trunk-link-bridge-core         { stroke-width: 6.0px; }
            .highway-trunk-link-casing              { stroke-width: 5.0px;     stroke: #777777; }
            .highway-trunk-link-area-casing         { stroke-width: 0.5px; }
            .highway-trunk-link-core                { stroke-width: 4.5px;  stroke: #7FC97F; }
            .highway-trunk-link-area                { fill: #7FC97F; }
            .highway-trunk-link-name                { stroke-width: 0px;     font-size: 6px; }
            .highway-trunk-link-ref                 { stroke-width: 0px;     font-size: 6px; }

            .highway-primary-link-bridge-casing     { stroke-width: 6.5px; }
            .highway-primary-link-bridge-core       { stroke-width: 6.0px; }
            .highway-primary-link-casing            { stroke-width: 5.0px;  stroke: #777777; }
            .highway-primary-link-area-casing       { stroke-width: 0.5px; }
            .highway-primary-link-core              { stroke-width: 4.5px;   stroke: #e46d71; }
            .highway-primary-link-area              { fill: #e46d71; }
            .highway-primary-link-name              { stroke-width: 0px;     font-size: 6px; }
            .highway-primary-link-ref               { stroke-width: 0px;     font-size: 6px; }

            .highway-secondary-bridge-casing        { stroke-width: 6.5px; }
            .highway-secondary-bridge-core          { stroke-width: 6.0px; }
            .highway-secondary-casing				{ stroke-width: 5.0px;	 stroke: #777777; }
            .highway-secondary-area-casing          { stroke-width: 0.5px; }
            .highway-secondary-core                 { stroke-width: 4.5px;  stroke: #FDBF6F; }
            .highway-secondary-area                 { fill: #FDBF6F; }
            .highway-secondary-name                 { stroke-width: 0px;     font-size: 5px;}
            .highway-secondary-ref                  { stroke-width: 0px;     font-size: 5px; }

            .highway-tertiary-bridge-casing         { stroke-width: 6.5px; }
            .highway-tertiary-bridge-core           { stroke-width: 6.0px; }
			.highway-tertiary-casing                { stroke-width: 5.0px;  stroke: #777777; }
			.highway-tertiary-area-casing           { stroke-width: 0.5px; }
			.highway-tertiary-core                  { stroke-width: 4.5px;   stroke: #f7f496; }
			.highway-tertiary-area                  { fill: #f7f496; }
            .highway-tertiary-name                  { stroke-width: 0px;     font-size: 5px; }
            .highway-tertiary-ref					{ stroke-width: 0px;     font-size: 5px; }

            .highway-unclassified-bridge-casing     { stroke-width: 5.25px; }
            .highway-unclassified-bridge-core       { stroke-width: 4.25px; }
            .highway-unclassified-casing            { stroke-width: 3.7px;  stroke: #777777; }
            .highway-unclassified-area-casing       { stroke-width: 0.2px; }
            .highway-unclassified-core              { stroke-width: 3.5px;   stroke: #ffffff; }
            .highway-unclassified-area              { fill: #ffffff; }
            .highway-unclassified-name              { stroke-width: 0px;     font-size: 4.5px; }
            .highway-unclassified-ref               { stroke-width: 0px;     font-size: 4.5px; }
            .highway-road-core                      { stroke-width: 3.5px;   stroke: #d0d0d0; }
            .highway-road-area                      { fill: #d0d0d0; }

            .highway-service-bridge-casing          { stroke-width: 4.5px; }
            .highway-service-bridge-core            { stroke-width: 3.5px; }
            .highway-service-casing                 { stroke-width: 1.8px;   stroke: #777777; }
            .highway-service-area-casing            { stroke-width: 0.2px; }
            .highway-service-core                   { stroke-width: 1.6px;   stroke: #ffffff; }
            .highway-service-area                   { fill: #ffffff; }
            .highway-service-name                   { stroke-width: 0px;     font-size: 4px; }
            .highway-service-ref                    { stroke-width: 0px;     font-size: 4px; }

            .highway-unsurfaced-bridge-casing       { stroke-width: 4.5px; }
            .highway-unsurfaced-bridge-core         { stroke-width: 3.5px; }
            .highway-unsurfaced-casing              { stroke-width: 2.2px;   stroke: #777777; stroke-dasharray: 2, 1; stroke-linecap: butt; }
            .highway-unsurfaced-area-casing         { stroke-width: 0.2px; stroke-dasharray: 2, 1; stroke-linecap: butt; }
            .highway-unsurfaced-core                { stroke-width: 2px;   stroke: #ffffff; }
            .highway-unsurfaced-area                { fill: #ffffff; }
            .highway-unsurfaced-name                { stroke-width: 0px;     font-size: 4.5px; }
            .highway-unsurfaced-ref                 { stroke-width: 0px;     font-size: 4.5px; }

            .highway-track-bridge-casing            { stroke-width: 4.5px; }
            .highway-track-bridge-core              { stroke-width: 3.5px; }
            .highway-track-casing                   { stroke-width: 1.8px;   stroke: #d79331; }
            .highway-track-area-casing              { stroke-width: 0.2px; }
            .highway-track-core                     { stroke-width: 1.6px;   stroke: #ffffff; }
            .highway-track-area                     { fill: #ffffff; }
            .highway-track-name                     { stroke-width: 0px;     font-size: 2.5px; }
            .highway-track-ref                      { stroke-width: 0px;     font-size: 2.5px; }

            .highway-track-grade1-casing            { stroke: #777777; }
            .highway-track-grade2-casing            { }
            .highway-track-grade3-casing            { stroke-dasharray: 2.8, 2.0; stroke-linecap: butt; }
            .highway-track-grade4-casing            { stroke-dasharray: 2.8, 2.0, 0.8, 2.0; stroke-linecap: butt; }
            .highway-track-grade5-casing            { stroke-dasharray: 0.8, 2.0; stroke-linecap: butt; }

            .highway-byway-bridge-casing            { stroke-width: 4.5px; }
            .highway-byway-bridge-core              { stroke-width: 3.5px; }
            .highway-byway-1-casing                 { stroke-width: 2px;     stroke: #555555;  stroke-dasharray: 1.4, 0.4; stroke-linecap: butt;}
            .highway-byway-1-area-casing            { stroke-width: 0.4px; }
            .highway-byway-2-casing                 { stroke-width: 1.6px;   stroke: #efadaa; }
            .highway-byway-2-area-casing            { stroke-width: 0.0px; }
            .highway-byway-3-casing                 { stroke-width: 2.8px;   stroke: #555555;  stroke-dasharray: 0.2, 1.6; stroke-dashoffset: 1.2; stroke-linecap: butt; }
            .highway-byway-3-area-casing            { stroke-width: 1.4px; }
            .highway-byway-1-core                   { stroke-width: 0.8px;   stroke: #efadaa; }
            .highway-byway-area                     { fill: #efadaa; }
            .highway-byway-name                     { stroke-width: 0px;     font-size: 2.5px; }
            .highway-byway-ref                      { stroke-width: 0px;     font-size: 2.5px; }

            .highway-bridleway-bridge-casing        { stroke-width: 4.5px; }
            .highway-bridleway-bridge-core          { stroke-width: 3.5px; }
            .highway-bridleway-casing               { stroke-width: 2px;     stroke: #777777;  stroke-dasharray: 1.4, 0.4; stroke-linecap: butt; }
            .highway-bridleway-area-casing          { stroke-width: 0.4px; }
            .highway-bridleway-core                 { stroke-width: 1.6px;   stroke: #e3e9f1; }
            .highway-bridleway-area                 { fill: #e3e9f1; }
            .highway-bridleway-name                 { stroke-width: 0px;     font-size: 2.5px; }
            .highway-bridleway-ref                  { stroke-width: 0px;     font-size: 2.5px; }

            .highway-cycleway-bridge-casing         { stroke-width: 4.5px; }
            .highway-cycleway-bridge-core           { stroke-width: 3.5px; }
            .highway-cycleway-casing                { stroke-width: 1.8px;   stroke: #777777; stroke-dasharray: 0.4, 0.4; stroke-linecap: butt;}
            .highway-cycleway-area-casing           { stroke-width: 0.2px; }
            .highway-cycleway-core                  { stroke-width: 1.6px;   stroke: #d1ead1; }
            .highway-cycleway-area                  { fill: #d1ead1; }
            .highway-cycleway-name                  { stroke-width: 0px;     font-size: 2.5px; }
            .highway-cycleway-ref                   { stroke-width: 0px;     font-size: 2.5px; }

            .highway-pedestrian-bridge-casing       { stroke-width: 4.5px; }
            .highway-pedestrian-bridge-core         { stroke-width: 3.5px; }
            .highway-pedestrian-casing              { stroke-width: 2.2px;   stroke: #aaaaaa; }
            .highway-pedestrian-area-casing         { stroke-width: 0.2px; }
            .highway-pedestrian-core                { stroke-width: 2.0px;   stroke: #eeeeee; }
            .highway-pedestrian-area                { fill: #eeeeee; }
            .highway-pedestrian-name                { stroke-width: 0px;     font-size: 2px; }
            .highway-pedestrian-ref                 { stroke-width: 0px;     font-size: 2.5px; }

            .highway-footway-bridge-casing          { stroke-width: 3.7px; }
            .highway-footway-bridge-core            { stroke-width: 2.7px; }
            .highway-footway-casing                 { stroke-width: 1.2px;   stroke: #777777; stroke-dasharray: 0.4, 0.4; stroke-linecap: butt;}
            .highway-footway-area-casing            { stroke-width: 0.2px; }
            .highway-footway-core                   { stroke-width: 1.0px;   stroke: #efeaa0; }
            .highway-footway-area                   { fill: #efeaa0; }
            .highway-footway-name                   { stroke-width: 0px;     font-size: 2.5px; }
            .highway-footway-ref                    { stroke-width: 0px;     font-size: 2.5px; }

            .highway-steps-bridge-casing            { stroke-width: 3.7px; }
            .highway-steps-bridge-core              { stroke-width: 2.7px; }
            .highway-steps-casing                   { stroke-width: 1.2px;   stroke: #777777; }
            .highway-steps-core                     { stroke-width: 1.0px;   stroke: #e5e0c2; stroke-dasharray: 0.6, 0.2; stroke-linecap: butt;}
            .highway-steps-name                     { stroke-width: 0px;     font-size: 2.5px; }
            .highway-steps-ref                      { stroke-width: 0px;     font-size: 2.5px; }

            .highway-scramble-core                  { stroke-width: 0.6px;   stroke: #777777; stroke-dasharray: 3.2, 0.8; stroke-linecap: butt;}

            /* Aeroways */
            .aeroway-apron {
                stroke-width: 0.6px;
                stroke: none;
                fill: #f0f0f0;
            }

            .aeroway-taxiway-casing {
                stroke-width: 6px;
                stroke-linecap: butt;
                stroke-linejoin: round;
                stroke: #000000;
                fill: none;
            }

            .aeroway-taxiway-core {
                stroke-width: 4px;
                stroke-linecap: butt;
                stroke-linejoin: round;
                stroke: #d4dcbd;
                fill: none;
            }

            .aeroway-runway-core {
                stroke-width: 10px;
                stroke-linecap: square;
                stroke-linejoin: round;
                stroke: #d4dcbd;
                fill: none;
            }

            .aeroway-runway-casing {
                stroke-width: 14px;
                stroke-linecap: square;
                stroke-linejoin: round;
                stroke: #000000;
                fill: none;
            }

            .aeroway-aerodrome-caption {
                fill: black;
                stroke: white;
                stroke-width: 0.6px;
                font-family: "DejaVu Sans";
                font-size: 12px;
                font-weight: bold;
            }

            .aeroway-airport-caption {
                fill: black;
                stroke: white;
                stroke-width: 0.6px;
                font-family: "DejaVu Sans";
                font-size: 20px;
                font-weight: bold;
            }


            /* Waterways */
			.waterway-name-casing { 
				stroke: #333333; 
				fill: white; 
				font-family: "DejaVu Sans"; 
				font-weight: bold; 
				text-anchor: middle; 
				stroke-miterlimit: 1.5;
			}

            .waterway-name-core {
                stroke: green;
                fill: white;
                stroke-width: 0px;
                font-family: "DejaVu Sans";
                font-weight: bold;
                text-anchor: middle;
                stroke-miterlimit: 1.5;
            }

            .waterway-casing {
                stroke-linecap: round;
                stroke-linejoin: round;
                stroke: #b5d6f1;
                fill: none;
            }

            .waterway-core {
                stroke-linecap: round;
                stroke-linejoin: round;
                stroke: #b5d6f1;
                fill: none;
            }

            .waterway-riverbank {
                fill: #b5d6f1;
                stroke: #aaaaaa;
                stroke-width: 0px;
            }

            .waterway-river-casing                  { stroke-width: 6px; }
            .waterway-river-core                    { stroke-width: 4px; }
			.waterway-river-name-casing             { font-size: 6px; stroke-width: 0.4px;}
			.waterway-river-name-core               { font-size: 6px; }

            .waterway-stream-casing                 { stroke-width: 1px; }
            .waterway-stream-core                   { stroke-width: 0.8px; }
			.waterway-stream-name-casing            { font-size: 3px; stroke-width: 0.2px;}
			.waterway-stream-name-core              { font-size: 3px; }

            .waterway-canal-casing                  { stroke-width: 4px; }
            .waterway-canal-core                    { stroke-width: 2px; }
			.waterway-canal-name-casing             { font-size: 6px; stroke-width: 0.4px;}
			.waterway-canal-name-core               { font-size: 6px; }

            .waterway-drain-casing                  { stroke-width: 2px; }
            .waterway-drain-core                    { stroke-width: 1px; }
			.waterway-drain-name-casing             { font-size: 3px; stroke-width: 0.2px;}
			.waterway-drain-name-core               { font-size: 3px; }


			/* Generic under-construction style - makes any way dashed */
			.under-construction { stroke-dasharray: 8, 10; }


            /* Ferry */
            .route-ferry {
                stroke-width: 2px;
                stroke-dasharray: 12,8;
                stroke-linecap: butt;
                stroke-linejoin: round;
                stroke: #777777;
                fill: none;
            }


            /* Place names */
			/* General style for captions */
			.place-caption {
				fill: black;
				stroke: none;
                font-family: "DejaVu Sans";
                font-weight: bold;
				text-anchor: middle;
			}
			
            .caption-casing {
				fill: white;
                stroke: white;
                font-family: "DejaVu Sans";
                font-weight: bold;
                text-anchor: middle;
                stroke-miterlimit: 1.5;
            }

            .caption-core {
                stroke: white;
                stroke-width: 0px;
                font-family: "DejaVu Sans";
                font-weight: bold;
                text-anchor: middle;
                stroke-miterlimit: 1.5;
            }

			.peak-caption           { font-size: 6px; }
            .islet-caption          { font-size: 8px; }
            .village-caption        { font-size: 8px; }
            .suburb-caption         { font-size: 8px; }
            .hamlet-caption         { font-size: 6px; }
            .locality-caption       { font-size: 6px; }            
            .farm-caption           { font-size: 4px; }



            /* Natural */
            .natural-water {
                fill: #b5d6f1;
                stroke: #aaaaaa;
                stroke-width: 0px;
            }

            .natural-coastline {
                fill: #b5d6f1;
                stroke: #b5d6f1;
                stroke-width: 0.8px;
            }

            .natural-land {
                fill: #ffffff;
                stroke: #e0e0e0;
                stroke-width: 0.2px;
            }

            .natural-heath {
                fill: #ffffc0;
                stroke: #ffff90;
                stroke-width: 0.2px;
            }

            .natural-beach {
                fill: #eecc55;
                stroke: none;
            }

            /* Landuse */
            .landuse-wood {
                fill: #72bf81;
                stroke: #6fc18e;
                stroke-width: 0.4px;
            }

            .landuse-wood-coniferous {
                fill: url(#wood-coniferous-pattern);
                stroke: #6fc18e;
                stroke-width: 0.2px;
            }

            .landuse-wood-deciduous {
                fill: url(#wood-deciduous-pattern);
                stroke: #6fc18e;
                stroke-width: 0.2px;
            }

            .landuse-wood-mixed {
                fill: url(#wood-mixed-pattern);
                stroke: #6fc18e;
                stroke-width: 0.2px;
            }

            .landuse-cemetery {
                fill: url(#cemetery-pattern);
                stroke: #eeeeee;
                stroke-width: 0.4px;
            }

            .landuse-cemetery-christian {
                fill: url(#cemetery-christian-pattern);
                stroke: #eeeeee;
                stroke-width: 0.4px;
            }

            .landuse-vineyard {
                fill: url(#vineyard-pattern);
                stroke: #eeeeee;
                stroke-width: 0.2px;
            }

            .landuse-field {
                fill: #bde3cb;
                stroke: #6fc13d;
                stroke-width: 0.4px;
            }

            .landuse-residential {
                stroke: none;
                fill: #f2f2f2;
            }

            .landuse-industrial {
                fill: #ecd8ff;
                stroke: #eeeeee;
                stroke-width: 0.4px;
            }

            .landuse-commercial {
                fill: #fcffc9;
                stroke: #eeeeee;
                stroke-width: 0.4px;
            }

            .landuse-quarry {
                fill: #E2CF80;
                stroke: #5A6332;
                stroke-width: 0.2px;
            }

            .landuse-retail {
                fill: #ffebeb;
                stroke: #eeeeee;
                stroke-width: 0.4px;
            }

			.landuse-runway {
			  stroke-width: 0.6px;
			  stroke: #808080;
			  fill: #d4dcbd;
			  }

			.landuse-runway-disused {
			  stroke-width: 0.6px;
			  stroke: #808080;
			  fill: #d4dcbd;
			  stroke-dasharray: 2, 2;
			  }

			.landuse-runway-dismantled {
			  stroke-width: 0.6px;
			  stroke: #808080;
			  fill: #fcffef;
			  stroke-dasharray: 0.6, 3.4;
			  opacity: 0.5;
			  }

			.artificial-pier-core {
			  stroke-width: 0.6px;
			  stroke-linecap: butt;
			  stroke-linejoin: round; 
			  stroke: #eeeeee;
			  fill: none;
			  }

			.artificial-pier-casing {
			  stroke-width: 0.8px;
			  stroke-linecap: butt;
			  stroke-linejoin: round; 
			  stroke: #cccccc;
			  fill: none;
			  }



            /* Leisure */
            .leisure-park {
                fill: #c7f1a3;
                stroke: #6fc18e;
                stroke-width: 0.4px;
            }

            .leisure-stadium {
                fill: #bde3cb;
                stroke: #6fc18e;
                stroke-width: 0.4px;
            }

            .leisure-track {
                fill: #bde3cb;
                stroke: #6fc18e;
                stroke-width: 0.4px;
            }

            .leisure-swimming-pool {
                fill: #b5d6f1;
                stroke: #6060ff;
                stroke-width: 0.2px;
            }

            .sport {
                fill: #bde3cb;
                stroke: #6fc18e;
                stroke-width: 0.4px;
            }

            .sport-swimming {
                fill: #b5d6f1;
                stroke: #6060ff;
                stroke-width: 0.2px;
            }

            .sport-tennis {
                fill: #d18a6a;
                stroke: #B36C4C;
                stroke-width: 0.2px;
            }

            .amenity-parking {
                fill: #f7efb7;
                stroke: #e9dd72;
                stroke-width: 0.4px;
            }

            .amenity-school {
                fill: #dfafdd;
                stroke: #e9dd72;
                stroke-width: 0.4px;
            }


			/* Non-physical boundaries */
            .boundary {
                stroke-linecap: butt;
                stroke-linejoin: round;
                fill: none;
            }

			.boundary-administrative-state-casing {
				stroke-width: 10px; 
				stroke: #ffff00;
				opacity: 0.5;
			}

			.boundary-administrative-state-core {
				stroke-width: 1.0px; 
				stroke: #f9574b;
				stroke-dasharray: 5, 1, 1, 1;
			}

			.boundary-administrative-district-core {
				stroke-width: 0.5px; 
				stroke: #f9574b;
				stroke-dasharray: 3, 1, 1, 1;
			}

			.boundary-administrative-parish-core {
				stroke-width: 0.5px; 
				stroke: #f9574b;
				stroke-dasharray: 1, 1, 1, 1;
			}


			/* Racetracks */
			.highway-racetrack-core {
			  stroke-width: 1.5px;
			  stroke-linecap: butt;
			  stroke-linejoin: round;
			  fill: none;
			  stroke: #f0f0f0;
			}

			.highway-racetrack-casing-red {
			  stroke-width: 1.7px;
			  stroke-dasharray: 0.2, 0.2;
			  stroke-linecap: butt;
			  stroke-linejoin: round;
			  fill: none;
			  stroke: #ff0000;
			}

			.highway-racetrack-casing-white {
			  stroke-width: 1.7px;
			  stroke-linecap: butt;
			  stroke-linejoin: round;
			  fill: none;
			  stroke: #ffffff;
			}

			.highway-raceway-casing {
			  stroke-width: 4px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: none;
			  stroke: #101010;
			  }

			.highway-raceway-casing-disused {
			  stroke-width: 4px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: none;
			  stroke: #808080;
			  stroke-dasharray: 2, 2;
			  }

			.highway-raceway-casing-dismantled {
			  stroke-width: 4px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: none;
			  stroke: #808080;
			  stroke-dasharray: 0.6, 3.4;
			  opacity: 0.5;
			  }

			.highway-raceway-core {
			  stroke-width: 3px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: none;
			  stroke: #f0f0f0;
			  }

			.highway-raceway-core-disused {
			  stroke-width: 3px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: none;
			  stroke-dasharray: 2, 2;
			  stroke: #f7f7f7;
			  }

			.highway-raceway-core-dismantled {
			  stroke-width: 3px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: none;
			  stroke: #fbfbfb;
			  stroke-dasharray: 0.6, 3.4;
			  opacity: 0.5;
			  }
			  
			.landuse-raceway {
			  stroke-width: 0.6px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: #f0f0f0;
			  stroke: #101010;
			  }

			.landuse-raceway-disused {
			  stroke-width: 0.6px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: #f7f7f7;
			  stroke: #808080;
			  stroke-dasharray: 2, 2;
			  }

			.landuse-raceway-dismantled {
			  stroke-width: 0.6px; 
			  stroke-linecap: butt; 
			  stroke-linejoin: round; 
			  fill: #fbfbfb;
			  stroke: #808080;
			  stroke-dasharray: 0.6, 3.4;
			  opacity: 0.5;
			  }


            .railway-station                        { fill: #ec2d2d;        stroke: #666666; stroke-width: 1px; }
            .railway-station-caption-casing         { stroke-width: 1px;  font-size: 6px; }
            .railway-station-caption-core           { fill: #ec2d2d;        font-size: 6px; }

            .railway-halt                           { fill: #ec2d2d;        stroke: #666666; stroke-width: 0.4px; }
            .railway-halt-caption-casing            { stroke-width: 0.8px;  font-size: 5px; }
            .railway-halt-caption-core              { fill: #ec2d2d;        font-size: 5px; }


            /* Tourism */
            .tourism-attraction {
                fill: #f2caea;
                stroke: #f124cb;
                stroke-width: 0px;
            }
           .tourism-green-area {
                fill: #c7f1a3;
                stroke: #6fc18e;
                stroke-width: 0.2px;
            }
            .tourism-attraction-caption {
                fill: #f124cb;
                stroke: white;
                stroke-width: 0px;
                font-family: "DejaVu Sans";
                font-size: 5px;
                font-weight: bold;
                text-anchor: middle;
            }


            .generic-caption-casing              { stroke-width: 1px;   font-size: 2px; }
            .generic-caption-core                { fill: #2e3ae6;        font-size: 2px; }

            .generic-poi {
                fill: #2e3ae6;
                stroke: #666666;
                stroke-width: 0.2px;
            }

            /* Building */
            .building {
                fill: #dddddd;
                stroke: #cccccc;
                stroke-width: 0.1px;
            }

            .building-block {
                fill: #F3D6B6;
                stroke: #6a5a8e;
                stroke-width: 0.1px;
            }

            .building-residential {
                fill: #c95e2a;
                stroke: #80290a;
                stroke-width: 0.1px;
            }


            /* Aerialway */
            .aerialway-line {
                fill: none;
                stroke: #202020;
                stroke-width: 0.4px;
            }

            .aerialway-cablecar-marker {
                marker-start:url(#marker-cablecar);
            }

            .aerialway-gondola-marker {
                marker-start:url(#marker-gondola);
            }

            .aerialway-chairlift2-marker {
                marker-start:url(#marker-chair-lift-2);
            }

            .aerialway-chairlift4-marker {
                marker-start:url(#marker-chair-lift-4);
            }

            .aerialway-mixedlift-marker {
                marker-start:url(#marker-mixed-lift);
            }

            .aerialway-struts {
                fill: none;
                stroke: #202020;
                stroke-width: 4px;
                stroke-dasharray: 0.4,20;
            }

            .aerialway-station {
                fill: black;
                stroke: black;
                stroke-width: 1px;
            }

            .aerialway-name {
                fill: #606060;
                font-family: "DejaVu Sans";
                font-weight: normal;
                font-size: 5px;
                stroke: none;
				text-anchor: middle;
            }

            .military-area {
               fill: url(#military-pattern);
               stroke: #eeeeee;
               stroke-width: 0.2px;                                          
            }

            /* surface lifts */

            .piste-lift-t-bar-marker {
                marker-start:url(#marker-piste-lift-t-bar);
            }

            .piste-lift-rope-tow {
                fill: none;
                stroke: #a47c41;
                stroke-width: 0.5px;
                stroke-dasharray: 1,1;
                stroke-linecap: square;
            }

            .piste-lift-magic-carpet {
                fill: none;
                stroke: #101010;
                stroke-width: 0.8px;
            }

		/* Piste maps */
		.piste-core {
			fill: none;
			stroke-linecap: round;
			stroke-linejoin: round;
			stroke-width: 5px;
			opacity: 0.8;
		}

		.piste-difficulty-novice       { stroke: #31ff31; }
		.piste-difficulty-easy         { stroke: #3131ff; }
		.piste-difficulty-intermediate { stroke: #ff3131; }
		.piste-difficulty-advanced     { stroke: #060606; }
		.piste-difficulty-expert       { stroke: #f6800a; }
		.piste-difficulty-freeride     { stroke: #f6dd0a; }
		.piste-difficulty-other        { stroke: #505050; }

		.piste-type-sled {
			fill: none;
			/* stroke: #8040a0; */
			stroke: #cdabde;
			stroke-width: 2.5px;
			marker-start:url(#marker-piste-type-sled);
		}

		.piste-type-nordic {
			fill: none;
			stroke: #c00000;
			stroke-width: 1px;
			stroke-dasharray: 3,0.5;
			marker-start:url(#marker-piste-type-nordic);
		}

		.piste-downhill-name {
			fill: #ffffff;
			font-family: "DejaVu Sans";
			font-weight: normal;
			font-size: 5px;
			text-anchor: middle;
		}

		.piste-downhill-ref {
			fill: #000000;
			font-family: "DejaVu Sans";
			font-weight: normal;
			font-size: 5px;
			text-anchor: middle;
		}

		.man-made-piste-halfpipe {
			fill: #a0f0ff;
			stroke: #00bcdf;
			stroke-width: 0.4px;
		}

            /* Power line */
            .power-line {
                stroke-width: 0.1px;
                stroke-linecap: butt;
                stroke-linejoin: round;
                stroke: #cccccc;
                stroke-dasharray: 2 ,2;
                fill: none;
            }

			/* Area captions */
            .park-name {
                fill: #444444;
                font-family: "DejaVu Sans";
                font-weight: normal;
                stroke: white;
                font-size: 4.5px;
                stroke-width: 0.0px;
             }

            .landuse-reservoir-name {
                fill: #444444;
                font-family: "DejaVu Sans";
                font-weight: normal;
                stroke: white;
                font-size: 4.5px;
                stroke-width: 0.0px;
             }


            /* Oneway */
            .oneway-casing {
				fill: none;
				stroke-linecap: butt;
				stroke: #777777;
            }

            .oneway-core {
				fill: none;
				stroke-linecap: butt;
				stroke: #ffffff;
            }
            
            .oneway-casing-1 {
				stroke-width: 0.4px;
				stroke-dasharray: 4.2,55.8;
				stroke-dashoffset: 46.2;
            }

            .oneway-casing-2 {
				stroke-width: 0.95px;
				stroke-dasharray: 0.6,59.4;
				stroke-dashoffset: 43.4;
            }

            .oneway-casing-3 {
				stroke-width: 0.8px;
				stroke-dasharray: 0.6,59.4;
				stroke-dashoffset: 43.2;
            }

            .oneway-casing-4 {
				stroke-width: 0.65px;
				stroke-dasharray: 0.8,59.2;
				stroke-dashoffset: 43.2;
            }

            .oneway-casing-5 {
				stroke-width: 0.5px;
				stroke-dasharray: 1.0,59;
				stroke-dashoffset: 43.2;
            }

            .oneway-casing-6 {
				stroke-width: 0.35px;
				stroke-dasharray: 1.2,58.8;
				stroke-dashoffset: 43.2;
            }

            .oneway-casing-7 {
				stroke-width: 0.2px;
				stroke-dasharray: 1.4,58.6;
				stroke-dashoffset: 43.2;
            }

            .oneway-casing-8 {
				stroke-width: 0.1px;
				stroke-dasharray: 1.6,58.4;
				stroke-dashoffset: 43.2;
            }

            .oneway-core-1 {
				stroke-width: 0.2px;
				stroke-dasharray: 4,56;
				stroke-dashoffset: 46;
            }

            .oneway-core-2 {
				stroke-width: 0.85px;
				stroke-dasharray: 0.4,59.6;
				stroke-dashoffset: 43.2;
            }

            .oneway-core-3 {
				stroke-width: 0.7px;
				stroke-dasharray: 0.6,59.4;
				stroke-dashoffset: 43.2;
            }

            .oneway-core-4 {
				stroke-width: 0.55px;
				stroke-dasharray: 0.8,59.2;
				stroke-dashoffset: 43.2;
            }

            .oneway-core-5 {
				stroke-width: 0.4px;
				stroke-dasharray: 1.0,59;
				stroke-dashoffset: 43.2;
            }

            .oneway-core-6 {
				stroke-width: 0.25px;
				stroke-dasharray: 1.2,58.8;
				stroke-dashoffset: 43.2;
            }

            .oneway-core-7 {
				stroke-width: 0.1px;
				stroke-dasharray: 1.4,58.6;
				stroke-dashoffset: 43.2;
            }

            .otherway {
				fill: none;
				stroke: red;
				stroke-width: 2px;
				stroke-opacity: 0;
                /* marker-start: url(#marker-otherway-start); */
                marker-end: url(#marker-otherway-end);
            }


	    /* Access restrictions */
	    .access-private-line {
		fill: none;
		stroke: url(#access-private-pattern);
		stroke-width: 4px;
	    }
	    .access-private-area {
		fill: url(#access-private-pattern);
		stroke: url(#access-private-pattern);
		stroke-width: 4px;
	    }
	    .access-private-small-area {
		fill: url(#access-private-pattern);
		stroke: url(#access-private-pattern);
		stroke-width: 2px;
	    }

	    .access-permissive-line {
		fill: none;
		stroke: url(#access-permissive-pattern);
		stroke-width: 4px;
	    }
	    .access-permissive-area {
		fill: url(#access-permissive-pattern);
		stroke: url(#access-permissive-pattern);
		stroke-width: 4px;
	    }
	    .access-permissive-small-area {
		fill: url(#access-permissive-pattern);
		stroke: url(#access-permissive-pattern);
		stroke-width: 2px;
	    }

	    .access-destination-line {
		fill: none;
		stroke: url(#access-destination-pattern);
		stroke-width: 4px;
	    }
	    .access-destination-area {
		fill: url(#access-destination-pattern);
		stroke: url(#access-destination-pattern);
		stroke-width: 4px;
	    }
	    .access-destination-small-area {
		fill: url(#access-destination-pattern);
		stroke: url(#access-destination-pattern);
		stroke-width: 2px;
	    }

	    .access-no-line {
		fill: none;
		stroke: url(#access-no-pattern);
		stroke-width: 4px;
	    }
	    .access-no-area {
		fill: url(#access-no-pattern);
		stroke: url(#access-no-pattern);
		stroke-width: 4px;
	    }
	    .access-no-small-area {
		fill: url(#access-no-pattern);
		stroke: url(#access-no-pattern);
		stroke-width: 2px;
	    }

            /* Map decoration */
            .map-grid-line {
                fill: none;
                stroke: #8080ff;
                stroke-width: 0.1px;
                stroke-opacity: 0.5;
            }

            .map-border-casing {
                fill: none;
                stroke: #8080ff;
                stroke-width: 3px;
                stroke-miterlimit: 4;
                stroke-dasharray: none;
                stroke-opacity: 1;
                stroke-linecap: round;
            }

            .map-border-core {
                fill: none;
                fill-opacity: 1;
                fill-rule: nonzero;
                stroke: #ffffff;
                stroke-width: 2px;
                stroke-miterlimit: 0;
                stroke-dashoffset: -0.5px;
                stroke-opacity: 1;
            }

            .map-scale-casing {
                fill: none;
                stroke: #8080ff;
                stroke-width: 4px;
                stroke-linecap: butt;
            }

            .map-scale-core {
                fill: none;
                stroke: #ffffff;
                stroke-width: 3px;
                stroke-linecap: butt;
            }

            .map-scale-bookend {
                fill: none;
                stroke: #8080ff;
                stroke-width: 1px;
                stroke-linecap: butt;
            }

            .map-scale-caption {
                font-family: "DejaVu Sans";
                font-size: 10px;
                fill: #8080ff;
            }

            <!-- map background must be the same for all zooms or else empty tile detection will fail -->
            .map-background {
                fill: #f8f8f8;
                stroke: none;
            }

            .map-title {
                font-family: "DejaVu Sans";
                font-size: 20px;
                text-anchor: middle;
                fill: black;
            }

            .map-title-background {
                fill: white;
            }

            .map-marginalia-background {
                fill: white;
            }

			.highway-tunnel-ends {
				stroke-opacity: 0;
				fill: none;
				marker-start: url(#marker-tunnel-start);
				marker-end: url(#marker-tunnel-end);
			 }

			/* Osmarender built-in styles - do not remove */
			.osmarender-stroke-linecap-round { stroke-linecap: round; }
			.osmarender-stroke-linecap-butt { stroke-linecap: butt; }
			.osmarender-mask-black { stroke: black; }
			.osmarender-mask-white { stroke: white; }
			.osmarender-no-marker-start { marker-start: none; }
			.osmarender-no-marker-end { marker-end: none; }

        </style>

        <svg:pattern x="0" y="0" width="200" height="200" id="wood-deciduous-pattern" patternUnits="userSpaceOnUse" patternTransform="scale(0.1)">
            <svg:rect fill="#72bf81" width="205" height="205" x="0" y="0"/>
            <svg:path fill="#2b743f" d="M 27,1 C 20,1 13,7 13,14 C 13,16 13,18 15,20 C 11,22 8,26 8,29 C 8,36 16,43 28,43 L 28,63 L 37,63 L 37,43 C 48,43 57,36 57,29 C 57,26 55,23 52,21 C 55,14 45,4 37,6 C 36,3 33,1 27,1"/>
            <svg:path fill="#2b743f" d="M 77,101 C 70,101 63,107 63,114 C 63,116 63,118 65,120 C 61,122 58,126 58,129 C 58,136 66,143 78,143 L 78,163 L 87,163 L 87,143 C 98,143 107,136 107,129 C 107,126 105,123 102,121 C 105,114 95,104 87,106 C 86,103 83,101 77,101"/>
        </svg:pattern>
        <svg:pattern x="0" y="0" width="200" height="200" id="wood-coniferous-pattern" patternUnits="userSpaceOnUse" patternTransform="scale(0.1)">
            <svg:rect fill="#72bf81" width="205" height="205" x="0" y="0"/>
            <svg:path fill="#2b743f" d="M 15,24 L 25,24 L 10,39 L 25,39 L 5,54 L 25,54 L 25,64 L 35,64 L 35,54 L 55,54 L 35,39 L 50,39 L 35,24 L 45,24 L 30,4 L 15,24"/>
            <svg:path fill="#2b743f" d="M 65,124 L 75,124 L 60,139 L 75,139 L 55,154 L 75,154 L 75,164 L 85,164 L 85,154 L 105,154 L 85,139 L 100,139 L 85,124 L 95,124 L 80,104 L 65,124"/>
        </svg:pattern>
        <svg:pattern x="0" y="0" width="300" height="200" id="wood-mixed-pattern" patternUnits="userSpaceOnUse" patternTransform="scale(0.1)">
            <svg:rect fill="#72bf81" width="305" height="205" x="0" y="0"/>
            <svg:path fill="#2b743f" d="M 27,1 C 20,1 13,7 13,14 C 13,16 13,18 15,20 C 11,22 8,26 8,29 C 8,36 16,43 28,43 L 28,63 L 37,63 L 37,43 C 48,43 57,36 57,29 C 57,26 55,23 52,21 C 55,14 45,4 37,6 C 36,3 33,1 27,1"/>
            <svg:path fill="#2b743f" d="M 65,54 L 75,54 L 60,69 L 75,69 L 55,84 L 75,84 L 75,94 L 85,94 L 85,84 L 105,84 L 85,69 L 100,69 L 85,54 L 95,54 L 80,34 L 65,54"/>
            <svg:path fill="#2b743f" d="M 165,104 L 175,104 L 160,119 L 175,119 L 155,134 L 175,134 L175,144 L 185,144 L 185,134 L 205,134 L 185,119 L 200,119 L 185,104 L 195,104 L 180,84 L 165,104"/>
            <svg:path fill="#2b743f" d="M 227,101 C 220,101 213,107 213,114 C 213,116 213,118 215,120 C 211,122 208,126 208,129 C 208,136 216,143 228,143 L 228,163 L 237,163 L 237,143 C 248,143 257,136 257,129 C 257,126 255,123 252,121 C 255,114 245,104 237,106 C 236,103 233,101 227,101"/>
        </svg:pattern>

        <svg:pattern id="military-pattern" x="0" y="0" width="500" height="500" patternUnits="userSpaceOnUse" patternTransform="scale(0.01)">
            <svg:rect width="510" height="510" x="0" y="0" fill="#969632"/>
            <svg:path fill="#505000" d="M 311.4875,112.4725 L 240.86574,112.4725 L 219.18975,100.81875 L 219.18975,67.95515 L 358.10253,55.13602 L 358.10253,98.02185 L 311.4875,107.11177 L 311.4875,112.4725 z "/>
            <svg:path fill="#505000" d="M 86.10386,157.81856 L 404.48447,158.3883 L 404.43115,99.18722 L 313.11903,119.23168 L 180.26621,119.23168 L 86.10386,144.40379 C 80.55682,146.64725 78.71816,157.81856 86.10386,157.81856 z "/>
            <svg:path fill="#505000" d="M 176.69134,184.53979 C 176.69131,195.84684 167.54017,205.02094 156.23316,205.04931 C 144.92615,205.07768 135.72909,195.94962 135.67232,184.64271 C 135.61555,173.33581 144.72048,164.11585 156.02721,164.03068 C 167.33393,163.94551 176.57673,173.02726 176.6903,184.33373"/>
            <svg:path fill="#505000" d="M 222.85374,184.53979 C 222.85371,195.84684 213.70257,205.02094 202.39556,205.04931 C 191.08855,205.07768 181.89149,195.94962 181.83472,184.64271 C 181.77795,173.33581 190.88288,164.11585 202.18961,164.03068 C 213.49633,163.94551 222.73913,173.02726 222.8527,184.33373"/>
            <svg:path fill="#505000" d="M 268.20674,184.53979 C 268.20671,195.84684 259.05557,205.02094 247.74856,205.04931 C 236.44155,205.07768 227.24449,195.94962 227.18772,184.64271 C 227.13095,173.33581 236.23588,164.11585 247.54261,164.03068 C 258.84933,163.94551 268.09213,173.02726 268.2057,184.33373"/>
            <svg:path fill="#505000" d="M 314.63974,184.53979 C 314.63971,195.84684 305.48857,205.02094 294.18156,205.04931 C 282.87455,205.07768 273.67749,195.94962 273.62072,184.64271 C 273.56395,173.33581 282.66888,164.11585 293.97561,164.03068 C 305.28233,163.94551 314.52513,173.02726 314.6387,184.33373"/>
            <svg:path fill="#505000" d="M 104.62906,164.30601 L 95.06656,164.74351 C 89.7409,177.99161 94.17664,190.11388 108.81656,199.08726 C 125.31404,209.1992 145.13754,218.93662 150.87906,219.08726 L 345.94156,219.14976 C 351.68308,218.99912 371.50659,209.26172 388.00406,199.14976 C 402.64398,190.17638 407.07972,178.02286 401.75406,164.77476 L 392.19156,164.36851 C 395.0692,176.76396 397.55281,185.1301 379.62906,193.61851 C 364.95912,200.56595 349.45269,208.83667 347.03531,209.33726 L 149.78531,209.30601 C 147.36794,208.8054 131.89275,200.50345 117.22281,193.55601 C 99.29906,185.06761 101.75142,176.70146 104.62906,164.30601 z M 81.325,74.26296 L 81.325,87.85048 L 214.52384,92.37965 L 214.52384,74.05709 L 81.325,74.26296 z "/>
            <svg:path fill="#505000" d="M 360.71264,185.61239 C 360.71261,196.91944 351.56147,206.09354 340.25446,206.12191 C 328.94745,206.15028 319.75039,197.02222 319.69362,185.71531 C 319.63685,174.40841 328.74178,165.18845 340.04851,165.10328 C 351.35523,165.01811 360.59803,174.09986 360.7116,185.40633"/>
            <svg:path fill="#505000" d="M 389.14837,176.08104 C 389.14835,182.52632 383.93199,187.75578 377.48672,187.77195 C 371.04145,187.78813 365.79891,182.58491 365.76655,176.1397 C 365.73419,169.6945 370.92422,164.4389 377.36932,164.39035 C 383.81443,164.3418 389.08304,169.51862 389.14778,175.96358"/>
            <svg:path fill="#505000" d="M 130.88767,176.08104 C 130.88765,182.52632 125.67129,187.75578 119.22602,187.77195 C 112.78075,187.78813 107.53821,182.58491 107.50585,176.1397 C 107.47349,169.6945 112.66352,164.4389 119.10862,164.39035 C 125.55373,164.3418 130.82234,169.51862 130.88708,175.96358"/>
        </svg:pattern>

        <svg:pattern id="cemetery-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="scale(0.25)">
            <svg:rect fill="#bde3cb" width="10" height="10" x="0" y="0"/>
            <svg:path fill="#b5b5b5" stroke-width="0.1" d="M 1.48,0.13 C 2.12,0.13 2.63,0.64 2.63,1.28 L 2.63,4.27 L 0.33,4.27 L 0.33,1.28 C 0.33,0.64 0.85,0.13 1.48,0.13 z "/>
            <svg:path fill="#b5b5b5" stroke-width="0.1" d="M 6.64,5.78 C 7.27,5.78 7.79,6.29 7.79,6.92 L 7.79,9.91 L 5.49,9.91 L 5.49,6.92 C 5.49,6.29 6.00,5.78 6.64,5.78 z "/>
        </svg:pattern>
        <svg:pattern id="cemetery-christian-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="scale(0.25)">
            <svg:rect fill="#bde3cb" width="11" height="11" x="0" y="0"/>
            <svg:path stroke="black" stroke-width="0.2" d="M1,1 L3,1 M2,0 L2,3 M6,6 L8,6 M7,5 L7,8"/>
        </svg:pattern>

        <svg:pattern id="access-private-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="scale(0.25)">
            <svg:path fill="none" stroke="#ff4040" stroke-width="0.2" d="M10,0 L0,10 M0,0 L10,10"/>
        </svg:pattern>
        <svg:pattern id="access-permissive-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="scale(0.25)">
            <svg:path fill="none" stroke="#40ff40" stroke-width="0.2" d="M10,0 L0,10 M0,0 L10,10"/>
        </svg:pattern>
        <svg:pattern id="access-destination-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="scale(0.25)">
            <svg:path fill="none" stroke="#4040ff" stroke-width="0.2" d="M10,0 L0,10 M0,0 L10,10"/>
        </svg:pattern>
        <svg:pattern id="access-no-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse" patternTransform="scale(0.25)">
            <svg:path fill="none" stroke="#ff4040" stroke-width="0.2" d="M10,0 L0,10 M0,0 L10,10"/>
        </svg:pattern>

        <svg:pattern patternUnits="userSpaceOnUse" width="104.8886" height="112.38862" patternTransform="scale(0.05,0.05)" id="vineyard-pattern">
            <svg:rect fill="#d5f2e0" width="104.8886" height="112.38862" x="0" y="0"/>
            <svg:g transform="translate(-35,-59.111382)">
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="105" y="69"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5156324" height="2.3059964" x="104.54168" y="95.686478"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="120" y="69"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5156324" height="2.3059964" x="91.572838" y="95.066086"/>
                <svg:path style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#bf5bc3;stroke-width:1.79999995;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 102.72166,94.632518 C 102.72166,94.632518 102.51202,95.733107 102.51202,86.247077 C 102.51202,84.082553 104.39875,79.905587 96.851849,75.974911"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-1.4674523,16.770883)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-4.6119891,6.2890801)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(10.27217,-2.7252699)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-6.7083494,-4.4023583)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(4.1927244,9.8528923)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(2.096364,0.6289069)"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="75" y="69"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="90" y="69"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="110" y="81.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="125" y="81.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="80" y="81.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="95" y="81.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="130" y="94"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="85" y="94"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="120" y="106.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="75" y="106.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="110" y="119"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="125" y="119"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="80" y="119"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="115" y="131.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="130" y="131.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="85" y="131.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="100" y="131.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="60" y="106.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5156324" height="2.3059964" x="59.541687" y="133.18648"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="75" y="106.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5156324" height="2.3059964" x="46.572845" y="132.56609"/>
                <svg:path style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#bf5bc3;stroke-width:1.79999995;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 57.72166,132.13252 C 57.72166,132.13252 57.51202,133.23311 57.51202,123.74708 C 57.51202,121.58255 59.39875,117.40559 51.85185,113.47491"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-46.467452,54.270883)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-49.611989,43.78908)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-34.72783,34.77473)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-51.708349,33.097642)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-40.807276,47.352892)"/>
                <svg:path style="fill:#ffffff;fill-opacity:1;stroke:#bf5bc3;stroke-width:1.20000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 106.28547 97.357788 A 5.4505372 5.4505372 0 1 1  95.384393,97.357788 A 5.4505372 5.4505372 0 1 1  106.28547 97.357788 z" transform="translate(-42.903636,38.128907)"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="45" y="106.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="65" y="119"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="80" y="119"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="35" y="119"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="50" y="119"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="100" y="131.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="85" y="131.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="40" y="131.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="90" y="144"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="75" y="144"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="95" y="156.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="65" y="156.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="80" y="156.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="35" y="156.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="100" y="169"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="70" y="169"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="85" y="169"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="40" y="169"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="55" y="169"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="120" y="144"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="105" y="144"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="125" y="156.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="110" y="156.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="115" y="169"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="130" y="169"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="35" y="81.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="40" y="94"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="60" y="69"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="45" y="69"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="65" y="81.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="50" y="81.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="55" y="94"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="70" y="94"/>
                <svg:rect style="fill:none;fill-opacity:0.92941176;stroke:none;stroke-width:0.22276554;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="104.87722" height="112.37724" x="35.011383" y="59.111382"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="135" y="69"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="135" y="106.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="135" y="106.5"/>
                <svg:rect style="fill:#7ba274;fill-opacity:0.92941176;stroke:none;stroke-width:1.79999995;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="2.5" height="2.5" x="135" y="144"/>
            </svg:g>
        </svg:pattern>

        <svg:marker id="bridge-casing-start" fill="none" stroke-width="0.1px" stroke="#777777" markerWidth="1px" markerHeight="1px" orient="auto">
            <svg:path d="M-0.25,0.75 L0.5,0 L-0.25,-0.75"/>
        </svg:marker>
        <svg:marker id="bridge-casing-end" fill="none" stroke-width="0.1px" stroke="#777777" markerWidth="1px" markerHeight="1px" orient="auto">
            <svg:path d="M0.25,0.75 L-0.5,0 L0.25,-0.75"/>
        </svg:marker>

        <svg:marker id="marker-tunnel-start" viewBox="0 0 10 10" refX="5px" refY="5px" markerUnits="strokeWidth" fill="none" stroke-width="0.5px" stroke="#777777" markerWidth="2px" markerHeight="2px" orient="auto">
            <svg:path d="M 4,1 A5,4.25 0 0,1 4,9"/>
        </svg:marker>
        <svg:marker id="marker-tunnel-end" viewBox="0 0 10 10" refX="5px" refY="5px" markerUnits="strokeWidth" fill="none" stroke-width="0.5px" stroke="#777777" markerWidth="2px" markerHeight="2px" orient="auto">
            <svg:path d="M 6,1 A5,4.25 0 0,0 6,9"/>
        </svg:marker>
        <svg:marker id="marker-gate-locked" viewBox="0 0 10 10" refX="2px" refY="5px" markerUnits="userSpaceOnUse" fill="none" stroke-width="0.5px" stroke="#000000" markerWidth="3px" markerHeight="3px" orient="auto">
            <svg:path d="M 1,0 L 1,10 M 3,0 L 3,10"/>
        </svg:marker>
        <svg:marker id="marker-gate-closed" viewBox="0 0 10 10" refX="1px" refY="5px" markerUnits="userSpaceOnUse" fill="none" stroke-width="0.5px" stroke="#000000" markerWidth="3px" markerHeight="3px" orient="auto">
            <svg:path d="M 1,0 L 1,10"/>
        </svg:marker>
        <svg:marker id="marker-gate-open" viewBox="0 0 10 10" refX="1px" refY="5px" markerUnits="userSpaceOnUse" fill="none" stroke-width="0.5px" stroke="#000000" markerWidth="3px" markerHeight="3px" orient="auto">
            <svg:path d="M1,0 L1,2 M1,4 L1,6 M1,8 L1,10"/>
        </svg:marker>

        <!-- aerialway and surface lift icons -->
        <svg:marker id="marker-cablecar" viewBox="0 0 10 9" refX="-18px" refY="0px" markerUnits="userSpaceOnUse" fill="#000000" stroke="none" markerWidth="10px" markerHeight="10px" orient="auto">
            <svg:path d="M 2.9,2.7 L 0,2.7 L 0,8.8 L 10,8.8 L 10,2.7 L 7.3,2.7 L 5.7,0.1 L 4.5,0 L 2.9,2.7 z M 5,0.3 L 6.3,2.7 L 3.8,2.7 L 5,0.3 z M 6.5,3.3 L 6.5,5.2 L 3.8,5.2 L 3.8,3.3 L 6.5,3.3 z M 0.9,3.3 L 3,3.3 L 3,5.2 L 0.9,5.2 L 0.9,3.3 z M 9.4,3.3 L 9.4,5.2 L 7.2,5.2 L 7.2,3.3 L 9.4,3.3 z"/>
        </svg:marker>
        <svg:marker id="marker-gondola" viewBox="0 0 10 11" refX="-30px" refY="0px" markerUnits="userSpaceOnUse" fill="#000000" stroke="none" markerWidth="9px" markerHeight="10px" orient="auto">
            <svg:path d="M 4.6,0 L 4.6,2.9 L 1.4,2.9 C 0,3.5 0.2,10.7 1.3,11.1 L 8.7,11.1 C 9.7,10.6 10,4 8.6,2.9 L 5.6,2.9 L 5.6,0 L 4.6,0 z M 4.5,3.8 L 4.5,6.5 L 1.4,6.5 L 1.4,3.8 L 4.5,3.8 z M 5.6,3.8 L 8.5,3.8 L 8.5,6.5 L 5.6,6.5 L 5.6,3.8 z"/>
        </svg:marker>
        <svg:marker id="marker-chair-lift-2" viewBox="0 0 10 22" refX="-25px" refY="0px" markerUnits="userSpaceOnUse" fill="#000000" stroke="none" markerWidth="5px" markerHeight="11px" orient="auto">
            <svg:path d="M 3.6,0 L 3.6,4.3 L 0,6.2 L 0,17.5 L 5.1,17.5 L 5.1,16.6 L 1.1,16.6 L 1.1,6.6 L 7.4,3.4 L 7.4,12.3 L 8.5,12.3 L 8.5,1.7 L 4.9,3.6 L 4.9,0 L 3.6,0 z M 5.7,4.7 C 5.1,4.7 4.5,5.3 4.5,6.2 C 4.5,6.8 5.1,7.5 5.7,7.5 C 6.4,7.5 7,6.8 7,6.2 C 7,5.3 6.4,4.7 5.7,4.7 z M 3,6.4 C 2.3,6.4 1.7,7 1.7,7.9 C 1.7,8.5 2.3,9.2 3,9.2 C 3.6,9.2 4.3,8.5 4.3,7.9 C 4.3,7 3.6,6.4 3,6.4 z M 4.5,7.7 L 4.5,14.5 L 8.5,14.5 L 8.5,19.6 L 10,19.6 L 10,13 L 7,13 L 7,7.7 L 4.5,7.7 z M 1.7,9.4 L 1.7,16.2 L 5.7,16.2 L 5.7,21.3 L 7.2,21.3 L 7.2,14.7 L 4.3,14.7 L 4.3,9.4 L 1.7,9.4 z"/>
        </svg:marker>
        <svg:marker id="marker-chair-lift-4" viewBox="0 0 10 17" refX="-20px" refY="0px" markerUnits="userSpaceOnUse" fill="#000000" stroke="none" markerWidth="6px" markerHeight="10px" orient="auto">
            <svg:path d="M 4.3,0 L 4.3,3.3 L 0,5.7 L 0,14.3 L 2.9,14.3 L 2.9,13.5 L 0.7,13.5 L 0.7,6.7 L 8.6,2 L 8.6,8.5 L 9.3,8.5 L 9.3,0.4 L 5,2.8 L 5,0 L 4.3,0 z M 7.4,3.4 C 7,3.4 6.6,3.8 6.6,4.3 C 6.6,4.7 7,5.1 7.4,5.1 C 7.9,5.1 8.3,4.7 8.3,4.3 C 8.3,3.8 7.9,3.4 7.4,3.4 z M 5.6,4.5 C 5.1,4.5 4.7,4.9 4.7,5.4 C 4.7,5.9 5.1,6.3 5.6,6.3 C 6,6.3 6.4,5.9 6.4,5.4 C 6.4,4.9 6,4.6 5.6,4.5 z M 6.6,5.3 L 6.6,9.8 L 9,9.8 L 9,13.3 L 10,13.3 L 10,8.8 L 8.3,8.8 L 8.3,5.3 L 6.6,5.3 z M 3.7,5.7 C 3.2,5.7 2.9,6.1 2.9,6.5 C 2.9,7 3.2,7.4 3.7,7.4 C 4.2,7.4 4.6,7 4.6,6.5 C 4.6,6.1 4.2,5.7 3.7,5.7 z M 4.7,6.4 L 4.7,11 L 7.4,11 L 7.4,14.3 L 8.4,14.3 L 8.4,10 L 6.4,10 L 6.4,6.4 L 4.7,6.4 z M 1.9,6.7 C 1.4,6.7 1,7.1 1,7.5 C 1,8 1.4,8.4 1.9,8.4 C 2.3,8.4 2.7,8 2.7,7.5 C 2.7,7.1 2.3,6.7 1.9,6.7 z M 2.8,7.5 L 2.8,12.3 L 5.6,12.3 L 5.6,15.5 L 6.6,15.5 L 6.6,11.1 L 4.6,11.1 L 4.6,7.5 L 2.8,7.5 z M 1,8.5 L 1,13.3 L 3.6,13.3 L 3.6,16.4 L 4.6,16.4 L 4.6,12.4 L 2.7,12.4 L 2.7,8.6 L 1,8.5 z"/>
        </svg:marker>
        <svg:marker id="marker-piste-lift-t-bar" viewBox="0 0 10 13" refX="-5px" refY="0px" markerUnits="userSpaceOnUse" fill="#000000" stroke="none" markerWidth="8px" markerHeight="10px" orient="auto">
            <svg:path d="M 8.1,0 L 5.1,3.2 L 0,3.2 L 0.6,7.1 L 4.5,11.6 L 0,12.9 L 0,13.2 L 9.6,10.3 L 10,9.6 L 9.6,10 L 5.6,11.1 L 2.1,7.4 L 8.7,0 L 8.1,0 z M 1,0.6 C 0.4,0.6 0,1.1 0,1.6 C 0,2.1 0.4,2.6 1,2.6 C 1.5,2.6 1.9,2.1 1.9,1.6 C 1.9,1.1 1.5,0.6 1,0.6 z M 1.9,3.9 L 4.5,3.9 L 1.9,6.8 L 1.9,3.9 z"/>
        </svg:marker>
        <svg:marker id="marker-mixed-lift" viewBox="0 0 10 6" refX="-15px" refY="0px" markerUnits="userSpaceOnUse" fill="#000000" stroke="none" markerWidth="14px" markerHeight="9px" orient="auto">
            <svg:path d="M 1.6,0.1 L 1.6,2.9 L 0,3.9 L 0,7.1 L 1.1,7.1 L 1.1,6.8 L 0.3,6.8 L 0.3,4.1 L 3.5,2.3 L 3.5,4.8 L 3.8,4.8 L 3.8,1.7 L 2.1,2.6 L 2.1,0.1 L 7.5,0.1 L 7.5,1.8 L 5.9,1.9 C 5.8,1.9 5.8,2 5.7,2.1 C 5.5,2.8 5.4,3.3 5.4,4.6 C 5.4,5.3 5.5,6.8 5.8,7.1 L 9.5,7.2 C 9.9,6.9 10,5.2 10,4.6 C 10,3.4 9.9,2.6 9.7,2.1 C 9.6,2 9.6,1.9 9.5,1.9 L 8,1.8 L 8,0 L 1.6,0.1 z M 8,2.4 L 9.5,2.4 L 9.5,4.2 L 8,4.2 L 8,2.4 z M 7.5,2.4 L 7.5,4.2 L 5.9,4.2 L 5.9,2.5 L 7.5,2.4 z M 3,2.6 C 2.6,2.7 2.6,3.2 2.9,3.4 C 3.1,3.4 3.2,3.4 3.3,3.3 C 3.5,3 3.3,2.6 3,2.6 z M 2.3,3.1 C 1.9,3.1 1.8,3.7 2.1,3.8 C 2.3,3.9 2.5,3.8 2.6,3.7 C 2.7,3.5 2.6,3.1 2.3,3.1 z M 2.7,3.4 L 2.7,5.4 L 3.8,5.3 L 3.8,6.8 C 3.9,6.8 4.2,6.8 4.3,6.8 L 4.2,4.9 L 3.4,4.9 L 3.4,3.4 L 2.7,3.4 z M 1.5,3.6 C 1.1,3.6 1,4.1 1.4,4.3 C 1.5,4.3 1.6,4.3 1.7,4.3 C 2,4.1 1.9,3.6 1.5,3.6 z M 1.9,3.9 L 1.9,5.8 L 3.1,5.8 L 3.1,7.3 C 3.2,7.3 3.4,7.3 3.5,7.3 L 3.5,5.4 L 2.7,5.4 L 2.7,3.9 L 1.9,3.9 z M 0.8,4 C 0.7,4 0.7,4.1 0.6,4.1 C 0.3,4.2 0.3,4.7 0.7,4.8 C 0.8,4.8 1,4.7 1.1,4.6 C 1.2,4.4 1,4 0.8,4 z M 1.2,4.4 L 1.2,6.3 L 2.3,6.3 L 2.3,7.8 L 2.7,7.8 L 2.7,5.9 L 1.9,5.9 L 1.9,4.4 L 1.2,4.4 z M 0.4,4.9 L 0.4,6.8 L 1.5,6.8 L 1.5,8.2 L 2,8.2 L 2,6.4 L 1.1,6.4 L 1.1,4.9 L 0.4,4.9 z"/>
        </svg:marker>
        <svg:marker id="marker-piste-type-sled" viewBox="0 0 10 10" refX="-1px" refY="10px" markerUnits="userSpaceOnUse" fill="#000000" stroke="none" markerWidth="7px" markerHeight="7px" orient="auto">
            <svg:path d="M 0,0 L 0,10 L 10,10 L 10,0 L 0,0 z M 0.1,0.1 L 9.9,0.1 L 9.9,9.9 L 0.1,9.9 L 0.1,0.1 z M 8.5,4.9 C 8.5,5.8 7.8,6.6 6.9,6.6 L 5.6,6.6 L 5.6,5.3 L 6.9,5.3 L 6.9,5 L 1.9,5 L 1.9,5.3 L 2.9,5.3 L 2.9,6.6 L 1.2,6.6 L 1.2,6.9 L 6.9,6.9 C 7.9,6.9 8.7,5.9 8.7,4.9 L 8.5,4.9 z M 3.1,5.3 L 5.4,5.3 L 5.4,6.6 L 3.1,6.6 L 3.1,5.3 z"/>
        </svg:marker>
        <svg:marker id="marker-piste-type-nordic" viewBox="0 0 10 10" refX="-1px" refY="10px" markerUnits="userSpaceOnUse" fill="#000000" stroke="none" markerWidth="7px" markerHeight="7px" orient="auto">
            <svg:path d="M 0,0 L 0,10 L 10,10 L 10,0 L 0,0 z M 0.1,0.1 L 9.9,0.1 L 9.9,9.9 L 0.1,9.9 L 0.1,0.1 z M 7,1.1 C 6.6,1.1 6.3,1.4 6.3,1.7 C 6.3,2.1 6.6,2.4 7,2.4 C 7.3,2.4 7.6,2.1 7.6,1.7 C 7.6,1.4 7.3,1.1 7,1.1 z M 6,2.2 L 4.4,2.5 L 3.5,3.7 L 3.5,3.8 L 0.5,3.8 L 0.5,3.9 L 3.5,3.9 L 3.6,4 L 3.7,3.9 L 4.5,2.9 L 5.3,2.9 L 4.1,4.3 L 3,6.1 L 1,6.9 L 1.3,7.1 L 3.3,6.4 L 4.6,5.2 L 5.8,6.3 L 5.4,8.5 L 5.8,8.5 L 6.3,6.3 L 5.1,4.8 L 6.5,3.1 L 7.6,3.9 L 8.5,3.1 L 7.7,8.6 L 3.5,8.6 L 0.8,6.9 L 0.4,6.9 L 3.1,8.6 L 2.1,8.6 L 2.1,8.9 L 8.8,8.9 L 9.2,8.4 L 8.7,8.6 L 7.9,8.6 L 8.6,3 L 8.7,2.9 L 8.7,2.6 L 7.6,3.4 L 6.5,2.6 L 6,2.2 z"/>
        </svg:marker>

        <svg:symbol id="church" viewBox="0 0 5 10" fill="#000000">
            <svg:path d="M 0 10 L 0 5 L 5 5 L 5 10 z M 0 2 L 5 2 L 5 3 L 0 3 z M 2 0 L 2 5 L 3 5 L 3 0 z"/>
        </svg:symbol>
        <svg:symbol id="mosque" viewBox="0 0 120 120" fill="#00ab00">
            <svg:path d="M 4,60 C 11,75 60,107 84,73 C 103,40 76,22 50,7 C 76,6 130,35 103,84 C 72,124 8,97 4,60 z M 35,52 C 35,52 20,55 20,55 L 30,43 C 30,43 21,30 21,30 L 35,35 L 45,23 L 45,38 L 60,45 L 45,50 L 45,65 L 35,52 z"/>
        </svg:symbol>
        <svg:symbol id="synagogue" viewBox="0 0 20 20" stroke="#0000d0" fill="none" stroke-width="1.5px" stroke-linecap="butt" stroke-linejoin="miter">
            <svg:path d="M 10,0 L 20,15 L 0,15 L 10,0 z M 10,20 L 0,5 L 20,5 L 10,20 z"/>
        </svg:symbol>

        <!-- derived from http://www.sodipodi.com/index.php3?section=clipart -->
        <svg:symbol id="campSite" viewBox="0 0 100 100" fill="#0000dc" fill-opacity="1">
            <svg:path d="M 35,0 L 50,24 L 65,0 L 80,0 L 60,35 L 100,100 L 0,100 L 40,35 L 20,0 L 35,0 z "/>
        </svg:symbol>

        <svg:symbol id="airport" viewBox="0 0 10 10" fill="black" fill-opacity="1" fill-rule="evenodd" stroke="none">
            <svg:path d="M 9.2,5 C 9.2,4.5 9.8,3.2 10,3 L 9,3 L 8,4 L 5.5,4 L 8,0 L 6,0 L 3,4 C 2,4 1,4.2 0.5,4.5 C 0,5 0,5 0.5,5.5 C 1,5.8 2,6 3,6 L 6,10 L 8,10 L 5.5,6 L 7.8,6 L 9,7 L 10,7 C 9.8,6.8 9.2,5.5 9.2,5 z "/>
        </svg:symbol>

        <svg:symbol id="power-tower" viewBox="0 0 10 10" stroke-width="1px" stroke="#cccccc">
            <svg:path d="M 0 0 L 10 10 M 0 10 L 10 0"/>
        </svg:symbol>

        <svg:symbol id="bar" viewBox="0 0 100 100" fill="#000000" stroke-width="0.4px" stroke="#000000">
            <svg:path d="M 16.8725 9.81954 L 96.3004 9.81954 L 59.4774 46.3164 L 59.4774 94.9796 C 59.575 94.9796 57.9896 100.587 84.2324 102.6 L 84.2324 103.99 L 31.0262 103.99 L 31.0275 102.6 C 56.4414 100.587 54.9906 94.9796 54.9906 94.9796 L 54.9906 46.3164 L 16.8725 9.81954 z "/>
        </svg:symbol>

        <!-- derived from http://www.sodipodi.com/index.php3?section=clipart -->
        <svg:symbol id="petrolStation" viewBox="0 0 100 100" fill="#000000" fill-rule="evenodd" stroke-width="3px">
            <svg:path d="M 22.7283 108.087 C 4.26832 107.546 23.6818 43.3596 32.6686 21.0597 C 33.8491 17.0245 60.28 18.4952 60.0056 19.8857 C 59.0889 25.9148 54.8979 23.2429 52.0142 26.8579 L 51.7464 36.8066 C 48.6085 40.8144 40.2357 34.4677 38.078 42.8773 C 31.3694 92.5727 45.0689 108.819 22.7283 108.087 z M 85.3122 9.52799 L 29.1766 9.52847 C 28.4855 17.5896 -11.559 113.573 22.9292 113.284 C 48.5214 113.073 39.5312 104.08 42.6984 51.03 C 41.8513 49.3228 50.871 48.6585 50.8739 51.4448 L 51.0453 116.604 L 97.6129 116.188 L 97.6129 26.544 C 96.0669 24.2073 93.899 25.2958 90.584 22.394 C 87.7907 19.4131 92.2353 9.52799 85.3122 9.52799 z M 64.0766 35.3236 C 61.5443 36.7258 61.5443 45.2814 64.0766 46.6836 C 68.3819 49.0684 80.2848 49.0684 84.5902 46.6836 C 87.1225 45.2814 87.1225 36.7258 84.5902 35.3236 C 80.2848 32.9393 68.3819 32.9393 64.0766 35.3236 z "/>
        </svg:symbol>

        <!-- derived from http://www.sodipodi.com/index.php3?section=clipart -->
        <svg:symbol id="golfCourse" viewBox="0 0 100 100" fill="#000000" fill-rule="evenodd" fill-opacity="1" stroke="none">
            <svg:path d="M 61.6421 25.2514 C 61.6421 25.2514 48.7712 34.4528 48.1727 38.766 C 47.574 43.0787 56.5537 48.8295 56.8529 52.2802 C 57.1522 55.7303 56.5537 87.3594 56.5537 87.3594 C 56.5537 87.3594 37.3978 104.036 36.7993 105.474 C 36.2006 106.912 41.5878 117.55 43.9826 117.263 C 46.3769 116.975 43.3841 109.787 44.2819 108.349 C 45.1798 106.912 64.0363 92.5353 65.2335 90.5221 C 65.5327 91.0979 65.8321 76.7208 65.5327 76.7208 L 66.7305 76.7208 L 66.1319 91.0979 C 66.1319 91.0979 59.2473 108.349 60.1451 113.237 C 60.1451 115.824 70.6212 122.15 72.1176 121 C 73.6145 119.85 68.5261 115.536 68.8254 112.375 C 67.6283 109.212 73.016 97.4233 73.3153 94.2605 C 73.6145 91.0979 73.9138 56.3053 72.7167 51.9927 C 72.7161 48.542 69.424 42.5037 67.9276 40.2035 C 67.6283 37.9029 65.8326 31.2897 65.8326 31.2897 C 65.8326 31.2897 59.547 39.341 59.5465 39.341 C 58.0501 37.9035 68.2268 28.702 68.2268 25.8268 C 68.2268 22.9513 49.9689 9.72452 49.9689 9.72452 C 49.9689 9.72452 25.126 63.2064 25.4254 65.5065 C 25.7246 67.8065 29.9146 72.9824 32.908 70.6823 C 35.9009 68.3822 27.8197 62.9194 27.8197 62.9194 L 49.3703 14.6122 L 52.6624 18.3506 L 58.3494 18.638 L 58.0501 19.5005 C 58.0501 19.5005 51.7645 18.9255 50.5675 19.788 C 49.3703 20.6506 47.574 22.0887 47.574 25.5388 C 47.574 28.9896 52.0638 30.4271 53.5603 30.7146 L 60.8936 24.6764 L 61.6421 25.2514 z "/>
        </svg:symbol>

        <svg:symbol id="slipway" viewBox="0 0 50 45" fill="#0087ff" stroke="none" fill-opacity="0.7">
            <svg:path d="M 45,33 L 45,45 L 2,45 C 2,45 45,33 45,33 z M 0,35 L 43,22 L 43,26 C 43,26 37,32 26,36 C 15,40 0,35 0,35 z M 3,32 C 3,32 13,0 13,0 L 22,26 L 3,32 z M 16,0 L 42,20 L 25,25 L 16,0 z "/>
        </svg:symbol>

        <!-- derived from http://www.sodipodi.com/index.php3?section=clipart -->
        <svg:symbol id="hotel" viewBox="0 0 90 90" fill="black" fill-opacity="1" stroke="black" stroke-width="1px" stroke-miterlimit="4">
            <svg:path d="M 0,60 C 0,65 10,65 10,60 L 10,50 L 35,70 L 35,85 C 35,90 45,90 45,85 L 45,70 L 75,70 L 75,85 C 75,90 85,90 85,85 L 85,60 L 40,60 L 5,30 C 9,20 45,20 50,25 L 50,10 C 50,5 40,5 40,10 L 40,15 L 10,15 L 10,10 C 10,5 0,5 0,10 C 0,10 0,60 0,60 z M 10,35 C 15,25 45,25 55,35 L 85,60 C 75,50 40,50 40,60 L 10,35 z "/>
        </svg:symbol>
        <!-- derived from http://www.sodipodi.com/index.php3?section=clipart -->
        <svg:symbol id="hostel" viewBox="0 0 12.5 8" fill="#286a9d" fill-opacity="1" fill-rule="nonzero" stroke="none">
            <svg:path d="M 5.5,4 L 9,0 L 12.5,4 L 11.5,4 L 11.5,8 L 10,8 L 10,5 L 8,5 L 8,8 L 6.5,8 L 6.5,4 L 5.5,4 z M 0.5,3.5 C 2,2.5 2.3,1 2.5,0 C 2.7,1 3,2.5 4.5,3.5 L 3.3,3.5 C 3.3,4 4,5 5,6 L 3,6 L 3,8 L 2,8 L 2,6 L 0,6 C 1,5 1.7,4 1.7,3.5 L 0.5,3.5 z M 0,8 L 0,7.5 L 12.5,7.5 L 12.5,8 L 0,8 z "/>
        </svg:symbol>

        <svg:symbol id="recycling" viewBox="0 0 100 100" stroke="none" fill="#00ba00">
            <svg:path d="M 55.0,37.3 L 72.1,27.0 L 79.8,41.9 C 81.6,50.0 71.5,52.9 63.3,52.4 L 55.0,37.3 z"/>
            <svg:path d="M 51.1,47.9 L 42.1,63.8 L 51.1,80.0 L 51.3,73.5 L 59.5,73.5 C 62.5,73.8 66.4,71.8 67.9,69.0 L 78.4,49.5 C 75.0,53.0 70.5,53.9 65.3,53.9 L 51.4,53.9 L 51.1,47.9 z "/>
            <svg:path d="M 31.0,28.2 L 13.7,18.2 L 22.9,4.2 C 29.0,-1.3 36.6,6.1 40.1,13.5 L 30.9,28.2 z "/>
            <svg:path d="M 42.1,26.5 L 60.4,26.6 L 70.1,10.9 L 64.3,13.8 L 60.3,6.6 C 59.1,3.9 55.5,1.4 52.3,1.5 L 30.2,1.7 C 34.9,3.1 37.9,6.6 40.4,11.1 L 47.2,23.3 L 42.1,26.5 z "/>
            <svg:path d="M 0.4,27.4 L 5.8,31.5 L 0.8,40.5 C -1.8,45.3 2.6,49.6 5.3,51.0 C 8.0,52.5 12.2,52.7 16.2,52.7 L 23.3,41.3 L 28.6,44.1 L 19.3,27.2 L 0.4,27.4 z "/>
            <svg:path d="M 1.2,49.3 L 12.7,70.1 C 15.0,73.0 19.4,73.7 23.9,73.6 L 36.0,73.6 L 36.0,53.9 L 13.0,53.7 C 9.5,53.9 4.8,53.2 1.2,49.3 z "/>
        </svg:symbol>

        <svg:symbol id="hospital" viewBox="0 0 15 15" stroke="red" stroke-width="2px" fill="none">
            <svg:path d="M 12.5,7.5 L 2.5,7.5 L 2.5,7.5 L 12.5,7.5 z M 7.5,2.3 L 7.5,12.5 L 7.5,12.5"/>
            <svg:path stroke-width="1px" d="M 14.5 7.5 A 7 7 0 1 1 0.5,7.5 A 7 7 0 1 1 14.5 7.5 z"/>
        </svg:symbol>

        <svg:symbol id="postoffice" viewBox="0 0 36 36">
            <svg:ellipse style="fill:#ff0000" cx="18" cy="18" rx="18" ry="18"/>
            <svg:path style="fill:#ffffff" d="M26 25.44 L26 35.44 L2 35.44 L2 25.44 L14 31.44 L26 25.44 Z M2 23.44 L26 23.44 L14 29.44 L2 23.44 Z M0 37.44 L28 37.44 L28 21.44 L0 21.44 L0 37.44 Z" transform="translate(4,-11.44)"/>
        </svg:symbol>

        <svg:symbol id="parking" viewBox="0 -10 20 20" stroke="none" fill-opacity="1" fill-rule="nonzero">
            <svg:rect fill="#0087ff" width="20" height="20" x="0" y="-10" rx="4" ry="4"/>
            <svg:path fill="white" d="M 5,8 L 5,-7 L 12,-7 C 14,-7 15.5,-5.3 16,-4 C 16.5,-2.77 16.5,-1.23 16,0 C 15.41,1.42 14,3 12,3 L 8,3 L 8,8 L 5,8 z M 8,-4 L 8,0 C 9.3,0 11,0 12.32,-0.31 C 13.6,-0.76 13.5,-2.8 12.5,-3.48 C 11.5,-4.1 8.6,-4 8,-4 z "/>
        </svg:symbol>

        <svg:symbol id="symbol-railway-crossing" viewBox="0 0 750 750">
            <svg:path style="color:black;fill:#fcd116;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.8735441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;visibility:visible;display:inline;overflow:visible" d="M 375,0 C 582.75,0 750,167.25 750,375 C 750,582.75 582.75,750 375,750 C 167.25,750 0,582.75 0,375 C 0,167.25 167.25,0 375,0 z "/>
            <svg:path style="color:black;fill:black;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.8735441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;visibility:visible;display:inline;overflow:visible" d="M 375,9.375 C 577.55625,9.375 740.625,172.44375 740.625,375 C 740.625,577.55625 577.55625,740.625 375,740.625 C 172.44375,740.625 9.375,577.55625 9.375,375 C 9.375,172.44375 172.44375,9.375 375,9.375 z "/>
            <svg:path style="color:black;fill:#fcd116;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.8735441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;visibility:visible;display:inline;overflow:visible" d="M 375,25 C 568.9,25 725,181.1 725,375 C 725,568.9 568.9,725 375,725 C 181.1,725 25,568.9 25,375 C 25,181.1 181.1,25 375,25 z "/>
            <svg:path transform="matrix(0.707107,-0.707107,0.707107,0.707107,0,0)" style="color:black;fill:black;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.8735441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;visibility:visible;display:inline;overflow:visible" d="M -26.313024,168.84709 L 26.312848,168.84709 C 32.510482,168.84709 37.499912,173.83652 37.499912,180.03416 L 37.499912,880.62603 C 37.499912,886.82366 32.510482,891.8131 26.312848,891.8131 L -26.313024,891.8131 C -32.510657,891.8131 -37.500088,886.82366 -37.500088,880.62603 L -37.500088,180.03416 C -37.500088,173.83652 -32.510657,168.84709 -26.313024,168.84709 z "/>
            <svg:path transform="matrix(0.707107,0.707107,-0.707107,0.707107,0,0)" style="color:black;fill:black;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.8735441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;visibility:visible;display:inline;overflow:visible" d="M 504.01712,-361.48343 L 556.64302,-361.48343 C 562.84066,-361.48343 567.83009,-356.49399 567.83009,-350.29636 L 567.83009,350.29599 C 567.83009,356.49363 562.84066,361.48306 556.64302,361.48306 L 504.01712,361.48306 C 497.81948,361.48306 492.83005,356.49363 492.83005,350.29599 L 492.83005,-350.29636 C 492.83005,-356.49399 497.81948,-361.48343 504.01712,-361.48343 z "/>
            <svg:path style="font-size:261.18899536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Roadgeek 2005 Series E" d="M 171.92432,462.5 L 143.71546,393.80717 L 96.966397,393.80717 L 96.966397,462.5 L 65.624993,462.5 L 65.624993,287.49987 L 146.06687,287.49987 C 152.51252,287.50004 157.99912,288.02346 162.52668,289.07012 C 167.05401,290.11714 171.58145,292.0328 176.10902,294.81711 C 184.46765,299.34472 191.08478,305.70014 195.96044,313.8834 C 200.83579,322.06695 203.27354,331.12183 203.2737,341.04807 C 203.27354,350.97456 200.79195,359.9856 195.82892,368.08123 C 190.86558,376.17705 183.85655,382.66399 174.8018,387.54207 L 206.92435,462.5 L 171.92432,462.5 z M 171.92432,341.04807 C 171.92419,334.25703 169.66047,328.85944 165.13315,324.85528 C 160.60559,320.8514 154.42553,318.84938 146.59294,318.84924 L 96.966397,318.84924 L 96.966397,362.46576 L 146.59294,362.46576 C 154.42553,362.46586 160.60559,360.50636 165.13315,356.58726 C 169.66047,352.66836 171.92419,347.48864 171.92432,341.04807 L 171.92432,341.04807 z "/>
            <svg:path style="font-size:261.18899536px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Roadgeek 2005 Series E" d="M 659.42431,462.5 L 631.21545,393.80717 L 584.46638,393.80717 L 584.46638,462.5 L 553.12498,462.5 L 553.12498,287.49987 L 633.56685,287.49987 C 640.01251,287.50004 645.49911,288.02346 650.02667,289.07012 C 654.55399,290.11714 659.08143,292.0328 663.60901,294.81711 C 671.96764,299.34472 678.58477,305.70014 683.46042,313.8834 C 688.33577,322.06695 690.77352,331.12183 690.77368,341.04807 C 690.77352,350.97456 688.29193,359.9856 683.3289,368.08123 C 678.36557,376.17705 671.35654,382.66399 662.30179,387.54207 L 694.42433,462.5 L 659.42431,462.5 z M 659.42431,341.04807 C 659.42418,334.25703 657.16046,328.85944 652.63314,324.85528 C 648.10557,320.8514 641.92551,318.84938 634.09293,318.84924 L 584.46638,318.84924 L 584.46638,362.46576 L 634.09293,362.46576 C 641.92551,362.46586 648.10557,360.50636 652.63314,356.58726 C 657.16046,352.66836 659.42418,347.48864 659.42431,341.04807 L 659.42431,341.04807 z "/>
        </svg:symbol>

        <svg:symbol id="symbol-roundabout_right" viewBox="-253.5 253.5 507 507">
            <svg:g transform="scale(-1,1)">
                <svg:path fill="#4161D8" d="M507,253.5c0,140-113.5,253.5-253.5,253.5 S0,393.5,0,253.5S113.5,0,253.5,0S507,113.5,507,253.5z"/>
                <svg:path fill="#FFFFFF" d="M97.6,113.6l40.8-47.7c0,0,91.7,3.1,90.6,2.1 c-1.1-1,2.3,89.2,2.3,89.2l-49.8,33.2l-1.1-48.8c0,0-27.2,27-30.6,27c-3.4,0-27.2,61.2-27.2,61.2l-3.4,79.9L67,312.8v-73.6 l10.6-50.5l18.8-34.5l38.5-40.5"/>
                <svg:path fill="#FFFFFF" d="M459.6,190.5l19.7,59.6 c0,0-50.2,76.9-48.7,76.4c1.5-0.4-77.5-44.3-77.5-44.3l-2.6-59.8l42.3,24.3c0,0-9-37.2-7.2-40.1c1.8-2.9-38.3-54.9-38.3-54.9 l-66.6-44.3l24.3-46.2l63,38.1l37.7,35.3l19.8,34l14.7,53.9"/>
                <svg:path fill="#FFFFFF" d="M209.2,466.6l-60.7-16.1 c0,0-36.9-84-37.4-82.6c-0.4,1.5,79.4-40.7,79.4-40.7l51.5,30.6l-43.5,22.1c0,0,36.1,12.8,37.6,15.9c1.5,3.1,66.9-2,66.9-2 l73.5-31.5l25.4,45.6l-66.4,31.9l-50.2,12.3l-39.3-2L193,432.9"/>
            </svg:g>
        </svg:symbol>
        <svg:symbol id="symbol-roundabout_left" viewBox="253.5 253.5 507 507">
            <svg:path fill="#4161D8" d="M507,253.5c0,140-113.5,253.5-253.5,253.5 S0,393.5,0,253.5S113.5,0,253.5,0S507,113.5,507,253.5z"/>
            <svg:path fill="#FFFFFF" d="M97.6,113.6l40.8-47.7c0,0,91.7,3.1,90.6,2.1 c-1.1-1,2.3,89.2,2.3,89.2l-49.8,33.2l-1.1-48.8c0,0-27.2,27-30.6,27c-3.4,0-27.2,61.2-27.2,61.2l-3.4,79.9L67,312.8v-73.6 l10.6-50.5l18.8-34.5l38.5-40.5"/>
            <svg:path fill="#FFFFFF" d="M459.6,190.5l19.7,59.6 c0,0-50.2,76.9-48.7,76.4c1.5-0.4-77.5-44.3-77.5-44.3l-2.6-59.8l42.3,24.3c0,0-9-37.2-7.2-40.1c1.8-2.9-38.3-54.9-38.3-54.9 l-66.6-44.3l24.3-46.2l63,38.1l37.7,35.3l19.8,34l14.7,53.9"/>
            <svg:path fill="#FFFFFF" d="M209.2,466.6l-60.7-16.1 c0,0-36.9-84-37.4-82.6c-0.4,1.5,79.4-40.7,79.4-40.7l51.5,30.6l-43.5,22.1c0,0,36.1,12.8,37.6,15.9c1.5,3.1,66.9-2,66.9-2 l73.5-31.5l25.4,45.6l-66.4,31.9l-50.2,12.3l-39.3-2L193,432.9"/>
        </svg:symbol>

        <svg:symbol id="symbol-peak" viewBox="0 0 100 100">
            <svg:path fill="#d1adc6" stroke="#1f151d" stroke-width="5" d="M 0,90 L 50,10 L 100,90 Z"/>
        </svg:symbol>

        <!-- piste maps -->
        <svg:symbol id="symbol-man-made-halfpipe" viewBox="0 0 48 48">
            <svg:path fill="#000000" d="M 0,0 L 0,48 L 48,48 L 48,0 L 0,0 z M 1,1 L 47,1 L 47,47 L 1,47 L 1,1 z M 46,20 L 42,20 C 42,38 35,40 25,40 C 15,40 7,38 7,20 L 2,20 L 2,46 L 46,46 L 46,20 z"/>
        </svg:symbol>
    </defs>
</rules>
