Add top rendering style to product and disable compass usage in navigation (doesn't work nice yet)

This commit is contained in:
Victor Shcherb 2013-05-18 17:50:10 +02:00
parent 95de401a0e
commit 7ee4b39163
3 changed files with 1513 additions and 1 deletions

View file

@ -1319,7 +1319,7 @@ public class OsmandSettings {
//public final OsmandPreference<Boolean> USE_COMPASS_IN_NAVIGATION = new BooleanPreference("use_compass_navigation", true).makeProfile().cache();
public final CommonPreference<Boolean> USE_COMPASS_IN_NAVIGATION = new BooleanPreference("use_compass_navigation", true).makeProfile().cache();
{
USE_COMPASS_IN_NAVIGATION.setModeDefaultValue(ApplicationMode.CAR, true);
USE_COMPASS_IN_NAVIGATION.setModeDefaultValue(ApplicationMode.CAR, false);
}
// this value string is synchronized with settings_pref.xml preference name

View file

@ -0,0 +1,755 @@
<renderingStyle name="High detail topo render + public transport" depends="default" defaultColor="#f1eae4" version="1">
<!--
High detail topo render + public transport by Adam Szalapata 2013-04-12, based on touring-view(more_contrast_and_details) by Hardy Mueller and Christof Knuesel.
- other road colors: from red through orange, yellow to white
- other road casing for better visibility without separator lines between segments
- smaller stroke width of many types of roads, paths and railways for a more detailed map view
- a different style for roads under construction (or planned)
- a different style for subway, tram and light rail lines.
- removed brigde rendering for paths, cyclceways, etc.
- buildings are displayed at zoom level 15
- a different color for important buildings, objects (tourist attractions)
- rivers, lakes, etc. have a little darker and saturated tint
- forests have a little less saturated tint
- other route and gpx color adjusted to this style for better visibility
Experimantal: Public transport renderer insted of Alpine hiking renderer:
- in Alpine hiking mode railways, subway, tram and light rail lines are highlighted (more saturated colors and bigger stroke width)
- roads have less saturated colors for better visibility of public transport lines
Contact: sniata@o2.pl
-->
<!--
by Hardy Mueller, 2012-10-28 (Advanced version of the previous All-Purpose Renderer)
- some road and track types already rendered at lower zooms (for travel and orienteering)
- road colors allow unambiguous distinction between all highway/road/track types
- road colors aligned with conventional road atlas
- road visibility increased for better outdoor, driving, and navigation use
- route+gpx visibility increased
- optional: SAC scale for Alpine hiking
- map rendering is aligned to typical map use for all zoom levels (scales), to always give a complete and reliable map at smallest possible zoom.
Typical zoom level use (zX) and alignment of features displayed:
- z7 = "Rough Region Level Overview": Shows motorways, trunks, primary roads and city names
- z11 = "Country Road Atlas": Secondary roads (already from z9) and tertiary (already from z10). Show large scale landuse like forest and residential areas (already from z10). Also all town names (already from z9) and now all other locality names. Shows mountain peaks for orientation.
- z12 = "Detailed Country Road Atlas": Add all other public highways like road, unclassified, residential. Add foot and bike tracks. Also tag mountain peaks.
- z13 = "Regional Driving. Good Overview": Displays all driving as well as hiking connections. Show service, living street, pedestrian and footway highways. Include all area landuse.
- z14 = "Local Driving, also Hiking Map"
- z15 = "City Driving": Display all details of interest for this.
- z16 = "Walking, City tour": Outline and tag buildings
- z17 = Building details, street corner details.
-->
<!--
Alpine hiking renderer by Christof Knuesel based on default renderer by Hardy Mueller
Purpose:
- Alpine Hiking option for mountain hiking with "Hike Bike Map (Hills Underlay)" as overlay map:
With "Hike Bike Map (Hills Underlay)" it becomes hard to distinguish between black lines (path) and brown lines (track).
For this reason tracks are rendered with higher strokewidth than paths,
respectively as solid lines (all tracktypes), while paths are rendered as dashed lines (Alpine Hiking Mode).
- Roads: German map style
Legend:
1) Alpine Hiking Mode (advanced settings / Alpine Hiking enabled)
- Paths are colored by sac_scale:
black dashed line: sac_scale not specified or sac_scale = hiking
red solid line: sac_scale = mountain_hiking
red dashed line: sac_scale = demanding_mountain_hiking
blue solid line: sac_scale = alpine_hiking
blue dashed line: sac_scale = demanding_alpine_hiking
blue dotted line: sac_scale = difficult_alpine_hiking
- Tracks (all tracktypes) are rendered as brown solid lines
2) Other Modes
- Tracks are rendered as thick brown lines:
solid line (tracktype = grade1)
long dashed line (tracktype = grade2)
short dashed line (tracktype = grade3, short dashed narrow-spaced: tracktype not specified)
dash-dotted line (tracktype = grade4)
dotted line (tracktype = grade5)
- Paths are rendered as thin black lines:
long dashed line: sac_scale not specified or sac_scale = hiking
short dashed line: sac_scale = mountain_hiking
dotted line: sac_scale = demanding_mountain_hiking and above
Christof Knuesel, 18.10.2012
email: dingsdale@gmx.de
-->
<renderingProperty attr="alpineHiking" name="Alpine hiking view" description="Render paths according to SAC scale"
type="boolean" possibleValues=""/>
<renderingProperty attr="osmcTraces" name="OSMC traces view" description="Render paths according to OSMC traces"
type="boolean" possibleValues=""/>
<!-- other road casing than in default -->
<renderingAttribute name="shadowRendering">
<!-- 0 - no shadow, 1 - one step, 2 - blur shadow, 3 - solid shadow -->
<!-- next line corrects for shadowColor appearing very dark with solid shadow in day view, bridges would not stand out -->
<filter minzoom="15" nightMode="false" alpineHiking="true" attrIntValue="3" shadowColor="#aaaaaa"/>
<filter minzoom="15" nightMode="false" attrIntValue="2" shadowColor="#888888"/>
<filter minzoom="15" attrIntValue="3" shadowColor="#888888"/>
<!-- next line avoids melting close-together highways into one another - disadvantage is separator lines between segments and at intersections -->
<filter minzoom="9" maxzoom="14" alpineHiking="true" attrIntValue="3" shadowColor="#bebebe"/>
<filter minzoom="9" maxzoom="14" attrIntValue="3" shadowColor="#9e9e9e"/>
<!-- appearance equivalents: one-step #464646 equals solid #767676 -->
<!-- filter minzoom="9" maxzoom="13" attrIntValue="3" shadowColor="#767676"/ -->
<filter attrIntValue="0"/>
</renderingAttribute>
<renderingAttribute name="polygonMinSizeToDisplay">
<!-- Minimum polygon size in pixels -->
<filter attrIntValue="10"/>
</renderingAttribute>
<renderingAttribute name="routeColor">
<filter nightMode="false" attrColorValue="#920000aa"/>
<filter attrColorValue="#aa0000aa"/>
</renderingAttribute>
<renderingAttribute name="gpxColor">
<filter nightMode="false" attrColorValue="#56000072"/>
<filter attrColorValue="#72000072"/>
</renderingAttribute>
<!-- Use hmRendered
- to maximize map details: road inclusion as early as possible (TODO: include ALL roads in very low density areas)
- for better visibility of 'white' roads at small zooms for driving -->
<renderingConstant name="hmRendered" value="true"/>
<order>
</order>
<text>
<filter minzoom="12" tag="osmc_symbol_red" value="" nameTag="osmc_symbol_white_red_bar_name" textMinDistance="150" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_red_bar"/>
<filter minzoom="12" tag="osmc_symbol_yellow" value="" nameTag="osmc_symbol_white_yellow_bar_name" textMinDistance="150" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_yellow_bar"/>
<filter minzoom="12" tag="osmc_symbol_blue" value="" nameTag="osmc_symbol_white_blue_bar_name" textMinDistance="150" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_blue_bar"/>
<filter minzoom="12" tag="osmc_symbol_green" value="" nameTag="osmc_symbol_white_green_bar_name" textMinDistance="150" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_green_bar"/>
</text>
<point>
</point>
<polygon>
<group>
<filter minzoom="9" color="#4dd699" tag="natural" value="wood"/>
<filter minzoom="9" color="#4dd699" tag="landuse" value="wood"/>
<filter minzoom="9" color="#4dd699" tag="landuse" value="forest"/>
<groupFilter nightMode="true" color="#000066" shader=""/>
</group>
<filter minzoom="9" color="#b9c7e1" tag="natural" value="water"/>
<filter minzoom="9" color="#b9c7e1" tag="natural" value="bay"/>
<filter minzoom="9" color="#b9c7e1" tag="landuse" value="reservoir"/>
<filter minzoom="9" color="#b9c7e1" tag="waterway" value="riverbank"/>
<filter minzoom="10" color="#b9c7e1" tag="waterway" value="dock"/>
<filter minzoom="10" color="#b9c7e1" tag="waterway" value="mill_pond"/>
<filter minzoom="13" color="#cc7575" tag="tourism" value="attraction"/>
<filter minzoom="13" color="#cc9595" tag="building" value="church"/>
<filter minzoom="13" color="#cc9595" tag="amenity" value="place_of_worship"/>
<group>
<filter minzoom="15" color="#bca9a9" tag="building" value=""/>
<filter minzoom="15" color="#dddddd" tag="building" value="garages"/>
</group>
</polygon>
<line>
<group>
<filter appMode="car" tag="highway" value="motorway" nightMode="true" color="#c14a37"/>
<filter appMode="car" tag="highway" value="motorway_link" nightMode="true" color="#c14a37"/>
<filter tag="highway" value="motorway" alpineHiking="true" color="#ffdcac"/>
<filter tag="highway" value="motorway_link" alpineHiking="true" color="#ffdcac"/>
<filter tag="highway" value="motorway" color="#c15b3e"/>
<filter tag="highway" value="motorway_link" color="#c15b3e"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="7" maxzoom="9" strokeWidth="2"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="3"/>
<filter minzoom="11" maxzoom="11" strokeWidth="3"/>
<filter minzoom="12" maxzoom="12" strokeWidth="4"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="trunk" nightMode="true" color="#df7e22"/>
<filter appMode="car" tag="highway" value="trunk_link" nightMode="true" color="#df7e22"/>
<filter tag="highway" value="trunk" alpineHiking="true" color="#ffdcac"/>
<filter tag="highway" value="trunk_link" alpineHiking="true" color="#ffdcac"/>
<filter tag="highway" value="trunk" color="#df7e22"/>
<filter tag="highway" value="trunk_link" color="#df7e22"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="7" maxzoom="9" strokeWidth="2"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="3"/>
<filter minzoom="11" maxzoom="11" strokeWidth="3"/>
<filter minzoom="12" maxzoom="12" strokeWidth="4"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="primary" nightMode="true" color="#dfb926"/>
<filter appMode="car" tag="highway" value="primary_link" nightMode="true" color="#dfb926"/>
<filter tag="highway" value="primary" alpineHiking="true" color="#fff5c3"/>
<filter tag="highway" value="primary_link" alpineHiking="true" color="#fff5c3"/>
<filter tag="highway" value="primary" color="#dfb926"/>
<filter tag="highway" value="primary_link" color="#dfb926"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="7" maxzoom="9" strokeWidth="1"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="3"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="secondary" nightMode="true" color="#ffdd20"/>
<filter appMode="car" tag="highway" value="secondary_link" nightMode="true" color="#ffdd20"/>
<filter tag="highway" value="secondary" alpineHiking="true" color="#ffffe5"/>
<filter tag="highway" value="secondary_link" alpineHiking="true" color="#ffffe5"/>
<filter tag="highway" value="secondary" color="#ffdd20"/>
<filter tag="highway" value="secondary_link" color="#ffdd20"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="9" maxzoom="9" strokeWidth="1"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="1"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="8"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="tertiary" nightMode="true" color="#ffff85"/>
<filter appMode="car" tag="highway" value="tertiary_link" nightMode="true" color="#ffff85"/>
<filter tag="highway" value="tertiary" alpineHiking="true" color="#ffffe5"/>
<filter tag="highway" value="tertiary_link" alpineHiking="true" color="#ffffe5"/>
<filter tag="highway" value="tertiary" color="#ffff85"/>
<filter tag="highway" value="tertiary_link" color="#ffff85"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="3"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="1"/>
<filter minzoom="12" maxzoom="12" strokeWidth="1"/>
<filter minzoom="13" maxzoom="13" strokeWidth="2"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="residential" nightMode="true" color="#ffffff"/>
<filter appMode="car" tag="highway" value="residential_link" nightMode="true" color="#ffffff"/>
<filter tag="highway" value="residential" color="#ffffff"/>
<filter tag="highway" value="residential_link" color="#ffffff"/>
<filter tag="highway" value="road" color="#ffffff"/>
<filter tag="highway" value="unclassified" color="#ffffff"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="3"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="1"/>
<filter minzoom="12" maxzoom="12" strokeWidth="1"/>
<filter minzoom="13" maxzoom="13" strokeWidth="2"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="service" nightMode="true" color="#eeeeee"/>
<filter appMode="car" tag="highway" value="service_link" nightMode="true" color="#eeeeee"/>
<filter tag="highway" value="service" color="#eeeeee"/>
<filter tag="highway" value="service_link" color="#eeeeee"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="2"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth="6"/>
<filter minzoom="16" maxzoom="16" strokeWidth="10"/>
<filter minzoom="17" strokeWidth="16"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="1"/>
<filter minzoom="12" maxzoom="12" strokeWidth="1"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1"/>
<filter minzoom="14" maxzoom="14" strokeWidth="3"/>
<filter minzoom="15" maxzoom="15" strokeWidth="4"/>
<filter minzoom="16" maxzoom="16" strokeWidth="7"/>
<filter minzoom="17" strokeWidth="10"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="5"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="11"/>
<filter minzoom="17" strokeWidth_0="17"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="5"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="8"/>
<filter minzoom="17" strokeWidth_0="11"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="5"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="11"/>
<filter minzoom="17" strokeWidth_0="17"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="5"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="8"/>
<filter minzoom="17" strokeWidth_0="11"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter tag="highway" value="track" color="#ba8088">
<filter additional="tracktype=grade1" pathEffect=""/>
<filter additional="tracktype=grade2">
<filter minzoom="12" maxzoom="13" pathEffect="10_3"/>
<filter minzoom="14" pathEffect="15_4.5"/>
</filter>
<filter additional="tracktype=grade3">
<filter minzoom="12" maxzoom="13" pathEffect="5_3"/>
<filter minzoom="14" pathEffect="7.5_4.5"/>
</filter>
<filter additional="tracktype=grade4">
<filter minzoom="12" maxzoom="13" pathEffect="4_3_2_3"/>
<filter minzoom="14" pathEffect="6_4.5_3_4.5"/>
</filter>
<filter additional="tracktype=grade5">
<filter minzoom="12" maxzoom="13" pathEffect="2_3"/>
<filter minzoom="14" pathEffect="3_4.5"/>
</filter>
<filter>
<filter minzoom="12" maxzoom="13" pathEffect="4_2"/>
<filter minzoom="14" pathEffect="6_3"/>
</filter>
<groupFilter>
<filter appMode="pedestrian">
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="1.2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1.8"/>
<filter minzoom="14" strokeWidth="2.5"/>
</filter>
<filter appMode="bicycle">
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="1"/>
<filter test="$hmRendered" minzoom="13" maxzoom="13" strokeWidth="2"/>
<filter test="$hmRendered" minzoom="14" strokeWidth="2.8"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1"/>
<filter minzoom="14" maxzoom="14" strokeWidth="2"/>
<filter minzoom="15" strokeWidth="2.8"/>
</filter>
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="0.7"/>
<filter test="$hmRendered" minzoom="13" maxzoom="13" strokeWidth="1"/>
<filter test="$hmRendered" minzoom="14" maxzoom="14" strokeWidth="2"/>
<filter appMode="car" minzoom="13" maxzoom="13" strokeWidth="0.7"/>
<filter minzoom="14" maxzoom="14" strokeWidth="1"/>
<filter minzoom="15" strokeWidth="2.5"/>
</groupFilter>
</filter>
<filter tag="highway" value="path" color="#ba8088">
<filter additional="sac_scale=hiking" pathEffect="10_3"/>
<filter additional="sac_scale=mountain_hiking" pathEffect="5_5"/>
<filter additional="sac_scale=demanding_mountain_hiking" pathEffect="2_6"/>
<filter additional="sac_scale=alpine_hiking" pathEffect="2_6"/>
<filter additional="sac_scale=demanding_alpine_hiking" pathEffect="2_6"/>
<filter additional="sac_scale=difficult_alpine_hiking" pathEffect="2_6"/>
<filter pathEffect="4_2"/>
<groupFilter>
<filter appMode="pedestrian">
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="1.4"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1.8"/>
<filter minzoom="14" strokeWidth="2.5"/>
</filter>
<filter appMode="bicycle">
<filter test="$hmRendered" minzoom="13" maxzoom="13" strokeWidth="0.7"/>
<filter minzoom="14" strokeWidth="1"/>
</filter>
<filter appMode="car">
<filter test="$hmRendered" minzoom="14" maxzoom="14" strokeWidth="1"/>
<filter minzoom="15" strokeWidth="1"/>
</filter>
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="0.7"/>
<filter test="$hmRendered" minzoom="13" maxzoom="13" strokeWidth="1"/>
<filter minzoom="14" strokeWidth="1"/>
</groupFilter>
<groupFilter nightMode="true" color="#787878"/>
</filter>
</group>
<group>
<filter tag="highway" value="construction" color="#ddbf96" strokeWidth="2" color_2="#ffffff" strokeWidth_2="1" pathEffect_2="12_6"/>
<filter tag="highway" value="proposed" color="#ddbf96" strokeWidth="2" pathEffect="6_12"/>
<groupFilter shadowRadius="1" cap="CUBE">
<filter minzoom="13" maxzoom="13" strokeWidth="2" strokeWidth_2="2"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4" strokeWidth_2="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth="7" strokeWidth_2="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth="10" strokeWidth_2="10"/>
<filter minzoom="17" strokeWidth="14" strokeWidth_2="14"/>
</groupFilter>
</group>
<group>
<filter tag="railway" minzoom="7" value="rail" alpineHiking="true" nightMode="true" color="#505050" strokeWidth="1"/>
<filter tag="railway" minzoom="7" value="rail" alpineHiking="true" color="#505050" strokeWidth="1"/>
<groupFilter minzoom="9" alpineHiking="true" strokeWidth="2"/>
<groupFilter minzoom="13" alpineHiking="true" strokeWidth="4"/>
<groupFilter minzoom="15" alpineHiking="true" strokeWidth="6"/>
<groupFilter minzoom="17" alpineHiking="true" strokeWidth="8"/>
</group>
<group>
<filter tag="railway" minzoom="13" value="light_rail" alpineHiking="true" nightMode="true" color="#dd4115" strokeWidth="4"/>
<filter tag="railway" minzoom="13" value="light_rail" alpineHiking="true" color="#dd4115" strokeWidth="4"/>
<groupFilter minzoom="15" alpineHiking="true" strokeWidth="6"/>
<groupFilter minzoom="17" alpineHiking="true" strokeWidth="8"/>
</group>
<group>
<filter tag="railway" minzoom="13" value="subway" alpineHiking="true" nightMode="true" color="#15359c" strokeWidth="4"/>
<filter tag="railway" minzoom="13" value="subway" alpineHiking="true" color="#15359c" strokeWidth="4"/>
<groupFilter minzoom="15" alpineHiking="true" strokeWidth="6"/>
<groupFilter minzoom="17" alpineHiking="true" strokeWidth="8"/>
</group>
<group>
<filter tag="railway" minzoom="13" value="tram" alpineHiking="true" nightMode="true" color="#169820" strokeWidth="4"/>
<filter tag="railway" minzoom="13" value="tram" alpineHiking="true" color="#169820" strokeWidth="4"/>
<groupFilter minzoom="15" alpineHiking="true" strokeWidth="6"/>
<groupFilter minzoom="17" alpineHiking="true" strokeWidth="8"/>
</group>
<group>
<filter tag="railway" minzoom="13" value="tram" nightMode="true" color="#8c8f60" strokeWidth="1"/>
<filter tag="railway" minzoom="13" value="tram" color="#8c8f60" strokeWidth="1"/>
<groupFilter minzoom="18" strokeWidth="2"/>
</group>
<group>
<filter tag="railway" minzoom="13" value="light_rail" nightMode="true" color="#656747" strokeWidth="1"/>
<filter tag="railway" minzoom="13" value="light_rail" color="#656747" strokeWidth="1"/>
<groupFilter minzoom="18" strokeWidth="2"/>
</group>
<group>
<filter tag="railway" minzoom="13" value="subway" nightMode="true" color="#516aa7" strokeWidth="1" pathEffect="6_2"/>
<filter tag="railway" minzoom="13" value="subway" color="#516aa7" strokeWidth="1" pathEffect="6_2"/>
<groupFilter minzoom="15" strokeWidth="2"/>
</group>
<filter tag="railway" minzoom="7" maxzoom="12" value="rail" nightMode="true" color="#999999" strokeWidth="1"/>
<filter tag="railway" minzoom="7" maxzoom="12" value="rail" color="#999999" strokeWidth="1"/>
<filter tag="railway" minzoom="7" value="disused" nightMode="true" color="#999999" strokeWidth="1" pathEffect="1_6"/>
<filter tag="railway" minzoom="7" value="disused" color="#999999" strokeWidth="1" pathEffect="1_6"/>
<filter tag="highway" minzoom="12" maxzoom="14" value="footway" alpineHiking="false" color="#ba8088" strokeWidth="0.5" pathEffect="2_2"/>
<filter tag="highway" minzoom="15" value="footway" alpineHiking="false" color="#ba8088" strokeWidth="1" pathEffect="2_2"/>
<group>
<filter tag="highway" value="cycleway" nightMode="true" color="#9595c4" strokeWidth="1" pathEffect="2_2"/>
<filter tag="highway" value="cycleway" color="#9595c4" strokeWidth="1" pathEffect="2_2"/>
<groupFilter maxzoom="13" strokeWidth="0"/>
</group>
<filter tag="route" value="ferry" minzoom="8" color="#9999FF" strokeWidth="1" pathEffect="6_3"/>
<filter minzoom="9" color="#b9c7e1" tag="waterway" value="river"/>
<filter minzoom="9" color="#b9c7e1" tag="waterway" value="canal"/>
<filter minzoom="9" color="#b9c7e1" tag="waterway" value="stream"/>
<filter tag="osmc_symbol_red" value="" color="#31FF0000" osmcTraces="true">
<filter minzoom="12" maxzoom="13" strokeWidth="8" pathEffect="8_6" />
<filter minzoom="14" maxzoom="14" strokeWidth="10" pathEffect="8_6" />
<filter minzoom="15" maxzoom="15" strokeWidth="12" pathEffect="16_12" />
<filter minzoom="16" maxzoom="16" strokeWidth="16" pathEffect="32_24" />
<filter minzoom="17" strokeWidth="20" pathEffect="32_24" />
</filter>
<filter tag="osmc_symbol_green" value="" color="#3100FF00" osmcTraces="true">
<filter minzoom="12" maxzoom="13" strokeWidth="8" pathEffect="8_6_2" />
<filter minzoom="14" maxzoom="14" strokeWidth="10" pathEffect="8_6_2" />
<filter minzoom="15" maxzoom="15" strokeWidth="12" pathEffect="16_12_4"/>
<filter minzoom="16" maxzoom="16" strokeWidth="16" pathEffect="32_24_8"/>
<filter minzoom="17" strokeWidth="20" pathEffect="32_24_8"/>
</filter>
<filter tag="osmc_symbol_blue" value="" color="#310000FF" osmcTraces="true">
<filter minzoom="12" maxzoom="13" strokeWidth="8" pathEffect="8_6_4" />
<filter minzoom="14" maxzoom="14" strokeWidth="10" pathEffect="8_6_4" />
<filter minzoom="15" maxzoom="15" strokeWidth="12" pathEffect="16_12_8" />
<filter minzoom="16" maxzoom="16" strokeWidth="16" pathEffect="32_24_16"/>
<filter minzoom="17" strokeWidth="20" pathEffect="32_24_16"/>
</filter>
<filter tag="osmc_symbol_yellow" value="" color="#64ffff5d" osmcTraces="true">
<filter minzoom="12" maxzoom="13" strokeWidth="8" pathEffect="8_6_6" />
<filter minzoom="14" maxzoom="14" strokeWidth="10" pathEffect="8_6_6" />
<filter minzoom="15" maxzoom="15" strokeWidth="12" pathEffect="16_12_12"/>
<filter minzoom="16" maxzoom="16" strokeWidth="16" pathEffect="32_24_24"/>
<filter minzoom="17" strokeWidth="20" pathEffect="32_24_24"/>
</filter>
</line>
</renderingStyle>

View file

@ -0,0 +1,757 @@
<renderingStyle name="High detail topo render" depends="default" defaultColor="#f1eae4" version="1">
<!--
High detail topo render by Adam Szalapata 2013-04-12, based on touring-view(more_contrast_and_details) by Hardy Mueller and Christof Knuesel.
- other road colors: from red through orange, yellow to white
- other road casing for better visibility without separator lines between segments
- smaller stroke width of many types of roads, paths and railways for a more detailed map view
- a different style for roads under construction (or planned)
- a different style for subway, tram and light rail lines.
- removed brigde rendering for paths, cyclceways, etc.
- buildings are displayed at zoom level 15
- a different color for important buildings, objects (tourist attractions)
- rivers, lakes, etc. have a little darker and saturated tint
- forests have a little less saturated tint
- other route and gpx color adjusted to this style for better visibility
Contact: sniata@o2.pl
-->
<!--
by Hardy Mueller, 2012-10-28 (Advanced version of the previous All-Purpose Renderer)
- some road and track types already rendered at lower zooms (for travel and orienteering)
- road colors allow unambiguous distinction between all highway/road/track types
- road colors aligned with conventional road atlas
- road visibility increased for better outdoor, driving, and navigation use
- route+gpx visibility increased
- optional: SAC scale for Alpine hiking
- map rendering is aligned to typical map use for all zoom levels (scales), to always give a complete and reliable map at smallest possible zoom.
Typical zoom level use (zX) and alignment of features displayed:
- z7 = "Rough Region Level Overview": Shows motorways, trunks, primary roads and city names
- z11 = "Country Road Atlas": Secondary roads (already from z9) and tertiary (already from z10). Show large scale landuse like forest and residential areas (already from z10). Also all town names (already from z9) and now all other locality names. Shows mountain peaks for orientation.
- z12 = "Detailed Country Road Atlas": Add all other public highways like road, unclassified, residential. Add foot and bike tracks. Also tag mountain peaks.
- z13 = "Regional Driving. Good Overview": Displays all driving as well as hiking connections. Show service, living street, pedestrian and footway highways. Include all area landuse.
- z14 = "Local Driving, also Hiking Map"
- z15 = "City Driving": Display all details of interest for this.
- z16 = "Walking, City tour": Outline and tag buildings
- z17 = Building details, street corner details.
-->
<!--
Alpine hiking renderer by Christof Knuesel based on default renderer by Hardy Mueller
Purpose:
- Alpine Hiking option for mountain hiking with "Hike Bike Map (Hills Underlay)" as overlay map:
With "Hike Bike Map (Hills Underlay)" it becomes hard to distinguish between black lines (path) and brown lines (track).
For this reason tracks are rendered with higher strokewidth than paths,
respectively as solid lines (all tracktypes), while paths are rendered as dashed lines (Alpine Hiking Mode).
- Roads: German map style
Legend:
1) Alpine Hiking Mode (advanced settings / Alpine Hiking enabled)
- Paths are colored by sac_scale:
black dashed line: sac_scale not specified or sac_scale = hiking
red solid line: sac_scale = mountain_hiking
red dashed line: sac_scale = demanding_mountain_hiking
blue solid line: sac_scale = alpine_hiking
blue dashed line: sac_scale = demanding_alpine_hiking
blue dotted line: sac_scale = difficult_alpine_hiking
- Tracks (all tracktypes) are rendered as brown solid lines
2) Other Modes
- Tracks are rendered as thick brown lines:
solid line (tracktype = grade1)
long dashed line (tracktype = grade2)
short dashed line (tracktype = grade3, short dashed narrow-spaced: tracktype not specified)
dash-dotted line (tracktype = grade4)
dotted line (tracktype = grade5)
- Paths are rendered as thin black lines:
long dashed line: sac_scale not specified or sac_scale = hiking
short dashed line: sac_scale = mountain_hiking
dotted line: sac_scale = demanding_mountain_hiking and above
Christof Knuesel, 18.10.2012
email: dingsdale@gmx.de
-->
<renderingProperty attr="alpineHiking" name="Alpine hiking view" description="Render paths according to SAC scale"
type="boolean" possibleValues=""/>
<renderingProperty attr="osmcTraces" name="OSMC traces view" description="Render paths according to OSMC traces"
type="boolean" possibleValues=""/>
<!-- other road casing than in default -->
<renderingAttribute name="shadowRendering">
<!-- 0 - no shadow, 1 - one step, 2 - blur shadow, 3 - solid shadow -->
<!-- next line corrects for shadowColor appearing very dark with solid shadow in day view, bridges would not stand out -->
<filter minzoom="15" nightMode="false" attrIntValue="3" shadowColor="#888888"/>
<filter minzoom="15" attrIntValue="3" shadowColor="#888888"/>
<!-- next line avoids melting close-together highways into one another - disadvantage is separator lines between segments and at intersections -->
<filter minzoom="9" maxzoom="14" attrIntValue="3" shadowColor="#9e9e9e"/>
<!-- appearance equivalents: one-step #464646 equals solid #767676 -->
<!-- filter minzoom="9" maxzoom="13" attrIntValue="3" shadowColor="#767676"/ -->
<filter attrIntValue="0"/>
</renderingAttribute>
<renderingAttribute name="polygonMinSizeToDisplay">
<!-- Minimum polygon size in pixels -->
<filter attrIntValue="10"/>
</renderingAttribute>
<renderingAttribute name="routeColor">
<filter nightMode="false" attrColorValue="#920000aa"/>
<filter attrColorValue="#aa0000aa"/>
</renderingAttribute>
<renderingAttribute name="gpxColor">
<filter nightMode="false" attrColorValue="#56000072"/>
<filter attrColorValue="#72000072"/>
</renderingAttribute>
<!-- Use hmRendered
- to maximize map details: road inclusion as early as possible (TODO: include ALL roads in very low density areas)
- for better visibility of 'white' roads at small zooms for driving -->
<renderingConstant name="hmRendered" value="true"/>
<order>
</order>
<text>
<filter minzoom="12" tag="osmc_symbol_red" value="" nameTag="osmc_symbol_white_red_bar_name" textMinDistance="150" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_red_bar"/>
<filter minzoom="12" tag="osmc_symbol_yellow" value="" nameTag="osmc_symbol_white_yellow_bar_name" textMinDistance="150" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_yellow_bar"/>
<filter minzoom="12" tag="osmc_symbol_blue" value="" nameTag="osmc_symbol_white_blue_bar_name" textMinDistance="150" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_blue_bar"/>
<filter minzoom="12" tag="osmc_symbol_green" value="" nameTag="osmc_symbol_white_green_bar_name" textMinDistance="150" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_green_bar"/>
</text>
<point>
</point>
<polygon>
<group>
<filter minzoom="9" color="#4dd699" tag="natural" value="wood"/>
<filter minzoom="9" color="#4dd699" tag="landuse" value="wood"/>
<filter minzoom="9" color="#4dd699" tag="landuse" value="forest"/>
<groupFilter nightMode="true" color="#000066" shader=""/>
</group>
<filter minzoom="9" color="#b9c7e1" tag="natural" value="water"/>
<filter minzoom="9" color="#b9c7e1" tag="natural" value="bay"/>
<filter minzoom="9" color="#b9c7e1" tag="landuse" value="reservoir"/>
<filter minzoom="9" color="#b9c7e1" tag="waterway" value="riverbank"/>
<filter minzoom="10" color="#b9c7e1" tag="waterway" value="dock"/>
<filter minzoom="10" color="#b9c7e1" tag="waterway" value="mill_pond"/>
<filter minzoom="13" color="#cc7575" tag="tourism" value="attraction"/>
<filter minzoom="13" color="#cc9595" tag="building" value="church"/>
<filter minzoom="13" color="#cc9595" tag="amenity" value="place_of_worship"/>
<group>
<filter minzoom="15" color="#bca9a9" tag="building" value=""/>
<filter minzoom="15" color="#dddddd" tag="building" value="garages"/>
</group>
</polygon>
<line>
<group>
<filter appMode="car" tag="highway" value="motorway" nightMode="true" color="#c14a37"/>
<filter appMode="car" tag="highway" value="motorway_link" nightMode="true" color="#c14a37"/>
<filter tag="highway" value="motorway" color="#c15b3e"/>
<filter tag="highway" value="motorway_link" color="#c15b3e"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="7" maxzoom="9" strokeWidth="2"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="3"/>
<filter minzoom="11" maxzoom="11" strokeWidth="3"/>
<filter minzoom="12" maxzoom="12" strokeWidth="4"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="trunk" nightMode="true" color="#df7e22"/>
<filter appMode="car" tag="highway" value="trunk_link" nightMode="true" color="#df7e22"/>
<filter tag="highway" value="trunk" color="#df7e22"/>
<filter tag="highway" value="trunk_link" color="#df7e22"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="7" maxzoom="9" strokeWidth="2"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="3"/>
<filter minzoom="11" maxzoom="11" strokeWidth="3"/>
<filter minzoom="12" maxzoom="12" strokeWidth="4"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="primary" nightMode="true" color="#dfb926"/>
<filter appMode="car" tag="highway" value="primary_link" nightMode="true" color="#dfb926"/>
<filter tag="highway" value="primary" color="#dfb926"/>
<filter tag="highway" value="primary_link" color="#dfb926"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="7" maxzoom="9" strokeWidth="1"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="3"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="13"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="secondary" nightMode="true" color="#ffdd20"/>
<filter appMode="car" tag="highway" value="secondary_link" nightMode="true" color="#ffdd20"/>
<filter tag="highway" value="secondary" color="#ffdd20"/>
<filter tag="highway" value="secondary_link" color="#ffdd20"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="9" maxzoom="9" strokeWidth="1"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="1"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="8"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="tertiary" nightMode="true" color="#ffff85"/>
<filter appMode="car" tag="highway" value="tertiary_link" nightMode="true" color="#ffff85"/>
<filter tag="highway" value="tertiary" color="#ffff85"/>
<filter tag="highway" value="tertiary_link" color="#ffff85"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="3"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="1"/>
<filter minzoom="12" maxzoom="12" strokeWidth="1"/>
<filter minzoom="13" maxzoom="13" strokeWidth="2"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="residential" nightMode="true" color="#ffffff"/>
<filter appMode="car" tag="highway" value="residential_link" nightMode="true" color="#ffffff"/>
<filter tag="highway" value="residential" color="#ffffff"/>
<filter tag="highway" value="residential_link" color="#ffffff"/>
<filter tag="highway" value="road" color="#ffffff"/>
<filter tag="highway" value="unclassified" color="#ffffff"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="3"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="1"/>
<filter minzoom="12" maxzoom="12" strokeWidth="1"/>
<filter minzoom="13" maxzoom="13" strokeWidth="2"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" strokeWidth="17"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="11"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="9"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="14"/>
<filter minzoom="17" strokeWidth_0="19"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="service" nightMode="true" color="#eeeeee"/>
<filter appMode="car" tag="highway" value="service_link" nightMode="true" color="#eeeeee"/>
<filter tag="highway" value="service" color="#eeeeee"/>
<filter tag="highway" value="service_link" color="#eeeeee"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2"/>
<filter minzoom="12" maxzoom="12" strokeWidth="2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="2"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth="6"/>
<filter minzoom="16" maxzoom="16" strokeWidth="10"/>
<filter minzoom="17" strokeWidth="16"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="1"/>
<filter minzoom="11" maxzoom="11" strokeWidth="1"/>
<filter minzoom="12" maxzoom="12" strokeWidth="1"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1"/>
<filter minzoom="14" maxzoom="14" strokeWidth="3"/>
<filter minzoom="15" maxzoom="15" strokeWidth="4"/>
<filter minzoom="16" maxzoom="16" strokeWidth="7"/>
<filter minzoom="17" strokeWidth="10"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" color_0="#000000" pathEffect_0="4_4" shadowRadius="0" cap="BUTT">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="5"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="11"/>
<filter minzoom="17" strokeWidth_0="17"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="5"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="8"/>
<filter minzoom="17" strokeWidth_0="11"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth_0="5"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="11"/>
<filter minzoom="17" strokeWidth_0="17"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="5"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="8"/>
<filter minzoom="17" strokeWidth_0="11"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter tag="highway" value="track" color="#ba8088">
<!-- In ped mode with Alpine Hiking, make tracks solid to more clearly distinguish them from paths (forum feedback of 2012-12-06) -->
<filter alpineHiking="true" appMode="pedestrian" pathEffect=""/>
<filter additional="tracktype=grade1" pathEffect=""/>
<filter additional="tracktype=grade2">
<filter minzoom="12" maxzoom="13" pathEffect="10_3"/>
<filter minzoom="14" pathEffect="15_4.5"/>
</filter>
<filter additional="tracktype=grade3">
<filter minzoom="12" maxzoom="13" pathEffect="5_3"/>
<filter minzoom="14" pathEffect="7.5_4.5"/>
</filter>
<filter additional="tracktype=grade4">
<filter minzoom="12" maxzoom="13" pathEffect="4_3_2_3"/>
<filter minzoom="14" pathEffect="6_4.5_3_4.5"/>
</filter>
<filter additional="tracktype=grade5">
<filter minzoom="12" maxzoom="13" pathEffect="2_3"/>
<filter minzoom="14" pathEffect="3_4.5"/>
</filter>
<filter>
<filter minzoom="12" maxzoom="13" pathEffect="4_2"/>
<filter minzoom="14" pathEffect="6_3"/>
</filter>
<groupFilter>
<filter appMode="pedestrian">
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="1.2"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1.8"/>
<filter minzoom="14" strokeWidth="2.5"/>
</filter>
<filter appMode="bicycle">
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="1"/>
<filter test="$hmRendered" minzoom="13" maxzoom="13" strokeWidth="2"/>
<filter test="$hmRendered" minzoom="14" strokeWidth="2.8"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1"/>
<filter minzoom="14" maxzoom="14" strokeWidth="2"/>
<filter minzoom="15" strokeWidth="2.8"/>
</filter>
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="0.7"/>
<filter test="$hmRendered" minzoom="13" maxzoom="13" strokeWidth="1"/>
<filter test="$hmRendered" minzoom="14" maxzoom="14" strokeWidth="2"/>
<filter appMode="car" minzoom="13" maxzoom="13" strokeWidth="0.7"/>
<filter minzoom="14" maxzoom="14" strokeWidth="1"/>
<filter minzoom="15" strokeWidth="2.5"/>
</groupFilter>
</filter>
<filter tag="highway" value="path" alpineHiking="true">
<filter additional="sac_scale=hiking" color="#000000" pathEffect="10_3"/>
<filter additional="sac_scale=mountain_hiking" color="#ff0000" pathEffect=""/>
<filter additional="sac_scale=demanding_mountain_hiking" color="#ff0000" pathEffect="10_3"/>
<filter additional="sac_scale=alpine_hiking" color="#0033ff" pathEffect=""/>
<filter additional="sac_scale=demanding_alpine_hiking" color="#0033ff" pathEffect="10_3"/>
<filter additional="sac_scale=difficult_alpine_hiking" color="#0033ff" pathEffect="3_3"/>
<filter pathEffect="4_2" color="#000000">
<filter nightMode="true" color="#787878"/>
</filter>
<groupFilter>
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="1.4"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1.8"/>
<filter minzoom="14" strokeWidth="2.5"/>
</groupFilter>
</filter>
<filter tag="highway" value="path" color="#ba8088">
<filter additional="sac_scale=hiking" pathEffect="10_3"/>
<filter additional="sac_scale=mountain_hiking" pathEffect="5_5"/>
<filter additional="sac_scale=demanding_mountain_hiking" pathEffect="2_6"/>
<filter additional="sac_scale=alpine_hiking" pathEffect="2_6"/>
<filter additional="sac_scale=demanding_alpine_hiking" pathEffect="2_6"/>
<filter additional="sac_scale=difficult_alpine_hiking" pathEffect="2_6"/>
<filter pathEffect="4_2"/>
<groupFilter>
<filter appMode="pedestrian">
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="1.4"/>
<filter minzoom="13" maxzoom="13" strokeWidth="1.8"/>
<filter minzoom="14" strokeWidth="2.5"/>
</filter>
<filter appMode="bicycle">
<filter test="$hmRendered" minzoom="13" maxzoom="13" strokeWidth="0.7"/>
<filter minzoom="14" strokeWidth="1"/>
</filter>
<filter appMode="car">
<filter test="$hmRendered" minzoom="14" maxzoom="14" strokeWidth="1"/>
<filter minzoom="15" strokeWidth="1"/>
</filter>
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="0.7"/>
<filter test="$hmRendered" minzoom="13" maxzoom="13" strokeWidth="1"/>
<filter minzoom="14" strokeWidth="1"/>
</groupFilter>
<groupFilter nightMode="true" color="#787878"/>
</filter>
<!-- Alpine Hiking Mode: remove conflicting colors -->
<filter tag="highway" value="cycleway" alpineHiking="true" color="#000000" pathEffect="4_2">
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="0.7"/>
<filter minzoom="13" strokeWidth="1"/>
<groupFilter nightMode="true" color="#787878"/>
</filter>
<filter tag="highway" value="footway" alpineHiking="true" color="#000000" pathEffect="5_5">
<filter test="$hmRendered" minzoom="12" maxzoom="12" strokeWidth="1.2"/>
<filter minzoom="13" strokeWidth="1.2"/>
<groupFilter nightMode="true" color="#787878"/>
</filter>
<filter tag="highway" value="steps" alpineHiking="true" color="#000000" pathEffect="2_2">
<filter test="$hmRendered" minzoom="14" strokeWidth="4"/>
<filter minzoom="15" strokeWidth="4"/>
<groupFilter nightMode="true" color="#787878"/>
</filter>
<!-- End Alpine Hiking Mode: remove conflicting colors -->
<!-- Bridges -->
<groupFilter layer="1">
<filter nightMode="true" minzoom="14" color__1="#ffffff" strokeWidth__1="6.5" color_0="#b0b0b0" strokeWidth_0="5"/>
<filter minzoom="14" color__1="#000000" strokeWidth__1="6.5" color_0="#ffffff" strokeWidth_0="5"/>
</groupFilter>
<!-- Tunnels -->
<groupFilter layer="-1">
<filter nightMode="true" minzoom="14" color__1="#ffffff" strokeWidth__1="6.5" pathEffect__1="3_3" color_0="#b0b0b0" strokeWidth_0="5"/>
<filter minzoom="14" color__1="#000000" strokeWidth__1="6.5" pathEffect__1="3_3" color_0="#ffffff" strokeWidth_0="5"/>
</groupFilter>
</group>
<group>
<filter tag="highway" value="construction" color="#ddbf96" strokeWidth="2" color_2="#ffffff" strokeWidth_2="1" pathEffect_2="12_6"/>
<filter tag="highway" value="proposed" color="#ddbf96" strokeWidth="2" pathEffect="6_12"/>
<groupFilter shadowRadius="1" cap="CUBE">
<filter minzoom="13" maxzoom="13" strokeWidth="2" strokeWidth_2="2"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4" strokeWidth_2="4"/>
<filter minzoom="15" maxzoom="15" strokeWidth="7" strokeWidth_2="7"/>
<filter minzoom="16" maxzoom="16" strokeWidth="10" strokeWidth_2="10"/>
<filter minzoom="17" strokeWidth="14" strokeWidth_2="14"/>
</groupFilter>
</group>
<group>
<filter tag="railway" minzoom="13" value="tram" nightMode="true" color="#8c8f60" strokeWidth="1"/>
<filter tag="railway" minzoom="13" value="tram" color="#8c8f60" strokeWidth="1"/>
<groupFilter minzoom="18" strokeWidth="2"/>
</group>
<group>
<filter tag="railway" minzoom="13" value="subway" alpineHiking="true" nightMode="true" color="#415aa7" strokeWidth="3" />
<filter tag="railway" minzoom="13" value="subway" alpineHiking="true" color="#415aa7" strokeWidth="3"/>
<groupFilter minzoom="15" alpineHiking="true" strokeWidth="4"/>
</group>
<group>
<filter tag="railway" minzoom="13" value="subway" nightMode="true" color="#516aa7" strokeWidth="1" pathEffect="6_2"/>
<filter tag="railway" minzoom="13" value="subway" color="#516aa7" strokeWidth="1" pathEffect="6_2"/>
<groupFilter minzoom="15" strokeWidth="2"/>
</group>
<filter tag="railway" minzoom="7" maxzoom="12" value="rail" nightMode="true" color="#999999" strokeWidth="1"/>
<filter tag="railway" minzoom="7" maxzoom="12" value="rail" color="#999999" strokeWidth="1"/>
<filter tag="railway" minzoom="7" value="disused" nightMode="true" color="#999999" strokeWidth="1" pathEffect="1_6"/>
<filter tag="railway" minzoom="7" value="disused" color="#999999" strokeWidth="1" pathEffect="1_6"/>
<filter tag="highway" minzoom="12" maxzoom="14" value="footway" alpineHiking="false" color="#ba8088" strokeWidth="0.5" pathEffect="2_2"/>
<filter tag="highway" minzoom="15" value="footway" alpineHiking="false" color="#ba8088" strokeWidth="1" pathEffect="2_2"/>
<group>
<filter tag="highway" value="cycleway" alpineHiking="false" nightMode="true" color="#9595c4" strokeWidth="1" pathEffect="2_2"/>
<filter tag="highway" value="cycleway" alpineHiking="false" color="#9595c4" strokeWidth="1" pathEffect="2_2"/>
<groupFilter maxzoom="13" strokeWidth="0"/>
</group>
<filter tag="route" value="ferry" minzoom="8" color="#9999FF" strokeWidth="1" pathEffect="6_3"/>
<filter minzoom="9" color="#b9c7e1" tag="waterway" value="river"/>
<filter minzoom="9" color="#b9c7e1" tag="waterway" value="canal"/>
<filter minzoom="9" color="#b9c7e1" tag="waterway" value="stream"/>
<filter tag="osmc_symbol_red" value="" color="#31FF0000" osmcTraces="true">
<filter minzoom="12" maxzoom="13" strokeWidth="8" pathEffect="8_6" />
<filter minzoom="14" maxzoom="14" strokeWidth="10" pathEffect="8_6" />
<filter minzoom="15" maxzoom="15" strokeWidth="12" pathEffect="16_12" />
<filter minzoom="16" maxzoom="16" strokeWidth="16" pathEffect="32_24" />
<filter minzoom="17" strokeWidth="20" pathEffect="32_24" />
</filter>
<filter tag="osmc_symbol_green" value="" color="#3100FF00" osmcTraces="true">
<filter minzoom="12" maxzoom="13" strokeWidth="8" pathEffect="8_6_2" />
<filter minzoom="14" maxzoom="14" strokeWidth="10" pathEffect="8_6_2" />
<filter minzoom="15" maxzoom="15" strokeWidth="12" pathEffect="16_12_4"/>
<filter minzoom="16" maxzoom="16" strokeWidth="16" pathEffect="32_24_8"/>
<filter minzoom="17" strokeWidth="20" pathEffect="32_24_8"/>
</filter>
<filter tag="osmc_symbol_blue" value="" color="#310000FF" osmcTraces="true">
<filter minzoom="12" maxzoom="13" strokeWidth="8" pathEffect="8_6_4" />
<filter minzoom="14" maxzoom="14" strokeWidth="10" pathEffect="8_6_4" />
<filter minzoom="15" maxzoom="15" strokeWidth="12" pathEffect="16_12_8" />
<filter minzoom="16" maxzoom="16" strokeWidth="16" pathEffect="32_24_16"/>
<filter minzoom="17" strokeWidth="20" pathEffect="32_24_16"/>
</filter>
<filter tag="osmc_symbol_yellow" value="" color="#64ffff5d" osmcTraces="true">
<filter minzoom="12" maxzoom="13" strokeWidth="8" pathEffect="8_6_6" />
<filter minzoom="14" maxzoom="14" strokeWidth="10" pathEffect="8_6_6" />
<filter minzoom="15" maxzoom="15" strokeWidth="12" pathEffect="16_12_12"/>
<filter minzoom="16" maxzoom="16" strokeWidth="16" pathEffect="32_24_24"/>
<filter minzoom="17" strokeWidth="20" pathEffect="32_24_24"/>
</filter>
</line>
</renderingStyle>