Refactoring night mode hm

This commit is contained in:
Victor Shcherb 2011-07-02 22:10:03 +02:00
parent eb1f8e78d0
commit 5dabc6daa8
2 changed files with 274 additions and 102 deletions

View file

@ -1,21 +1,7 @@
<renderer name="hm-night" depends="hm" defaultColor="#003333"> <renderer name="hm-night" depends="hm" defaultColor="#003333">
<!-- apparently renderer name must equal file name until first '.', or else automatic day/night switching fails --> <!-- apparently renderer name must equal file name until first '.', or else automatic day/night switching fails -->
<!--
All Purpose Renderer (by Hardy Mueller), night version, v011. All area colors changed as follows:
default: 003333
built-up areas: 66004B
buildings: 560000
forest: 000034
other 'green' landuse: 004333
water: 330099
'white' roads: 9F9F9F
leave other (colored) roads like day
-->
<!-- input exact layer, orderType check tag, value --> <!-- input exact layer, orderType check tag, value -->
<order> <order>
@ -613,6 +599,7 @@
<filter minzoom="10" color="#66004B" tag="landuse" value="residential" /> <filter minzoom="10" color="#66004B" tag="landuse" value="residential" />
<filter minzoom="12" maxzoom="14" color="#66004B" tag="landuse" value="retail" /> <filter minzoom="12" maxzoom="14" color="#66004B" tag="landuse" value="retail" />
<filter minzoom="15" color="#66004B" color_2="#ff0000" strokeWidth_2="1" tag="landuse" value="retail" /> <filter minzoom="15" color="#66004B" color_2="#ff0000" strokeWidth_2="1" tag="landuse" value="retail" />
<!-- filter minzoom="12" shader="quarry2" tag="landuse" value="quarry" / --> <!-- filter minzoom="12" shader="quarry2" tag="landuse" value="quarry" / -->
<filter minzoom="12" color="#004333" tag="landuse" value="vineyard" /> <filter minzoom="12" color="#004333" tag="landuse" value="vineyard" />
<!-- filter minzoom="13" shader="vineyard" tag="landuse" value="vineyard" / --> <!-- filter minzoom="13" shader="vineyard" tag="landuse" value="vineyard" / -->

View file

@ -1,4 +1,4 @@
<renderer name="hm" depends="" defaultColor="#f1eee8"> <renderer name="hm" depends="" defaultColor="#f1eee8" defaultNightColor="#003333">
<!-- apparently renderer name must equal file name until first '.', or else automatic day/night switching fails --> <!-- apparently renderer name must equal file name until first '.', or else automatic day/night switching fails -->
<!-- <!--
@ -14,6 +14,21 @@
- z16 = "Walking, City tour": Outline and tag buildings - z16 = "Walking, City tour": Outline and tag buildings
- z17 = Building details, street corner details. - z17 = Building details, street corner details.
--> -->
<!--
Night rendere
default: 003333
built-up areas: 66004B
buildings: 560000
forest: 000034
other 'green' landuse: 004333
water: 330099
'white' roads: 9F9F9F
leave other (colored) roads like day
-->
<!-- <!--
Currently available icons : aerodrome, airport, alpine_hut, atm, bank, bar, beach, bollard, bus_station, bus_stop_small, bus_stop, Currently available icons : aerodrome, airport, alpine_hut, atm, bank, bar, beach, bollard, bus_station, bus_stop_small, bus_stop,
@ -147,9 +162,6 @@
</filter> </filter>
<!-- Highway text --> <!-- Highway text -->
<switch>
<case nightMode="true" textColor="#000000" />
<case nightMode="false"/>
<switch> <switch>
<case tag="highway" value="motorway" /> <case tag="highway" value="motorway" />
<case tag="highway" value="motorway_link" /> <case tag="highway" value="motorway_link" />
@ -167,7 +179,6 @@
<filter minzoom="17" maxzoom="17" textSize="17" /> <filter minzoom="17" maxzoom="17" textSize="17" />
<filter minzoom="18" textSize="19" /> <filter minzoom="18" textSize="19" />
</filter> </filter>
</switch>
</switch> </switch>
<switch> <switch>
@ -178,11 +189,9 @@
<case tag="highway" value="unclassified" /> <case tag="highway" value="unclassified" />
<case tag="highway" value="road" /> <case tag="highway" value="road" />
<case tag="highway" value="track" />
<case tag="highway" value="path" />
<case tag="highway" value="living_street" /> <case tag="highway" value="living_street" />
<case tag="highway" value="pedestrian" /> <case tag="highway" value="pedestrian" />
<case tag="highway" value="cycleway" />
<case tag="highway" value="byway" /> <case tag="highway" value="byway" />
<case tag="highway" value="footway" /> <case tag="highway" value="footway" />
<case tag="highway" value="steps" /> <case tag="highway" value="steps" />
@ -199,16 +208,40 @@
<filter minzoom="18" textSize="18" /> <filter minzoom="18" textSize="18" />
</filter> </filter>
</switch> </switch>
<switch>
<case nightMode="true" textColor="#ffffff"/>
<case nightMode="false" textColor="#000000"/>
<switch>
<case tag="highway" value="track" />
<case tag="highway" value="path" />
<case tag="highway" value="cycleway" />
<filter textOnPath="true">
<filter minzoom="14" maxzoom="14" textSize="12" />
<filter minzoom="15" maxzoom="15" textSize="13" />
<filter minzoom="16" maxzoom="16" textSize="14" />
<filter minzoom="17" maxzoom="17" textSize="16" />
<filter minzoom="18" textSize="18" />
</filter>
</switch>
</switch>
<!-- Natural --> <!-- Natural -->
<filter minzoom="15" textSize="12" textColor="#09dd09" textHaloRadius="1" textWrapWidth="15" tag="natural" value="park" /> <filter minzoom="15" textSize="12" textColor="#09dd09" textHaloRadius="1" textWrapWidth="15" tag="natural" value="park" />
<filter minzoom="14" textSize="12" textColor="#6699cc" textHaloRadius="1" textWrapWidth="20" tag="natural" value="beach" /> <filter minzoom="14" textSize="12" textColor="#6699cc" textHaloRadius="1" textWrapWidth="20" tag="natural" value="beach" />
<filter minzoom="15" textSize="12" textColor="#654321" textHaloRadius="1" textDy="13" textWrapWidth="20" tag="natural" value="cave_entrance" />
<filter minzoom="12" maxzoom="14" textSize="12" textColor="#654321" textHaloRadius="1" textDy="13" tag="natural" value="peak" /> <switch>
<filter minzoom="15" maxzoom="16" textSize="13" textColor="#654321" textHaloRadius="1" textDy="14" tag="natural" value="peak" /> <case nightMode="true" textColor="#CC3300"/>
<filter minzoom="17" textSize="16" textColor="#654321" textHaloRadius="1" textDy="17" tag="natural" value="peak" /> <case nightMode="false" textColor="#654321"/>
<filter>
<filter minzoom="15" textSize="12" textHaloRadius="1" textDy="13" textWrapWidth="20" tag="natural" value="cave_entrance" />
<filter minzoom="12" maxzoom="14" textSize="12" textHaloRadius="1" textDy="13" tag="natural" value="peak" />
<filter minzoom="15" maxzoom="16" textSize="13" textHaloRadius="1" textDy="14" tag="natural" value="peak" />
<filter minzoom="17" textSize="16" textHaloRadius="1" textDy="17" tag="natural" value="peak" />
</filter>
</switch>
<filter minzoom="15" textSize="12" textColor="#6699cc" textHaloRadius="1" textDy="13" textWrapWidth="20" tag="natural" value="spring" /> <filter minzoom="15" textSize="12" textColor="#6699cc" textHaloRadius="1" textDy="13" textWrapWidth="20" tag="natural" value="spring" />
<filter minzoom="6" textSize="12" textColor="#6699cc" textHaloRadius="1" textWrapWidth="20" tag="natural" value="water" /> <filter minzoom="6" textSize="12" textColor="#6699cc" textHaloRadius="1" textWrapWidth="20" tag="natural" value="water" />
@ -226,7 +259,11 @@
<filter minzoom="15" textSize="12" textColor="#0066ff" textHaloRadius="1" textDy="13" textWrapWidth="70" tag="waterway" value="lock" /> <filter minzoom="15" textSize="12" textColor="#0066ff" textHaloRadius="1" textDy="13" textWrapWidth="70" tag="waterway" value="lock" />
<filter minzoom="15" textSize="12" textHaloRadius="1" tag="waterway" value="dam" /> <filter minzoom="15" textSize="12" textHaloRadius="1" tag="waterway" value="dam" />
<filter minzoom="16" textSize="12" textColor="#654321" textHaloRadius="1" textDy="13" textWrapWidth="20" tag="historic" value="memorial" /> <switch>
<case nightMode="true" textColor="#CC3300"/>
<case nightMode="false" textColor="#654321"/>
<filter minzoom="16" textSize="12" textHaloRadius="1" textDy="13" textWrapWidth="20" tag="historic" value="memorial" />
</switch>
<filter minzoom="14" maxzoom="14" textSize="12" textBold="true" textColor="#6666ff" textHaloRadius="1" textDy="-13" tag="railway" <filter minzoom="14" maxzoom="14" textSize="12" textBold="true" textColor="#6666ff" textHaloRadius="1" textDy="-13" tag="railway"
value="station" /> value="station" />
@ -335,15 +372,25 @@
<filter minzoom="4" textSize="14" textColor="#9d6c9d" textHaloRadius="1" textWrapWidth="20" tag="place" value="state" /> <filter minzoom="4" textSize="14" textColor="#9d6c9d" textHaloRadius="1" textWrapWidth="20" tag="place" value="state" />
<filter minzoom="4" textSize="14" textColor="#9d6c9d" textHaloRadius="1" textWrapWidth="20" tag="place" value="region" /> <filter minzoom="4" textSize="14" textColor="#9d6c9d" textHaloRadius="1" textWrapWidth="20" tag="place" value="region" />
<switch>
<case nightMode="true" textColor="#ffffff"/>
<case nightMode="false"/>
<filter minzoom="4" textSize="20" textDy="-8" textBold="true" textHaloRadius="1" textWrapWidth="20" tag="place" value="city" /> <filter minzoom="4" textSize="20" textDy="-8" textBold="true" textHaloRadius="1" textWrapWidth="20" tag="place" value="city" />
<filter minzoom="6" textSize="16" textDy="-8" textBold="true" textHaloRadius="1" textWrapWidth="20" tag="place" value="town" /> <filter minzoom="6" textSize="16" textDy="-8" textBold="true" textHaloRadius="1" textWrapWidth="20" tag="place" value="town" />
<filter minzoom="11" textSize="14" textHaloRadius="1" tag="place" value="village" /> <filter minzoom="11" textSize="14" textHaloRadius="1" tag="place" value="village" />
<filter minzoom="11" textSize="13" textColor="#777777" textHaloRadius="1" tag="place" value="hamlet" /> </switch>
<filter minzoom="11" textSize="14" textColor="#777777" textHaloRadius="1" tag="place" value="suburb" />
<filter minzoom="11" textSize="13" textColor="#777777" textHaloRadius="1" tag="place" value="locality" /> <switch>
<filter minzoom="11" textSize="14" textColor="#777777" textHaloRadius="1" tag="place" value="island" /> <case nightMode="true" textColor="#D7D7D7"/>
<case nightMode="false" textColor="#777777"/>
<filter minzoom="11" textSize="13" textHaloRadius="1" tag="place" value="hamlet" />
<filter minzoom="11" textSize="14" textHaloRadius="1" tag="place" value="suburb" />
<filter minzoom="11" textSize="13" textHaloRadius="1" tag="place" value="locality" />
<filter minzoom="11" textSize="14" textHaloRadius="1" tag="place" value="island" />
<filter minzoom="10" textSize="14" textBold="true" textColor="#99cc99" textHaloRadius="1" textWrapWidth="14" tag="boundary" value="national_park" /> <filter minzoom="10" textSize="14" textBold="true" textColor="#99cc99" textHaloRadius="1" textWrapWidth="14" tag="boundary" value="national_park" />
</switch>
</text> </text>
<!-- PRIORITY Input to filter : tag, value, zoom [minzoom, maxzoom] --> <!-- PRIORITY Input to filter : tag, value, zoom [minzoom, maxzoom] -->
@ -469,156 +516,273 @@
<!-- PRIORITY Input to filter : tag, value, zoom [minzoom, maxzoom] --> <!-- PRIORITY Input to filter : tag, value, zoom [minzoom, maxzoom] -->
<polygon> <polygon>
<filter minzoom="12" strokeWidth_2="1" color_2="#464646" color="#ffffff"> <switch>
<case nightMode="true" color_2="#9F9F9F" color="#666666"/>
<case nightMode="false" color_2="#464646" color="#ffffff"/>
<filter minzoom="12" strokeWidth_2="1">
<filter tag="highway" value="unclassified" /> <filter tag="highway" value="unclassified" />
<filter tag="highway" value="road" /> <filter tag="highway" value="road" />
<filter tag="highway" value="service" /> <filter tag="highway" value="service" />
<filter tag="highway" value="residential" /> <filter tag="highway" value="residential" />
</filter> </filter>
</switch>
<filter minzoom="13" strokeWidth_2="0.5" color_2="#B0B0B0" color="#ECECEC"> <filter minzoom="13" strokeWidth_2="0.5" color_2="#B0B0B0" color="#ECECEC">
<filter tag="highway" value="pedestrian" /> <filter tag="highway" value="pedestrian" />
<filter tag="highway" value="footway" /> <filter tag="highway" value="footway" />
</filter> </filter>
<filter minzoom="11" color="#d4aaaa"> <switch>
<filter tag="railway" value="station" /> <case nightMode="true" color="#560000"/>
</filter> <case nightMode="false" color="#d4aaaa"/>
<filter minzoom="11" tag="railway" value="station" />
</switch>
<filter minzoom="8" color="#b5d0d0"> <switch>
<filter tag="waterway" value="riverbank" /> <case nightMode="true" color="#330099"/>
</filter> <case nightMode="false" color="#b5d0d0"/>
<filter minzoom="8" tag="waterway" value="riverbank" />
</switch>
<filter minzoom="10" color="#b5d0d0"> <switch>
<case nightMode="true" color="#330099"/>
<case nightMode="false" color="#b5d0d0"/>
<filter minzoom="10">
<filter tag="waterway" value="canal" /> <filter tag="waterway" value="canal" />
<filter tag="waterway" value="dock" /> <filter tag="waterway" value="dock" />
<filter tag="waterway" value="mill_pond" /> <filter tag="waterway" value="mill_pond" />
</filter> </filter>
</switch>
<!-- aeroway --> <!-- aeroway -->
<filter minzoom="12" color="#80cccccc" tag="aeroway"> <switch>
<filter value="aerodrome" /> <case nightMode="true" color="#80B0B0B0"/>
<filter value="airport" /> <case nightMode="false" color="#80cccccc"/>
</filter> <filter minzoom="12" tag="aeroway">
<filter value="aerodrome" />
<filter value="airport" />
</filter>
</switch>
<filter minzoom="14" color="#cc99ff" tag="aeroway" value="terminal" /> <switch>
<filter minzoom="13" color="#e9d1ff" tag="aeroway" value="apron" /> <case nightMode="true" color="#560000"/>
<case nightMode="false" color="#cc99ff"/>
<filter minzoom="14" tag="aeroway" value="terminal" />
</switch>
<switch>
<case nightMode="true" color="#B0B0B0"/>
<case nightMode="false" color="#e9d1ff"/>
<filter minzoom="13" tag="aeroway" value="apron" />
</switch>
<filter minzoom="13" color="#bbbbbb"> <switch>
<case nightMode="true" color="#560000"/>
<case nightMode="false" color="#bbbbbb"/>
<filter minzoom="13">
<filter tag="power" value="station" /> <filter tag="power" value="station" />
<filter tag="power" value="sub_station" /> <filter tag="power" value="sub_station" />
</filter> </filter>
</switch>
<!-- natural --> <!-- natural -->
<filter minzoom="12" color="#b0b6fdb6" tag="natural" value="park" /> <switch>
<case nightMode="true" color="#b0004333"/>
<case nightMode="false" color="#b0b6fdb6"/>
<filter minzoom="12" tag="natural" value="park" />
</switch>
<filter minzoom="12" maxzoom="13" color="#30666600" tag="natural" value="field" /> <switch>
<filter minzoom="14" color="#30666600" color_2="#60666600" strokeWidth_2="1" tag="natural" value="field" /> <case nightMode="true" color="#330099"/>
<case nightMode="false" color="#b5d0d0"/>
<filter color="#b5d0d0"> <filter minzoom="1" tag="natural" value="coastline" />
<filter minzoom="1" tag="natural" value="coastline" /> <filter minzoom="4" tag="natural" value="water" />
<filter minzoom="4" tag="natural" value="water" /> <filter minzoom="4" tag="natural" value="lake" />
<filter minzoom="4" tag="natural" value="lake" /> </switch>
</filter>
<filter minzoom="12" shader="beach" tag="natural" value="beach" /> <filter minzoom="12" shader="beach" tag="natural" value="beach" />
<filter minzoom="10" shader="glacier" color_2="#99ccff" strokeWidth_2="2" tag="natural" value="glacier" /> <switch>
<case nightMode="true" color_2="#497CAF"/>
<case nightMode="false" color_2="#99ccff"/>
<filter minzoom="10" shader="glacier" strokeWidth_2="2" tag="natural" value="glacier" />
</switch>
<filter minzoom="12" color="#ffffc0" tag="natural" value="heath" /> <switch>
<filter minzoom="10" color="#f2efe9" tag="natural" value="land" /> <case nightMode="true" color="#004333"/>
<case nightMode="false" color="#ffffc0"/>
<filter minzoom="12" tag="natural" value="heath" />
</switch>
<switch>
<case nightMode="true" color="#004333"/>
<case nightMode="false" color="#f2efe9"/>
<filter minzoom="10" tag="natural" value="land" />
</switch>
<filter minzoom="12" shader="marsh" tag="natural" value="marsh" /> <filter minzoom="12" shader="marsh" tag="natural" value="marsh" />
<filter minzoom="12" shader="mud" tag="natural" value="mud" /> <filter minzoom="12" shader="mud" tag="natural" value="mud" />
<filter minzoom="12" shader="scrub" tag="natural" value="scrub" /> <filter minzoom="12" shader="scrub" tag="natural" value="scrub" />
<filter minzoom="10" shader="marsh" tag="natural" value="wetland" /> <filter minzoom="10" shader="marsh" tag="natural" value="wetland" />
<filter minzoom="10" color="#aed1a0" tag="natural" value="wood" /> <switch>
<case nightMode="true" color="#000034"/>
<case nightMode="false" color="#aed1a0"/>
<filter minzoom="10" color="#aed1a0" tag="natural" value="wood" />
</switch>
<!-- man made --> <!-- man made -->
<filter minzoom="16" color="#bca9a9" tag="building" /> <filter minzoom="16" color="#bca9a9" tag="building" />
<filter nightMode="true" minzoom="16" color="#560000" tag="building" />
<filter minzoom="16" color="#dddddd" tag="building" value="garages" /> <filter minzoom="16" color="#dddddd" tag="building" value="garages" />
<filter nightMode="true" minzoom="16" color="#560000" tag="building" value="garages" />
<!-- leisure --> <!-- leisure -->
<filter minzoom="13" color="#33cc99" tag="leisure" value="stadium"> <switch>
<case nightMode="true" color="#560000"/>
<case nightMode="false" color="#33cc99"/>
<filter minzoom="13" tag="leisure" value="stadium">
<filter tag="leisure" value="sports_centre" /> <filter tag="leisure" value="sports_centre" />
<filter tag="leisure" value="stadium" /> <filter tag="leisure" value="stadium" />
</filter> </filter>
</switch>
<filter minzoom="12" color="#b5e3b5" tag="leisure" value="golf_course" /> <filter minzoom="12" color="#b5e3b5" tag="leisure" value="golf_course" />
<filter nightMode="true" minzoom="12" color="#004333" tag="leisure" value="golf_course" />
<filter minzoom="12" color="#74dcba" color_2="#888888" strokeWidth_2="1" tag="leisure" value="track" /> <filter minzoom="12" color="#74dcba" color_2="#888888" strokeWidth_2="1" tag="leisure" value="track" />
<filter nightMode="true" minzoom="12" color="#004333" color_2="#888888" strokeWidth_2="1" tag="leisure" value="track" />
<filter minzoom="12" color="#8ad3af" color_2="#888888" strokeWidth_2="1" tag="leisure" value="pitch" /> <filter minzoom="12" color="#8ad3af" color_2="#888888" strokeWidth_2="1" tag="leisure" value="pitch" />
<filter minzoom="10" color="#abdf96" tag="leisure" value="nature_reserve" /> <filter nightMode="true" minzoom="12" color="#004333" color_2="#888888" strokeWidth_2="1" tag="leisure" value="pitch" />
<filter minzoom="10" maxzoom="11" color="#abdf96" tag="leisure" value="nature_reserve" />
<filter minzoom="10" maxzoom="11" nightMode="true" color="#000034" tag="leisure" value="nature_reserve" />
<filter minzoom="12" shader="nr" tag="leisure" value="nature_reserve" /> <filter minzoom="12" shader="nr" tag="leisure" value="nature_reserve" />
<filter minzoom="12" color="#b0b6fdb6"> <switch>
<case nightMode="true" color="#b0004333"/>
<case nightMode="false" color="#b0b6fdb6"/>
<filter minzoom="12">
<filter tag="leisure" value="park" /> <filter tag="leisure" value="park" />
<filter tag="leisure" value="recreation_ground" /> <filter tag="leisure" value="recreation_ground" />
</filter> </filter>
</switch>
<filter minzoom="15" color="#ccfff1" tag="leisure" value="playground" /> <filter minzoom="15" color="#ccfff1" tag="leisure" value="playground" />
<filter minzoom="15" nightMode="true" color="#004333" tag="leisure" value="playground" />
<filter minzoom="12" color="#cfeca8" tag="leisure" value="garden" /> <filter minzoom="12" color="#cfeca8" tag="leisure" value="garden" />
<filter minzoom="12" nightMode="true" color="#004333" tag="leisure" value="garden" />
<filter minzoom="12" color="#cfeca8" tag="leisure" value="common" /> <filter minzoom="12" color="#cfeca8" tag="leisure" value="common" />
<filter minzoom="12" nightMode="true" color="#004333" tag="leisure" value="common" />
<!-- amenity --> <!-- amenity -->
<filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="kindergarten" /> <filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="kindergarten" />
<filter minzoom="15" nightMode="true" color="#66004B" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="kindergarten" />
<filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="school" /> <filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="school" />
<filter minzoom="15" nightMode="true" color="#66004B" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="school" />
<filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="college" /> <filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="college" />
<filter minzoom="15" nightMode="true" color="#66004B" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="college" />
<filter minzoom="16" color="#bca9a9" tag="amenity" value="library" /> <filter minzoom="16" color="#bca9a9" tag="amenity" value="library" />
<filter minzoom="16" nightMode="true" color="#560000" tag="amenity" value="library" />
<filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="university" /> <filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="university" />
<filter minzoom="15" nightMode="true" color="#66004B" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="university" />
<filter minzoom="15" color="#f6eeb7" tag="amenity" value="parking" /> <filter minzoom="15" color="#f6eeb7" tag="amenity" value="parking" />
<filter minzoom="15" nightMode="true" color="#66004B" tag="amenity" value="parking" />
<filter minzoom="15" color="#f6eeb7" tag="amenity" value="bicycle_parking" /> <filter minzoom="15" color="#f6eeb7" tag="amenity" value="bicycle_parking" />
<filter minzoom="15" nightMode="true" color="#66004B" tag="amenity" value="bicycle_parking" />
<filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="hospital" /> <filter minzoom="15" color="#f0f0d8" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="hospital" />
<filter minzoom="15" nightMode="true" color="#560000" color_2="#d4a89e" strokeWidth_2="1" tag="amenity" value="hospital" />
<filter minzoom="15" color="#cc9999" tag="amenity" value="cinema" /> <filter minzoom="15" color="#cc9999" tag="amenity" value="cinema" />
<filter minzoom="15" nightMode="true" color="#560000" tag="amenity" value="cinema" />
<!-- tourism --> <!-- tourism -->
<filter minzoom="13" color="#f2caea" tag="tourism" value="attraction" /> <filter minzoom="13" color="#f2caea" tag="tourism" value="attraction" />
<filter minzoom="13" nightMode="true" color="#66004B" tag="tourism" value="attraction" />
<filter minzoom="13" color="#a0ccff99" tag="tourism" value="camp_site" /> <filter minzoom="13" color="#a0ccff99" tag="tourism" value="camp_site" />
<filter minzoom="13" nightMode="true" color="#a0004333" tag="tourism" value="camp_site" />
<filter minzoom="13" color="#a0ccff99" tag="tourism" value="caravan_site" /> <filter minzoom="13" color="#a0ccff99" tag="tourism" value="caravan_site" />
<filter minzoom="13" nightMode="true" color="#a0004333" tag="tourism" value="caravan_site" />
<filter minzoom="13" color="#a0ccff99" tag="tourism" value="picnic_site" /> <filter minzoom="13" color="#a0ccff99" tag="tourism" value="picnic_site" />
<filter minzoom="13" nightMode="true" color="#a0004333" tag="tourism" value="picnic_site" />
<filter minzoom="12" maxzoom="15" color="#f2caea" color_2="#734a08" strokeWidth_2="1" pathEffect_2="9_3" tag="tourism" value="theme_park" /> <filter minzoom="12" maxzoom="15" color="#f2caea" color_2="#734a08" strokeWidth_2="1" pathEffect_2="9_3" tag="tourism" value="theme_park" />
<filter minzoom="12" maxzoom="15" nightMode="true" color="#66004B" color_2="#734a08" strokeWidth_2="1" pathEffect_2="9_3" tag="tourism" value="theme_park" />
<filter minzoom="16" color="#f2caea" color_2="#734a08" strokeWidth_2="2" pathEffect_2="9_3" tag="tourism" value="theme_park" /> <filter minzoom="16" color="#f2caea" color_2="#734a08" strokeWidth_2="2" pathEffect_2="9_3" tag="tourism" value="theme_park" />
<filter minzoom="16" nightMode="true" color="#66004B" color_2="#734a08" strokeWidth_2="2" pathEffect_2="9_3" tag="tourism" value="theme_park" />
<filter minzoom="12" shader="zoo" tag="tourism" value="zoo" /> <filter minzoom="12" shader="zoo" tag="tourism" value="zoo" />
<!-- military --> <!-- military -->
<filter minzoom="12" color="#ff8f8f" tag="military" value="barracks" /> <filter minzoom="12" color="#ff8f8f" tag="military" value="barracks" />
<filter minzoom="12" nightMode="true" color="#560000" tag="military" value="barracks" />
<filter minzoom="10" shader="danger" tag="military" value="danger_area" /> <filter minzoom="10" shader="danger" tag="military" value="danger_area" />
<!-- landuse --> <!-- landuse -->
<filter minzoom="10" color="#c8b084" tag="landuse" value="allotments" /> <filter minzoom="10" color="#c8b084" tag="landuse" value="allotments" />
<filter minzoom="10" nightMode="true" color="#66004B" tag="landuse" value="allotments" />
<filter minzoom="10" color="#b5d0d0" tag="landuse" value="basin" /> <filter minzoom="10" color="#b5d0d0" tag="landuse" value="basin" />
<filter minzoom="10" nightMode="true" color="#330099" tag="landuse" value="basin" />
<filter minzoom="12" color="#9d9d6c" tag="landuse" value="brownfield" /> <filter minzoom="12" color="#9d9d6c" tag="landuse" value="brownfield" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="brownfield" />
<filter minzoom="12" color="#aacbaf" tag="landuse" value="cemetery" /> <filter minzoom="12" color="#aacbaf" tag="landuse" value="cemetery" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="cemetery" />
<filter minzoom="15" shader="grave_yard" tag="landuse" value="cemetery" /> <filter minzoom="15" shader="grave_yard" tag="landuse" value="cemetery" />
<filter minzoom="12" color="#aacbaf" tag="landuse" value="grave_yard" /> <filter minzoom="12" maxzoom="14" color="#aacbaf" tag="landuse" value="grave_yard" />
<filter minzoom="12" maxzoom="14" nightMode="true" color="#004333" tag="landuse" value="grave_yard" />
<filter minzoom="15" shader="grave_yard" tag="landuse" value="grave_yard" /> <filter minzoom="15" shader="grave_yard" tag="landuse" value="grave_yard" />
<filter minzoom="10" color="#efc8c8" tag="landuse" value="commercial" /> <filter minzoom="10" color="#efc8c8" tag="landuse" value="commercial" />
<filter minzoom="10" nightMode="true" color="#66004B" tag="landuse" value="commercial" />
<filter minzoom="12" color="#9d9d6c" tag="landuse" value="construction" /> <filter minzoom="12" color="#9d9d6c" tag="landuse" value="construction" />
<filter minzoom="12" nightMode="true" color="#66004B" tag="landuse" value="construction" />
<filter minzoom="12" color="#ead8bd" tag="landuse" value="farm" /> <filter minzoom="12" color="#ead8bd" tag="landuse" value="farm" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="farm" />
<filter minzoom="12" color="#ead8bd" tag="landuse" value="farmland" /> <filter minzoom="12" color="#ead8bd" tag="landuse" value="farmland" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="farmland" />
<filter minzoom="12" color="#ddbf92" tag="landuse" value="farmyard" /> <filter minzoom="12" color="#ddbf92" tag="landuse" value="farmyard" />
<filter minzoom="10" color="#8dc56c" tag="landuse" value="forest" /> <filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="farmyard" />
<filter minzoom="10" maxzoom="12" color="#8dc56c" tag="landuse" value="forest" />
<filter minzoom="10" maxzoom="12" nightMode="true" color="#000034" tag="landuse" value="forest" />
<filter minzoom="13" shader="forest" tag="landuse" value="forest" /> <filter minzoom="13" shader="forest" tag="landuse" value="forest" />
<filter minzoom="12" color="#dfd1d6" tag="landuse" value="garages" /> <filter minzoom="12" color="#dfd1d6" tag="landuse" value="garages" />
<filter minzoom="12" nightMode="true" color="#560000" tag="landuse" value="garages" />
<filter minzoom="12" color="#cfeca8" tag="landuse" value="grass" /> <filter minzoom="12" color="#cfeca8" tag="landuse" value="grass" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="grass" />
<filter minzoom="12" color="#9d9d6c" tag="landuse" value="greenfield" /> <filter minzoom="12" color="#9d9d6c" tag="landuse" value="greenfield" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="greenfield" />
<filter minzoom="10" color="#dfd1d6" tag="landuse" value="industrial" /> <filter minzoom="10" color="#dfd1d6" tag="landuse" value="industrial" />
<filter minzoom="10" nightMode="true" color="#66004B" tag="landuse" value="industrial" />
<filter minzoom="12" color="#9d9d6c" tag="landuse" value="landfill" /> <filter minzoom="12" color="#9d9d6c" tag="landuse" value="landfill" />
<filter minzoom="12" nightMode="true" color="#66004B" tag="landuse" value="landfill" />
<filter minzoom="12" color="#cfeca8" tag="landuse" value="meadow" /> <filter minzoom="12" color="#cfeca8" tag="landuse" value="meadow" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="meadow" />
<filter minzoom="10" color="#a0ffa8a8" tag="landuse" value="military" /> <filter minzoom="10" color="#a0ffa8a8" tag="landuse" value="military" />
<filter minzoom="10" nightMode="true" color="#a0560000" tag="landuse" value="military" />
<filter minzoom="12" shader="orchard" tag="landuse" value="orchard" /> <filter minzoom="12" shader="orchard" tag="landuse" value="orchard" />
<filter minzoom="12" color="#dfd1d6" tag="landuse" value="railway" /> <filter minzoom="12" color="#dfd1d6" tag="landuse" value="railway" />
<filter minzoom="12" nightMode="true" color="#66004B" tag="landuse" value="railway" />
<filter minzoom="12" color="#cfeca8" tag="landuse" value="recreation_ground" /> <filter minzoom="12" color="#cfeca8" tag="landuse" value="recreation_ground" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="recreation_ground" />
<filter minzoom="10" color="#cfeca8" tag="landuse" value="conservation" /> <filter minzoom="10" color="#cfeca8" tag="landuse" value="conservation" />
<filter minzoom="10" nightMode="true" color="#004333" tag="landuse" value="conservation" />
<filter minzoom="12" color="#cfeca8" tag="landuse" value="village_green" /> <filter minzoom="12" color="#cfeca8" tag="landuse" value="village_green" />
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="village_green" />
<filter minzoom="7" color="#b5d0d0" tag="landuse" value="reservoir" /> <filter minzoom="7" color="#b5d0d0" tag="landuse" value="reservoir" />
<filter minzoom="7" nightMode="true" color="#330099" tag="landuse" value="reservoir" />
<filter minzoom="7" color="#b5d0d0" tag="landuse" value="water" /> <filter minzoom="7" color="#b5d0d0" tag="landuse" value="water" />
<filter minzoom="7" nightMode="true" color="#330099" tag="landuse" value="water" />
<filter minzoom="10" color="#CDCDCD" tag="landuse" value="residential" /> <filter minzoom="10" color="#CDCDCD" tag="landuse" value="residential" />
<filter minzoom="10" nightMode="true" color="#66004B" tag="landuse" value="residential" />
<filter minzoom="12" maxzoom="14" color="#cfeca8" tag="landuse" value="retail" /> <filter minzoom="12" maxzoom="14" color="#cfeca8" tag="landuse" value="retail" />
<filter minzoom="12" nightMode="true" maxzoom="14" color="#66004B" tag="landuse" value="retail" />
<filter minzoom="15" color="#cfeca8" color_2="#ff0000" strokeWidth_2="1" tag="landuse" value="retail" /> <filter minzoom="15" color="#cfeca8" color_2="#ff0000" strokeWidth_2="1" tag="landuse" value="retail" />
<filter minzoom="15" nightMode="true" color="#66004B" color_2="#ff0000" strokeWidth_2="1" tag="landuse" value="retail" />
<filter minzoom="12" shader="quarry2" tag="landuse" value="quarry" /> <filter minzoom="12" shader="quarry2" tag="landuse" value="quarry" />
<filter minzoom="12" color="#abdf96" tag="landuse" value="vineyard" /> <filter minzoom="12" maxzoom="12" color="#abdf96" tag="landuse" value="vineyard" />
<filter minzoom="12" maxzoom="12" nightMode="true" color="#004333" tag="landuse" value="vineyard" />
<filter minzoom="13" shader="vineyard" tag="landuse" value="vineyard" /> <filter minzoom="13" shader="vineyard" tag="landuse" value="vineyard" />
<filter minzoom="12" maxzoom="12" color="#30666600" tag="landuse" value="field" /> <filter minzoom="12" maxzoom="13" color="#30666600" tag="natural" value="field" />
<filter minzoom="13" color="#30666600" color_2="#60666600" strokeWidth_2="1" tag="landuse" value="field" /> <filter minzoom="14" color="#30666600" color_2="#60666600" strokeWidth_2="1" tag="natural" value="field" />
<filter minzoom="10" color="#aed1a0" tag="landuse" value="wood" /> <filter minzoom="10" color="#aed1a0" tag="landuse" value="wood" />
<filter minzoom="10" nightMode="true" color="#000034" tag="landuse" value="wood" />
</polygon> </polygon>
<!-- Priority input : tag, value, layer, zoom --> <!-- Priority input : tag, value, layer, zoom -->
@ -703,7 +867,10 @@
</filter> </filter>
</switch> </switch>
<switch> <switch>
<case nightMode="false" color="#ffffff" color_2="#ffffff" shadowColor="#464646">
<case nightMode="true" color="#9F9F9F" color_2="#9F9F9F" shadowColor="#666666">
<switch>
<case tag="highway" value="residential" /> <case tag="highway" value="residential" />
<case tag="highway" value="unclassified" /> <case tag="highway" value="unclassified" />
<case tag="highway" value="road" /> <case tag="highway" value="road" />
@ -711,14 +878,14 @@
<filter minzoom="12" maxzoom="12" strokeWidth="3" /> <filter minzoom="12" maxzoom="12" strokeWidth="3" />
<filter minzoom="13" maxzoom="13" strokeWidth="4" /> <filter minzoom="13" maxzoom="13" strokeWidth="4" />
</filter> </filter>
</switch> </switch>
<switch> <switch>
<case tag="highway" value="tertiary" color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" /> <case tag="highway" value="tertiary" color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" />
<case tag="highway" value="tertiary_link" color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" /> <case tag="highway" value="tertiary_link" color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" />
<case tag="highway" value="residential" color="#ffffff" color_2="#ffffff" shadowColor="#464646" /> <case tag="highway" value="residential" />
<case tag="highway" value="unclassified" color="#ffffff" color_2="#ffffff" shadowColor="#464646" /> <case tag="highway" value="unclassified" />
<case tag="highway" value="road" color="#ffffff" color_2="#ffffff" shadowColor="#464646" /> <case tag="highway" value="road"/>
<filter> <filter>
<switch> <switch>
<case layer="-1" pathEffect="4_4" /> <case layer="-1" pathEffect="4_4" />
@ -733,19 +900,23 @@
</filter> </filter>
</switch> </switch>
<!-- bridge --> <!-- bridge -->
<filter layer="1" color="#000000" cap_2="SQUARE" > <switch>
<case nightMode="false" color="#000000" >
<case nightMode="true" color="#ffffff" >
<filter layer="1"cap_2="SQUARE" >
<filter minzoom="13" maxzoom="14" strokeWidth="8" strokeWidth_2="6" /> <filter minzoom="13" maxzoom="14" strokeWidth="8" strokeWidth_2="6" />
<filter minzoom="15" maxzoom="15" strokeWidth="10" strokeWidth_2="8" /> <filter minzoom="15" maxzoom="15" strokeWidth="10" strokeWidth_2="8" />
<filter minzoom="16" maxzoom="16" strokeWidth="12" strokeWidth_2="10" /> <filter minzoom="16" maxzoom="16" strokeWidth="12" strokeWidth_2="10" />
<filter minzoom="17" maxzoom="17" strokeWidth="15" strokeWidth_2="13" /> <filter minzoom="17" maxzoom="17" strokeWidth="15" strokeWidth_2="13" />
<filter minzoom="18" strokeWidth="20" strokeWidth_2="18" /> <filter minzoom="18" strokeWidth="20" strokeWidth_2="18" />
</filter> </filter>
</switch>
</filter> </filter>
</switch> </switch>
<switch> <switch>
<case tag="highway" value="service" color="#ffffff" color_2="#ffffff" shadowColor="#464646" /> <case tag="highway" value="service" />
<case tag="highway" value="living_street" color="#ffffff" color_2="#ffffff" shadowColor="#464646" /> <case tag="highway" value="living_street"/>
<case tag="highway" value="pedestrian" color="#ececec" color_2="#ececec" shadowColor="#b0b0b0" /> <case tag="highway" value="pedestrian" color="#ececec" color_2="#ececec" shadowColor="#b0b0b0" />
<filter> <filter>
<switch> <switch>
@ -761,13 +932,17 @@
</filter> </filter>
</switch> </switch>
<!-- bridge --> <!-- bridge -->
<filter layer="1" color="#000000" cap_2="SQUARE"> <switch>
<case nightMode="false" color="#000000" >
<case nightMode="true" color="#ffffff" >
<filter layer="1" cap_2="SQUARE">
<filter minzoom="13" maxzoom="14" strokeWidth="5" strokeWidth_2="3" /> <filter minzoom="13" maxzoom="14" strokeWidth="5" strokeWidth_2="3" />
<filter minzoom="15" maxzoom="15" strokeWidth="6" strokeWidth_2="4" /> <filter minzoom="15" maxzoom="15" strokeWidth="6" strokeWidth_2="4" />
<filter minzoom="16" maxzoom="16" strokeWidth="7" strokeWidth_2="5" /> <filter minzoom="16" maxzoom="16" strokeWidth="7" strokeWidth_2="5" />
<filter minzoom="17" maxzoom="17" strokeWidth="10" strokeWidth_2="8" /> <filter minzoom="17" maxzoom="17" strokeWidth="10" strokeWidth_2="8" />
<filter minzoom="18" strokeWidth="14" strokeWidth_2="12" /> <filter minzoom="18" strokeWidth="14" strokeWidth_2="12" />
</filter> </filter>
</switch>
</filter> </filter>
</switch> </switch>
@ -784,8 +959,12 @@
<filter layer="1" minzoom="15" color="#88ffffff" strokeWidth="4" color_2="#ffcc00" strokeWidth_2="2" pathEffect_2="4_3" /> <filter layer="1" minzoom="15" color="#88ffffff" strokeWidth="4" color_2="#ffcc00" strokeWidth_2="2" pathEffect_2="4_3" />
</filter> </filter>
<filter minzoom="12" maxzoom="12" color="#000000" strokeWidth="0.5" pathEffect="6_3" tag="highway" value="path" /> <switch>
<filter minzoom="13" color="#000000" strokeWidth="1" pathEffect="6_3" tag="highway" value="path" /> <case nightMode="false" color="#000000">
<case nightMode="true" color="#787878">
<filter minzoom="12" maxzoom="12" strokeWidth="0.5" pathEffect="6_3" tag="highway" value="path" />
<filter minzoom="13" strokeWidth="1" pathEffect="6_3" tag="highway" value="path" />
</switch>
<filter minzoom="12" maxzoom="12" color="#996600" strokeWidth="0.5" pathEffect="4_3" tag="highway" value="track" /> <filter minzoom="12" maxzoom="12" color="#996600" strokeWidth="0.5" pathEffect="4_3" tag="highway" value="track" />
<filter minzoom="13" color="#996600" strokeWidth="1" pathEffect="4_3" tag="highway" value="track" /> <filter minzoom="13" color="#996600" strokeWidth="1" pathEffect="4_3" tag="highway" value="track" />
@ -851,14 +1030,18 @@
<!-- waterway --> <!-- waterway -->
<filter minzoom="15" color="#b5d0d0" strokeWidth="2" tag="waterway" value="stream" /> <switch>
<filter layer="-1" minzoom="15" color="#b5d0d0" strokeWidth="3" strokeWidth_2="1" pathEffect_2="4_2" color_2="#ffffff" tag="waterway" <case nightMode="false" color="#b5d0d0" color_2="#ffffff">
<case nightMode="true" color="#330099" color_2="#7340D9">
<filter minzoom="15" strokeWidth="2" tag="waterway" value="stream" />
<filter layer="-1" minzoom="15" strokeWidth="3" strokeWidth_2="1" pathEffect_2="4_2" tag="waterway"
value="stream" /> value="stream" />
<switch> <switch>
<case tag="waterway" value="river" /> <case tag="waterway" value="river" />
<case tag="waterway" value="canal" /> <case tag="waterway" value="canal" />
<filter color="#b5d0d0" pathEffect_2="4_2" color_2="#ffffff"> <filter pathEffect_2="4_2" >
<filter minzoom="5" maxzoom="9" strokeWidth="1" /> <filter minzoom="5" maxzoom="9" strokeWidth="1" />
<filter minzoom="10" maxzoom="12" strokeWidth="2" /> <filter minzoom="10" maxzoom="12" strokeWidth="2" />
@ -874,20 +1057,22 @@
<filter layer="-1" minzoom="17" maxzoom="17" strokeWidth="10" strokeWidth_2="8" /> <filter layer="-1" minzoom="17" maxzoom="17" strokeWidth="10" strokeWidth_2="8" />
<filter layer="-1" minzoom="18" strokeWidth="12" strokeWidth_2="10" /> <filter layer="-1" minzoom="18" strokeWidth="12" strokeWidth_2="10" />
</filter> </filter>
</switch> </switch>
<switch> <switch>
<case tag="waterway" value="ditch" /> <case tag="waterway" value="ditch" />
<case tag="waterway" value="drain" /> <case tag="waterway" value="drain" />
<filter color="#b5d0d0"> <filter>
<filter minzoom="13" maxzoom="14" strokeWidth="1" /> <filter minzoom="13" maxzoom="14" strokeWidth="1" />
<filter minzoom="15" strokeWidth="3" /> <filter minzoom="15" strokeWidth="3" />
<filter layer="-1" minzoom="15" strokeWidth="3" pathEffect_2="4_2" strokeWidth_2="1" color_2="#ffffff" tag="waterway" <filter layer="-1" minzoom="15" strokeWidth="3" pathEffect_2="4_2" strokeWidth_2="1" color_2="#ffffff" tag="waterway"
value="ditch" /> value="ditch" />
</filter> </filter>
</switch>
<filter minzoom="13" strokeWidth="2" tag="waterway" value="dam" />
</switch> </switch>
<filter minzoom="15" color="#aaaaaa" strokeWidth="2" tag="waterway" value="weir" /> <filter minzoom="15" color="#aaaaaa" strokeWidth="2" tag="waterway" value="weir" />
<filter minzoom="13" color="#b5d0d0" strokeWidth="2" tag="waterway" value="dam" />
<!-- railway --> <!-- railway -->
<filter color="#aaaaaa" tag="railway" value="rail"> <filter color="#aaaaaa" tag="railway" value="rail">