Move all resources to special project (Osmand-resources)

This commit is contained in:
Victor Shcherb 2013-06-17 01:31:59 +02:00
parent e9551ccc5f
commit 96f93f9154
12 changed files with 49 additions and 4633 deletions

4
.gitignore vendored
View file

@ -1 +1,3 @@
.metadata *.render.xml
routing*.xml
countries.reginfo

View file

@ -26,7 +26,27 @@
<delete file="OsmAnd-core.jar"/> <delete file="OsmAnd-core.jar"/>
</target> </target>
<target name="compile" depends="-dirs">
<target name="copy_resources">
<copy todir="${src.absolute.dir}/net/osmand/router/">
<fileset dir="../../resources/routing/" >
<include name="*.xml"/>
</fileset>
</copy>
<copy todir="${src.absolute.dir}/net/osmand/render/">
<fileset dir="../../resources/rendering_styles/" >
<include name="*.xml"/>
</fileset>
</copy>
<copy todir="${src.absolute.dir}/net/osmand/map/">
<fileset dir="../../resources/countries-info/" >
<include name="countries.reginfo"/>
</fileset>
</copy>
</target>
<target name="compile" depends="-dirs,copy_resources">
<copy todir="${bin.absolute.dir}"> <copy todir="${bin.absolute.dir}">
<fileset dir="${src.absolute.dir}"> <fileset dir="${src.absolute.dir}">
<exclude name="**/*.java" /> <exclude name="**/*.java" />

View file

@ -1,35 +0,0 @@
<renderingStyle name="Depends-template" depends="default" defaultColor="#f1eae4" version="1">
<!-- In a dependent renderer, just specify what should change vs. the master/default renderer -->
<!-- Example: modify route and gpx overlay colors -->
<renderingAttribute name="routeColor">
<filter nightMode="false" attrColorValue="#CCFF6600"/>
<filter attrColorValue="#CCFF6600"/>
</renderingAttribute>
<renderingAttribute name="gpxColor">
<filter nightMode="false" attrColorValue="#B400FFFF"/>
<filter attrColorValue="#B400FFFF"/>
</renderingAttribute>
<order>
</order>
<text>
</text>
<point>
</point>
<polygon>
</polygon>
<line>
</line>
</renderingStyle>

View file

@ -1,39 +0,0 @@
<renderingStyle name="High-contrast-roads" depends="default" defaultColor="#f1eae4" version="1">
<!--
Depends on All-Purpose Renderer (by Hardy Mueller), based on production version 2012-01-04
-->
<!--
Try high contrast roads, suggested by Dirk Sommer: primary = #C00828, secondary = #FF8000, tertiary = #F0C810
2012-10-07 Simplify using Constants
-->
<!-- roadColors="High contrast roads" -->
<renderingConstant name="motorwayRoadColor" value="#3838B0"/>
<renderingConstant name="trunkRoadColor" value="#A01060"/>
<renderingConstant name="primaryRoadColor" value="#C00828"/>
<renderingConstant name="secondaryRoadColor" value="#FF8000"/>
<renderingConstant name="tertiaryRoadColor" value="#F0C810"/>
<order>
</order>
<text>
</text>
<point>
</point>
<polygon>
</polygon>
<line>
</line>
</renderingStyle>

View file

@ -1,759 +0,0 @@
<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="1" tag="natural" value="coastline" color="#b9c7e1" strokeWidth_2="1"/>
<filter minzoom="4" tag="natural" value="lake" color="#b9c7e1" />
<filter minzoom="10" tag="landuse" value="basin" color="#b9c7e1"/>
<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

@ -1,757 +0,0 @@
<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>

View file

@ -1,609 +0,0 @@
<renderingStyle name="Touring-view_(more-contrast-and-details).render" depends="default" defaultColor="#f1eae4" version="1">
<!--
TOURING VIEW Renderer by Hardy Mueller, 2012-10-28 (Advanced version of the previous All-Purpose Renderer)
Differences of the "Touring View" vs. the "Default" Renderer:
In Touring view:
* some road and track types already rendered at lower zooms (for travel and orienteering)
* the road colors allow unambiguous distinction between all highway/road/track types
* the road colors are more aligned with conventional road atlas
* the road visibility is increased for better outdoor, driving, and navigation use
* the route+gpx visibility increased
* there are additional touring feature options
- to display the SAC scale (for Alpine hiking)
- display hiking route symbols
- display bicycle networks
-->
<!--
RENDERER CONCEPT: Concept of what is Rendered at what Zoom Level (Dr. Hardy Mueller, 2011-06-26)
The map rendering is aligned to "the typical map use" per zoom level (scale), to always produce a complete and dependable map (for travel/orienteering) at the lowest possible zoom, as follows:
***** ********************************* *****************
Zoom
Level Typical Use Features Rendered
***** ********************************* *****************
- 7 "Rough Region Level Overview" Shows motorways, trunks, primary roads and city names
- 11 "Country Road Atlas" Secondary roads (already from zoom 9) and tertiary (already from zoom 10). Show large scale landuse like forest and residential areas (already from zoom 10). Also all town names (already from zoom 9) and now all other locality names. Shows mountain peaks for orientation
- 12 "Detailed Country Road Atlas" Add all other public highways like road, unclassified, residential. Add tracks including track-type, and foot and bike paths. Also tag mountain peaks. Note that from this zoom level on ALL roads/tracks/paths are displayed, so it gives RELIABLE TRAVEL OVERVIEW!
- 13 "Regional Driving. Good Overview" Displays all driving as well as hiking connections. Show service, living street, pedestrian and footway highways. Include all area landuse.
- 14 "Local Driving", also "Hiking Map"
- 15 "City Driving" Display all details of interest for this
- 16 "Walking", "City Tour" Outline and tag buildings
- 17 "Immediate orientation" Building details, street corner details like traffic_signals, post_box, remaining POIs
- roadColors="Road atlas style" scheme aligned with conventional road atlas, Saturation=50, Brightness=100, except trunk is considered special case of primary (same hue). For best visibility: routeColor="#960000FF, gpxColor="#B400FFFF".
-->
<!--
NIGHT VIEW CONCEPT: Main colors for night renderer, by Hardy Mueller, 2011-07-04:
Areas:
- default: 003333
- forest: 000034
- other open (non-forest) nature: 004333 (vegetation shaders replaced by 114433)
- water: 330099
- built-up areas: 66004B
- buildings: 560000
Roads:
- road brightness levels aligned with road priority
- 'white' roads: 9F9F9F to darken high density areas sufficiently
- leave other road colors like day, for easy recognition
- applied some additional road dimming for car profile night view (as roads are thicker)
-->
<!--
ALPINE HIKING rendering Add-on 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="Hiking symbol overlay" description="Render paths according to OSMC traces"
type="boolean" possibleValues=""/>
<renderingProperty attr="showCycleRoutes" name="Show cycle routes" description="Show bicycle routes (bicycle mode)"
type="boolean" possibleValues=""/>
<!-- road casing contrast higher 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="14" nightMode="false" attrIntValue="3" shadowColor="#969696"/>
<filter minzoom="14" attrIntValue="3" shadowColor="#464646"/>
<!-- next line avoids melting close-together highways into one another - disadvantage is separator lines between segments and at intersections -->
<filter minzoom="9" maxzoom="13" attrIntValue="1" shadowColor="#464646"/>
<!-- appearance equivalents: one-step #464646 equals solid #767676 -->
<!-- filter minzoom="9" maxzoom="13" attrIntValue="3" shadowColor="#767676"/ -->
<filter attrIntValue="0"/>
</renderingAttribute>
<!-- road color contrast higher than in default, and all road types clearly distinguished -->
<!-- next few lines outdated, road colors directly defined in line section below -->
<!-- roadColors="Road atlas style" -->
<!-- renderingConstant name="motorwayRoadColor" value="#809bff"/>
<renderingConstant name="trunkRoadColor" value="#ed154b"/>
<renderingConstant name="primaryRoadColor" value="#ff80a0"/>
<renderingConstant name="secondaryRoadColor" value="#ffd080"/>
<renderingConstant name="tertiaryRoadColor" value="#ffff80"/ -->
<!-- routeColor contrast higher than in default -->
<renderingAttribute name="routeColor">
<filter nightMode="false" attrColorValue="#960000FF"/>
<filter attrColorValue="#b400a0ff"/>
<!-- (old was darker and less visible in some environments:) filter attrColorValue="#b4007cff"/ -->
</renderingAttribute>
<!-- gpxColor contrast higher than in default -->
<renderingAttribute name="gpxColor">
<filter nightMode="false" attrColorValue="#B400FFFF"/>
<filter attrColorValue="#B400FFFF"/>
</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>
<filter tag="osmc_symbol_red" value="" order="95"/>
<filter tag="osmc_symbol_green" value="" order="95"/>
<filter tag="osmc_symbol_blue" value="" order="95"/>
<filter tag="osmc_symbol_yellow" value="" order="95"/>
<filter appMode="bicycle" showCycleRoutes="true" tag="lcn_network" value="lcn" order="110"/>
<filter appMode="bicycle" showCycleRoutes="true" tag="rcn_network" value="rcn" order="111"/>
<filter appMode="bicycle" showCycleRoutes="true" tag="ncn_network" value="ncn" order="112"/>
</order>
<text>
<filter minzoom="12" tag="osmc_symbol_red" value="" nameTag="osmc_symbol_white_red_bar_name" textMinDistance="100" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_red_bar"/>
<filter minzoom="12" tag="osmc_symbol_red" value="" nameTag="osmc_symbol_red_white_bar_name" textMinDistance="100" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_red_white_bar"/>
<filter minzoom="12" tag="osmc_symbol_yellow" value="" nameTag="osmc_symbol_white_yellow_bar_name" textMinDistance="100" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_yellow_bar"/>
<filter minzoom="12" tag="osmc_symbol_yellow" value="" nameTag="osmc_symbol__yellow_diamond_name" textMinDistance="100" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc__yellow_diamond"/>
<filter minzoom="12" tag="osmc_symbol_blue" value="" nameTag="osmc_symbol_white_blue_bar_name" textMinDistance="100" 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="100" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_green_bar"/>
<filter minzoom="12" tag="osmc_symbol_green" value="" nameTag="osmc_symbol_white_green_backslash_name" textMinDistance="100" textColor="#ffffff" textSize="12" textBold="true" textOrder="7" textShield="osmc_white_green_backslash"/>
<group>
<filter appMode="bicycle" showCycleRoutes="true" tag="lcn_network" value="lcn" nameTag="lcn_ref" textColor="#0000ff" textOrder="22"/>
<filter appMode="bicycle" showCycleRoutes="true" tag="rcn_network" value="rcn" nameTag="rcn_ref" textColor="#ff00ff" textOrder="21"/>
<filter appMode="bicycle" showCycleRoutes="true" tag="ncn_network" value="ncn" nameTag="ncn_ref" textColor="#ff4000" textOrder="20"/>
<groupFilter appMode="bicycle" textOnPath="true" >
<filter minzoom="13" maxzoom="13" textDy="-11" textHaloRadius="1" textSize="10"/>
<filter minzoom="14" maxzoom="14" textDy="-12" textHaloRadius="1" textSize="11"/>
<filter minzoom="15" maxzoom="15" textDy="-14" textHaloRadius="1" textSize="13"/>
<filter minzoom="16" maxzoom="16" textDy="-16" textHaloRadius="1" textSize="15"/>
<filter minzoom="17" maxzoom="17" textDy="-20" textHaloRadius="1" textSize="18"/>
<filter minzoom="18" textDy="-25" textHaloRadius="1" textSize="21"/>
</groupFilter>
</group>
</text>
<point>
</point>
<polygon>
</polygon>
<line>
<group>
<!-- (Car night mode roads Brightness=80% instead of 100%) -->
<filter appMode="car" tag="highway" value="motorway" nightMode="true" color="#c6cc26" color_0="#cc2626"/>
<filter appMode="car" tag="highway" value="trunk" nightMode="true" color="#ffffff" color_0="#cc2626"/>
<filter tag="highway" value="trunk" nightMode="true" color="#ffffff" color_0="#fe2e2e"/>
<filter tag="highway" value="motorway" color="#f7fe2e" color_0="#fe2e2e"/>
<filter tag="highway" value="trunk" color="#dcdcdc" color_0="#fe2e2e"/>
<groupFilter cap="ROUND">
<filter minzoom="5" maxzoom="8" strokeWidth="1.6" strokeWidth_0="5"/>
<filter minzoom="9" maxzoom="9" strokeWidth="2" strokeWidth_0="6"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="2.7" strokeWidth_0="8"/>
<filter minzoom="11" maxzoom="11" strokeWidth="3.3" strokeWidth_0="10"/>
<filter minzoom="12" maxzoom="12" strokeWidth="4" strokeWidth_0="12"/>
<filter minzoom="13" maxzoom="13" strokeWidth="5" strokeWidth_0="15"/>
<filter minzoom="14" maxzoom="14" strokeWidth="6" strokeWidth_0="18"/>
<filter minzoom="15" maxzoom="15" strokeWidth="8" strokeWidth_0="24"/>
<filter minzoom="16" strokeWidth="10" strokeWidth_0="30"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="2.3" strokeWidth_0="7"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2.7" strokeWidth_0="8"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3" strokeWidth_0="9"/>
<filter minzoom="13" maxzoom="13" strokeWidth="3.3" strokeWidth_0="10"/>
<filter minzoom="14" maxzoom="14" strokeWidth="4" strokeWidth_0="12"/>
<filter minzoom="15" maxzoom="15" strokeWidth="5" strokeWidth_0="15"/>
<filter minzoom="16" strokeWidth="6.7" strokeWidth_0="20"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="6_6" cap="BUTT" pathEffect_0="6_6" color__1="#000000" pathEffect__1="6_6">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth__1="21"/>
<filter minzoom="15" maxzoom="15" strokeWidth__1="28"/>
<filter minzoom="16" strokeWidth__1="34"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth__1="15"/>
<filter minzoom="15" maxzoom="15" strokeWidth__1="19"/>
<filter minzoom="16" strokeWidth__1="24"/>
<groupFilter nightMode="true" color__1="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color__1="#000000" cap_0="BUTT" cap="SQUARE">
<filter appMode="car">
<filter minzoom="14" maxzoom="14" strokeWidth__1="21"/>
<filter minzoom="15" maxzoom="15" strokeWidth__1="28"/>
<filter minzoom="16" strokeWidth__1="34"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth__1="15"/>
<filter minzoom="15" maxzoom="15" strokeWidth__1="19"/>
<filter minzoom="16" strokeWidth__1="24"/>
<groupFilter nightMode="true" color__1="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="motorway_link" nightMode="true" color="#c6cc26" color_0="#cc2626"/>
<filter appMode="car" tag="highway" value="trunk_link" nightMode="true" color="#ffffff" color_0="#cc2626"/>
<filter tag="highway" value="trunk_link" nightMode="true" color="#ffffff" color_0="#fe2e2e"/>
<filter tag="highway" value="motorway_link" color="#f7fe2e" color_0="#fe2e2e"/>
<filter tag="highway" value="trunk_link" color="#dcdcdc" color_0="#fe2e2e"/>
<groupFilter cap="ROUND">
<filter minzoom="10" maxzoom="10" strokeWidth="1.5" strokeWidth_0="3"/>
<filter minzoom="11" maxzoom="11" strokeWidth="2" strokeWidth_0="4"/>
<filter minzoom="12" maxzoom="12" strokeWidth="3" strokeWidth_0="6"/>
<filter minzoom="13" maxzoom="13" strokeWidth="4" strokeWidth_0="8"/>
<filter minzoom="14" maxzoom="14" strokeWidth="5" strokeWidth_0="10"/>
<filter minzoom="15" maxzoom="15" strokeWidth="6" strokeWidth_0="12"/>
<filter minzoom="16" strokeWidth="7" strokeWidth_0="14"/>
<!-- Tunnels and Bridges -->
<groupFilter layer="-1" minzoom="14" pathEffect="4_4" cap="BUTT" pathEffect_0="4_4" color__1="#000000" pathEffect__1="4_4">
<filter minzoom="14" maxzoom="14" strokeWidth__1="13"/>
<filter minzoom="15" maxzoom="15" strokeWidth__1="16"/>
<filter minzoom="16" strokeWidth__1="18"/>
<groupFilter nightMode="true" color__1="#ffffff"/>
</groupFilter>
<groupFilter layer="1" color__1="#000000" cap_0="BUTT" cap="SQUARE">
<filter minzoom="14" maxzoom="14" strokeWidth__1="13"/>
<filter minzoom="15" maxzoom="15" strokeWidth__1="16"/>
<filter minzoom="16" strokeWidth__1="18"/>
<groupFilter nightMode="true" color__1="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="primary" nightMode="true" color="#cc6882"/>
<filter appMode="car" tag="highway" value="primary_link" nightMode="true" color="#cc6882"/>
<filter tag="highway" value="primary" color="#ff80a0"/>
<filter tag="highway" value="primary_link" color="#ff80a0"/>
<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="5"/>
<filter minzoom="11" maxzoom="11" strokeWidth="6"/>
<filter minzoom="12" maxzoom="12" strokeWidth="7"/>
<filter minzoom="13" maxzoom="13" strokeWidth="8"/>
<filter minzoom="14" maxzoom="14" strokeWidth="14"/>
<filter minzoom="15" maxzoom="15" strokeWidth="18"/>
<filter minzoom="16" maxzoom="16" strokeWidth="23"/>
<filter minzoom="17" strokeWidth="27"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="3"/>
<filter minzoom="11" maxzoom="11" strokeWidth="4"/>
<filter minzoom="12" maxzoom="12" strokeWidth="5"/>
<filter minzoom="13" maxzoom="13" strokeWidth="7"/>
<filter minzoom="14" maxzoom="14" strokeWidth="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" strokeWidth="20"/>
<!-- 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="17"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="22"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="27"/>
<filter minzoom="17" strokeWidth_0="31"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="12"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="16"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="19"/>
<filter minzoom="17" strokeWidth_0="24"/>
<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="17"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="22"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="27"/>
<filter minzoom="17" strokeWidth_0="31"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="12"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="16"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="19"/>
<filter minzoom="17" strokeWidth_0="24"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="secondary" nightMode="true" color="#cca568"/>
<filter appMode="car" tag="highway" value="secondary_link" nightMode="true" color="#cca568"/>
<filter tag="highway" value="secondary" color="#ffd080"/>
<filter tag="highway" value="secondary_link" color="#ffd080"/>
<groupFilter shadowRadius="1" cap="ROUND">
<filter minzoom="9" maxzoom="9" strokeWidth="2"/>
<filter appMode="car"> <!-- bigger strokewidth for better visibility of road type during navigation -->
<filter minzoom="10" maxzoom="10" strokeWidth="4"/>
<filter minzoom="11" maxzoom="11" strokeWidth="5"/>
<filter minzoom="12" maxzoom="12" strokeWidth="6"/>
<filter minzoom="13" maxzoom="13" strokeWidth="7"/>
<filter minzoom="14" maxzoom="14" strokeWidth="12"/>
<filter minzoom="15" maxzoom="15" strokeWidth="17"/>
<filter minzoom="16" maxzoom="16" strokeWidth="22"/>
<filter minzoom="17" strokeWidth="26"/>
</filter>
<filter minzoom="10" maxzoom="10" strokeWidth="2"/>
<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="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth="14"/>
<filter minzoom="17" strokeWidth="19"/>
<!-- 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="15"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="21"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="26"/>
<filter minzoom="17" strokeWidth_0="30"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="14"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="18"/>
<filter minzoom="17" strokeWidth_0="23"/>
<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="15"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="21"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="26"/>
<filter minzoom="17" strokeWidth_0="30"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="11"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="14"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="18"/>
<filter minzoom="17" strokeWidth_0="23"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter appMode="car" tag="highway" value="tertiary" nightMode="true" color="#cccc68"/>
<filter appMode="car" tag="highway" value="tertiary_link" nightMode="true" color="#cccc68"/>
<filter tag="highway" value="tertiary" color="#ffff80"/>
<filter tag="highway" value="tertiary_link" color="#ffff80"/>
<groupFilter shadowRadius="1" cap="ROUND">
<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="4"/>
<filter minzoom="12" maxzoom="12" strokeWidth="5"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<filter minzoom="14" maxzoom="14" strokeWidth="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth="16"/>
<filter minzoom="16" maxzoom="16" strokeWidth="22"/>
<filter minzoom="17" strokeWidth="26"/>
</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="8"/>
<filter minzoom="16" maxzoom="16" strokeWidth="13"/>
<filter minzoom="17" strokeWidth="18"/>
<!-- 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="20"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="26"/>
<filter minzoom="17" strokeWidth_0="30"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
<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="20"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="26"/>
<filter minzoom="17" strokeWidth_0="30"/>
</filter>
<filter minzoom="14" maxzoom="14" strokeWidth_0="9"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" strokeWidth_0="22"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</groupFilter>
</groupFilter>
</group>
<group>
<filter tag="highway" value="track" color="#996600">
<!-- 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="#000000">
<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>
<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>
<group>
<filter appMode="bicycle" showCycleRoutes="true" tag="lcn_network" value="lcn" color="#400000ff"/>
<filter appMode="bicycle" showCycleRoutes="true" tag="rcn_network" value="rcn" color="#40ff00ff"/>
<filter appMode="bicycle" showCycleRoutes="true" tag="ncn_network" value="ncn" color="#40ff4000"/>
<groupFilter cap="BUTT">
<filter minzoom="12" maxzoom="13" strokeWidth="9"/>
<filter minzoom="14" maxzoom="14" strokeWidth="10"/>
<filter minzoom="15" maxzoom="15" strokeWidth="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth="15"/>
<filter minzoom="17" maxzoom="17" strokeWidth="19"/>
<filter minzoom="18" strokeWidth="25"/>
</groupFilter>
</group>
</line>
</renderingStyle>

View file

@ -1,162 +0,0 @@
<renderingStyle name="Winter-and-ski" depends="default" defaultColor="#F5FFFF" version="1">
<!--
Depends on All-Purpose Renderer (by Hardy Mueller), v023
-->
<!--
Display of ski runs worldwide need 'world-ski.obf' vector overlay map,
see http://www.pistes-nordiques.org/osmand-page
Thank you to Yves!
-->
<renderingAttribute name="defaultColor">
<filter noPolygons="true" attrColorValue="#00ffffff"/>
<filter nightMode="true" attrColorValue="#003333"/>
<filter attrColorValue="#F5FFFF"/>
</renderingAttribute>
<order>
<!-- Winter layers -->
<group objectType="2">
<filter tag="oa_nordic" value="" order="60"/>
<filter tag="oa_downhill" value="" order="60"/>
<filter tag="oa_skitour" value="" order="60"/>
<filter tag="oa_hike" value="" order="60"/>
</group>
</order>
<text>
<!--Winter text-->
<group>
<filter tag="oa_nordic" value="" textOrder="8"/>
<filter tag="oa_downhill" value="" textOrder="8"/>
<filter tag="oa_skitour" value="" textOrder="8"/>
<filter tag="oa_hike" value="" textOrder="8"/>
<groupFilter textOnPath="true" textColor="#00747B" textHaloRadius="1" textWrapWidth="5">
<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"/>
</groupFilter>
</group>
</text>
<point>
</point>
<polygon>
<!--Winter landscape-->
<filter minzoom="10" color="#F5FFFF" tag="natural" value="land"/>
<filter minzoom="12" color="#F5FFFF" tag="natural" value="heath"/>
<filter minzoom="12" color="#F5FFFF" tag="landuse" value="farm"/>
<filter minzoom="12" color="#F5FFFF" tag="landuse" value="farmland"/>
<filter minzoom="12" color="#F5FFFF" tag="landuse" value="farmyard"/>
<filter minzoom="12" color="#F5FFFF" tag="landuse" value="greenfield"/>
<filter minzoom="12" color="#F5FFFF" tag="landuse" value="grass"/>
<filter minzoom="12" color="#F5FFFF" tag="natural" value="grassland"/>
<filter minzoom="12" color="#F5FFFF" tag="landuse" value="meadow"/>
<filter minzoom="12" color="#F5FFFF" tag="landuse" value="brownfield"/>
<filter minzoom="12" maxzoom="13" color="#F5FFFF" tag="natural" value="field"/>
<filter minzoom="14" color="#F5FFFF" color_2="#F5FFFF" strokeWidth_2="1" tag="natural" value="field"/>
<filter minzoom="12" color="#F5FFFF" tag="landuse" value="village_green"/>
<filter minzoom="12" color="#F5FFFF" tag="leisure" value="park"/>
<filter minzoom="12" color="#F5FFFF" tag="leisure" value="garden"/>
<filter minzoom="12" color="#F5FFFF" tag="leisure" value="common"/>
<filter minzoom="11" shader="beach" color="#F5FFFF" tag="natural" value="beach"/>
<filter minzoom="12" shader="mud" color="#F5FFFF" tag="natural" value="mud"/>
<filter minzoom="12" shader="scrub" color="#F5FFFF" tag="natural" value="scrub"/>
<group>
<filter minzoom="9" color="#ABC4F6" tag="natural" value="wood"/>
<filter minzoom="9" color="#ABC4F6" tag="landuse" value="wood"/>
<filter minzoom="9" maxzoom="12" color="#ABC4F6" tag="landuse" value="forest"/>
<filter minzoom="13" color="#ABC4F6" tag="landuse" value="forest"/>
<groupFilter nightMode="true" color="#000034" shader=""/>
</group>
</polygon>
<line>
<!--Winter: Style work for ski pistes-->
<filter minzoom="8" maxzoom="12" color="#6A6A6A" strokeWidth="1" tag="oa_nordic" value="unknow"/>
<filter minzoom="8" maxzoom="12" color="#50D019" strokeWidth="1" tag="oa_nordic" value="novice"/>
<filter minzoom="8" maxzoom="12" color="#1F19D0" strokeWidth="1" tag="oa_nordic" value="easy"/>
<filter minzoom="8" maxzoom="12" color="#D01A19" strokeWidth="1" tag="oa_nordic" value="intermediate"/>
<filter minzoom="8" maxzoom="12" color="#3C3B37" strokeWidth="1" tag="oa_nordic" value="advanced"/>
<filter minzoom="8" maxzoom="12" color="#FCB533" strokeWidth="1" tag="oa_nordic" value="expert"/>
<filter minzoom="8" maxzoom="12" color="#3EB99A" strokeWidth="1" tag="oa_nordic" value="route"/>
<filter minzoom="8" maxzoom="12" color="#6A6A6A" strokeWidth="1" pathEffect="6_3" tag="oa_hike" value="unknow"/>
<filter minzoom="8" maxzoom="12" color="#50D019" strokeWidth="1" pathEffect="6_3" tag="oa_hike" value="novice"/>
<filter minzoom="8" maxzoom="12" color="#1F19D0" strokeWidth="1" pathEffect="6_3" tag="oa_hike" value="easy"/>
<filter minzoom="8" maxzoom="12" color="#D01A19" strokeWidth="1" pathEffect="6_3" tag="oa_hike" value="intermediate"/>
<filter minzoom="8" maxzoom="12" color="#3C3B37" strokeWidth="1" pathEffect="6_3" tag="oa_hike" value="advanced"/>
<filter minzoom="8" maxzoom="12" color="#FCB533" strokeWidth="1" pathEffect="6_3" tag="oa_hike" value="expert"/>
<filter minzoom="8" maxzoom="12" color="#3EB99A" strokeWidth="1" pathEffect="6_3" tag="oa_hike" value="route"/>
<filter minzoom="8" maxzoom="12" color="#B7B7B7" color_2="#B7B7B7" shadowColor="#6A6A6A" shadowRadius="1" strokeWidth="4" tag="oa_downhill" value="unknow"/>
<filter minzoom="8" maxzoom="12" color="#69F148" color_2="#69F148" shadowColor="#50D019" shadowRadius="1" strokeWidth="4" tag="oa_downhill" value="novice"/>
<filter minzoom="8" maxzoom="12" color="#8880E5" color_2="#8880E5" shadowColor="#1F19D0" shadowRadius="1" strokeWidth="4" tag="oa_downhill" value="easy"/>
<filter minzoom="8" maxzoom="12" color="#FF5948" color_2="#FF5948" shadowColor="#D01A19" shadowRadius="1" strokeWidth="4" tag="oa_downhill" value="intermediate"/>
<filter minzoom="8" maxzoom="12" color="#808080" color_2="#808080" shadowColor="#3C3B37" shadowRadius="1" strokeWidth="4" tag="oa_downhill" value="advanced"/>
<filter minzoom="8" maxzoom="12" color="#FFC357" color_2="#FFC357" shadowColor="#FCB533" shadowRadius="1" strokeWidth="4" tag="oa_downhill" value="expert"/>
<filter minzoom="8" maxzoom="12" color="#F6F280" color_2="#F6F280" shadowColor="#FFF632" shadowRadius="1" strokeWidth="4" tag="oa_downhill" value="freeride"/>
<filter minzoom="8" maxzoom="12" color="#B7B7B7" color_2="#B7B7B7" shadowColor="#6A6A6A" shadowRadius="2" strokeWidth="4" pathEffect="10_10" tag="oa_skitour" value="unknow"/>
<filter minzoom="8" maxzoom="12" color="#69F148" color_2="#69F148" shadowColor="#50D019" shadowRadius="2" strokeWidth="4" pathEffect="10_10" tag="oa_skitour" value="novice"/>
<filter minzoom="8" maxzoom="12" color="#8880E5" color_2="#8880E5" shadowColor="#1F19D0" shadowRadius="2" strokeWidth="4" pathEffect="10_10" tag="oa_skitour" value="easy"/>
<filter minzoom="8" maxzoom="12" color="#FF5948" color_2="#FF5948" shadowColor="#D01A19" shadowRadius="2" strokeWidth="4" pathEffect="10_10" tag="oa_skitour" value="intermediate"/>
<filter minzoom="8" maxzoom="12" color="#808080" color_2="#808080" shadowColor="#3C3B37" shadowRadius="2" strokeWidth="4" pathEffect="10_10" tag="oa_skitour" value="advanced"/>
<filter minzoom="8" maxzoom="12" color="#FFC357" color_2="#FFC357" shadowColor="#FCB533" shadowRadius="2" strokeWidth="4" pathEffect="10_10" tag="oa_skitour" value="expert"/>
<filter minzoom="8" maxzoom="12" color="#F6F280" color_2="#F6F280" shadowColor="#FFF632" shadowRadius="2" strokeWidth="4" pathEffect="10_10" tag="oa_skitour" value="freeride"/>
<filter minzoom="8" maxzoom="12" color="#83D0BC" color_2="#83D0BC" shadowColor="#3EB99A" shadowRadius="2" strokeWidth="4" pathEffect="10_10" tag="oa_skitour" value="route"/>
<filter minzoom="13" color="#6A6A6A" strokeWidth="2" tag="oa_nordic" value="unknow"/>
<filter minzoom="13" color="#50D019" strokeWidth="2" tag="oa_nordic" value="novice"/>
<filter minzoom="13" color="#1F19D0" strokeWidth="2" tag="oa_nordic" value="easy"/>
<filter minzoom="13" color="#D01A19" strokeWidth="2" tag="oa_nordic" value="intermediate"/>
<filter minzoom="13" color="#3C3B37" strokeWidth="2" tag="oa_nordic" value="advanced"/>
<filter minzoom="13" color="#FCB533" strokeWidth="2" tag="oa_nordic" value="expert"/>
<filter minzoom="13" color="#3EB99A" strokeWidth="2" tag="oa_nordic" value="route"/>
<filter minzoom="13" color="#6A6A6A" strokeWidth="2" pathEffect="6_3" tag="oa_hike" value="unknow"/>
<filter minzoom="13" color="#50D019" strokeWidth="2" pathEffect="6_3" tag="oa_hike" value="novice"/>
<filter minzoom="13" color="#1F19D0" strokeWidth="2" pathEffect="6_3" tag="oa_hike" value="easy"/>
<filter minzoom="13" color="#D01A19" strokeWidth="2" pathEffect="6_3" tag="oa_hike" value="intermediate"/>
<filter minzoom="13" color="#3C3B37" strokeWidth="2" pathEffect="6_3" tag="oa_hike" value="advanced"/>
<filter minzoom="13" color="#FCB533" strokeWidth="2" pathEffect="6_3" tag="oa_hike" value="expert"/>
<filter minzoom="13" color="#3EB99A" strokeWidth="2" pathEffect="6_3" tag="oa_hike" value="route"/>
<filter minzoom="13" color="#B7B7B7" color_2="#B7B7B7" shadowColor="#6A6A6A" shadowRadius="1" strokeWidth="8" tag="oa_downhill" value="unknow"/>
<filter minzoom="13" color="#69F148" color_2="#69F148" shadowColor="#50D019" shadowRadius="1" strokeWidth="8" tag="oa_downhill" value="novice"/>
<filter minzoom="13" color="#8880E5" color_2="#8880E5" shadowColor="#1F19D0" shadowRadius="1" strokeWidth="8" tag="oa_downhill" value="easy"/>
<filter minzoom="13" color="#FF5948" color_2="#FF5948" shadowColor="#D01A19" shadowRadius="1" strokeWidth="8" tag="oa_downhill" value="intermediate"/>
<filter minzoom="13" color="#808080" color_2="#808080" shadowColor="#3C3B37" shadowRadius="1" strokeWidth="8" tag="oa_downhill" value="advanced"/>
<filter minzoom="13" color="#FFC357" color_2="#FFC357" shadowColor="#FCB533" shadowRadius="1" strokeWidth="8" tag="oa_downhill" value="expert"/>
<filter minzoom="13" color="#F6F280" color_2="#F6F280" shadowColor="#FFF632" shadowRadius="1" strokeWidth="8" tag="oa_downhill" value="freeride"/>
<filter minzoom="13" color="#B7B7B7" color_2="#B7B7B7" shadowColor="#6A6A6A" shadowRadius="2" strokeWidth="8" pathEffect="10_10" tag="oa_skitour" value="unknow"/>
<filter minzoom="13" color="#69F148" color_2="#69F148" shadowColor="#50D019" shadowRadius="2" strokeWidth="8" pathEffect="10_10" tag="oa_skitour" value="novice"/>
<filter minzoom="13" color="#8880E5" color_2="#8880E5" shadowColor="#1F19D0" shadowRadius="2" strokeWidth="8" pathEffect="10_10" tag="oa_skitour" value="easy"/>
<filter minzoom="13" color="#FF5948" color_2="#FF5948" shadowColor="#D01A19" shadowRadius="2" strokeWidth="8" pathEffect="10_10" tag="oa_skitour" value="intermediate"/>
<filter minzoom="13" color="#808080" color_2="#808080" shadowColor="#3C3B37" shadowRadius="2" strokeWidth="8" pathEffect="10_10" tag="oa_skitour" value="advanced"/>
<filter minzoom="13" color="#FFC357" color_2="#FFC357" shadowColor="#FCB533" shadowRadius="2" strokeWidth="8" pathEffect="10_10" tag="oa_skitour" value="expert"/>
<filter minzoom="13" color="#F6F280" color_2="#F6F280" shadowColor="#FFF632" shadowRadius="2" strokeWidth="8" pathEffect="10_10" tag="oa_skitour" value="freeride"/>
<filter minzoom="13" color="#83D0BC" color_2="#83D0BC" shadowColor="#3EB99A" shadowRadius="2" strokeWidth="8" pathEffect="10_10" tag="oa_skitour" value="route"/>
<filter minzoom="12" color="#444444" strokeWidth="6" tag="aerialway" value="cable_car"/>
<filter minzoom="12" color="#444444" strokeWidth="6" tag="aerialway" value="gondola"/>
<filter minzoom="12" color="#444444" strokeWidth="3" tag="aerialway" value="chair_lift"/>
<filter minzoom="12" color="#444444" strokeWidth="3" tag="aerialway" value="mixed_lift"/>
<filter minzoom="12" color="#444444" strokeWidth="1" tag="aerialway" value="drag_lift"/>
</line>
</renderingStyle>

File diff suppressed because it is too large Load diff

View file

@ -1,654 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<osmand_routing_config defaultProfile="car">
<!-- 1. parameters of routing and different tweaks Influence on A* : -->
<!-- f(x) + heuristicCoefficient*g(X) -->
<!-- TEMPORARY needs to be reverted to 1 -->
<attribute name="heuristicCoefficient" value="" />
<!-- 1.1 tile load parameters (should not affect routing) -->
<!-- by default 16 -->
<attribute name="zoomToLoadTiles" value="16" />
<!-- by default it is 30. Value specified here overwrites all others
(don't specify here ! it is device dependent) -->
<attribute name="memoryLimitInMB" value="" />
<attribute name="nativeMemoryLimitInMB" value="" />
<!-- 1.2 Build A* graph in backward/forward direction (can affect results) -->
<!-- 0 - 2 ways, 1 - direct way, -1 - reverse way -->
<attribute name="planRoadDirection" value="0" />
<!-- 1.3 When there is a query to recalculate route, -->
<!-- recalculate smart using old route withot N-meters (0 recalculate fresh, default 10km) -->
<attribute name="recalculateDistanceHelp" value="10000" />
<!-- HELP INFORMATION ABOUT FILE -->
<!-- 1) Highway defines acceptable route for routingProfile, speed in km/h (if it is not specified on level road) -->
<!-- priority is multiplicator for already passed road (consider it is an accelerator of the road) -->
<!-- <road tag="highway" value="living_street" speed="25" priority="0.5" dynamicPriority="0.5"/> -->
<!-- <road tag="route" value="ferry" speed="15" priority="1.0" /> -->
<!-- 2) Obstacle defines a point of the road and how it could be passed by vehicle -->
<!-- penalty is measured in time and -1 means it could not be passed! -->
<!-- <obstacle tag="highway" value="traffic_signals" penalty="35"/> -->
<!-- 3) Avoid describes what road should be completely avoided or passed with multiplied (decreased) priority -->
<!-- <avoid tag="access" value="no" decreasedPriority="0.9"/> -->
<!-- obstacle tag="highway" value="traffic_signals" penalty="35", penalty measured in seconds -->
<!-- The order of specialization matters only how it was supplied : -->
<!-- short_way, avoid_ferries, avoid_toll, [prefer_motorway | avoid_motorway], avoid_unpaved -->
<routingProfile name="car" baseProfile="car" restrictionsAware="true" minDefaultSpeed="45.0" maxDefaultSpeed="130.0"
leftTurn="5" rightTurn="5" roundaboutTurn="5" onewayAware="true">
<!--
<attribute name="heuristicCoefficient" value="1.5" />
-->
<!-- NEW ROUTING API -->
<parameter id="prefer_motorway" name="Prefer motorways" description="Prefer motorways" type="boolean"/>
<parameter id="short_way" name="Short way" description="Short way" type="boolean"/>
<parameter id="avoid_toll" name="Avoid toll roads" description="Avoid toll roads" type="boolean"/>
<parameter id="avoid_unpaved" name="Avoid unpaved roads" description="Avoid unpaved roads" type="boolean"/>
<parameter id="avoid_ferries" name="Avoid ferries" description="Avoid ferries" type="boolean"/>
<parameter id="avoid_motorway" name="Avoid motorways" description="Avoid motorways" type="boolean"/>
<parameter id="weight" name="Weight" description="Weight" type="numeric" values="0,1500,3000" valueDescriptions="-,1.5t,3t"/>
<way attribute="access">
<select value="-1" t="highway" v="motorway">
<if param="avoid_motorway"/>
</select>
<select value="-1" t="highway" v="motorway_link">
<if param="avoid_motorway"/>
</select>
<select value="-1" t="toll" v="yes">
<if param="avoid_toll"/>
</select>
<select value="-1" t="route" v="ferry">
<if param="avoid_ferries"/>
</select>
<select value="-1" t="highway" v="track">
<if param="avoid_unpaved"/>
</select>
<select value="-1" t="access" v="no"/>
<select value="-1" t="motorcycle" v="no"/>
<select value="-1" t="motorcar" v="no"/>
<select value="-1" t="motor_vehicle" v="no"/>
<select value="-1" t="vehicle" v="no"/>
<select value="-1" t="barrier" v="debris"/>
<select value="-1" t="barrier" v="block"/>
<select value="-1" t="maxweight">
<gt value1=":weight" value2="$maxweight"/>
</select>
<select value="1" t="highway" v="motorway"/>
<select value="1" t="highway" v="motorway_link"/>
<select value="1" t="highway" v="trunk"/>
<select value="1" t="highway" v="trunk_link"/>
<select value="1" t="highway" v="primary"/>
<select value="1" t="highway" v="primary_link"/>
<select value="1" t="highway" v="secondary"/>
<select value="1" t="highway" v="secondary_link"/>
<select value="1" t="highway" v="tertiary"/>
<select value="1" t="highway" v="tertiary_link"/>
<select value="1" t="highway" v="unclassified"/>
<select value="1" t="highway" v="road"/>
<select value="1" t="highway" v="residential"/>
<select value="1" t="highway" v="track"/>
<select value="1" t="highway" v="service"/>
<select value="1" t="highway" v="living_street"/>
<select value="1" t="route" v="ferry"/>
<select value="-1"/>
</way>
<way attribute="oneway">
<select value="1" t="oneway" v="yes"/>
<select value="-1" t="oneway" v="reverse"/>
<select value="1" t="oneway" v="1"/>
<select value="1" t="oneway" v="+1"/>
<select value="-1" t="oneway" v="-1"/>
</way>
<way attribute="speed">
<ifnot param="short_way">
<select value="$maxspeed" t="maxspeed"/>
<select value="110" t="highway" v="motorway"/>
<select value="110" t="highway" v="motorway_link"/>
<select value="100" t="highway" v="trunk"/>
<select value="75" t="highway" v="trunk_link"/>
<!-- generally linking larger towns. -->
<select value="65" t="highway" v="primary"/>
<select value="50" t="highway" v="primary_link"/>
<!-- generally linking smaller towns and villages -->
<select value="60" t="highway" v="secondary"/>
<select value="50" t="highway" v="secondary_link"/>
<!-- important urban roads -->
<select value="45" t="highway" v="tertiary"/>
<select value="40" t="highway" v="tertiary_link"/>
<!-- lowest form of grid network, usually 90% of urban roads -->
<select value="35" t="highway" v="unclassified"/>
<!-- road = no type, no review and may be not accurate -->
<select value="35" t="highway" v="road"/>
<select value="35" t="highway" v="residential"/>
<select value="15" t="highway" v="track"/>
</ifnot>
<select value="30" t="highway" v="service"/>
<select value="25" t="highway" v="living_street"/>
<select value="15" t="route" v="ferry"/>
<if param="short_way">
<select value="45"/>
</if>
</way>
<way attribute="priority">
<select value="1.4" t="highway" v="motorway">
<if param="prefer_motorway"/>
</select>
<select value="1.3" t="highway" v="trunk">
<if param="prefer_motorway"/>
</select>
<!-- access deprioritize -->
<select t="tracktype" v="grade5" value="0.1"/>
<select t="access" v="private" value="0.05"/>
<select t="access" v="destination" value="0.05"/>
<select t="motor_vehicle" v="private" value="0.05"/>
<select t="motorcar" v="destination" value="0.05"/>
<select t="motorcycle" v="destination" value="0.05"/>
<select value="1.2" t="highway" v="motorway"/>
<select value="1.2" t="highway" v="motorway_link"/>
<select value="1" t="highway" v="trunk"/>
<select value="1" t="highway" v="trunk_link"/>
<!-- generally linking larger towns. -->
<select value="1.05" t="highway" v="primary"/>
<select value="1.05" t="highway" v="primary_link"/>
<!-- generally linking smaller towns and villages -->
<select value="1" t="highway" v="secondary"/>
<select value="1" t="highway" v="secondary_link"/>
<!-- important urban roads -->
<select value="0.95" t="highway" v="tertiary"/>
<select value="0.95" t="highway" v="tertiary_link"/>
<!-- lowest form of grid network, usually 90% of urban roads -->
<select value="0.7" t="highway" v="unclassified"/>
<!-- road = no type, no review and may be not accurate -->
<select value="0.7" t="highway" v="road"/>
<select value="0.7" t="highway" v="residential"/>
<select value="0.3" t="highway" v="track"/>
<select value="0.5" t="highway" v="service"/>
<select value="0.5" t="highway" v="living_street"/>
<select value="1" t="route" v="ferry"/>
<select value="0.7"/>
</way>
<point attribute="obstacle_time">
<select value="25" t="barrier"/>
<select value="10" t="traffic_calming"/>
<select value="25" t="highway" v="traffic_signals"/>
<select value="15" t="highway" v="stop"/>
<select value="10" t="highway" v="give_way"/>
<select t="highway" v="ford" value="25"/>
<select t="ford" value="25"/>
<select t="railway" v="crossing" value="25" />
<select t="railway" v="level_crossing" value="25"/>
</point>
<point attribute="obstacle">
<select value="-1" t="motorcar" v="no" />
<select value="-1" t="motor_vehicle" v="no" />
<select value="1000" t="barrier" v="bollard" />
<select value="1000" t="barrier" v="gate"/>
<select value="1000" t="barrier" v="lift_gate" />
<select value="1000" t="barrier" v="guard_rail" />
<select value="10" t="traffic_calming"/>
<select t="highway" v="ford" value="25"/>
<select t="ford" value="25"/>
</point>
<!-- OLD ROUTING API -->
<attribute name="followSpeedLimitations" value="true">
<specialization input="short_way" value="false"/>
</attribute>
<road tag="highway" value="motorway" speed="110" priority="1.2">
<specialization input="avoid_motorway" speed="0"/>
<specialization input="prefer_motorway" priority="1.4"/>
<specialization input="short_way" speed="50" priority="1"/>
</road>
<road tag="highway" value="motorway_link" speed="80" priority="1.2" >
<specialization input="avoid_motorway" speed="0"/>
<specialization input="short_way" speed="50" priority="1"/>
</road>
<road tag="highway" value="trunk" speed="100" priority="1.2" >
<specialization input="prefer_motorway" priority="1.3"/>
<specialization input="short_way" speed="50" priority="1"/>
</road>
<road tag="highway" value="trunk_link" speed="75" priority="1.2" >
<specialization input="short_way" speed="50" priority="1"/>
</road>
<!-- generally linking larger towns. -->
<road tag="highway" value="primary" speed="65" priority="1.05" >
<specialization input="short_way" speed="50"/>
</road>
<road tag="highway" value="primary_link" speed="50" priority="1.05" >
<specialization input="short_way" speed="50" priority="1"/>
</road>
<!-- generally linking smaller towns and villages -->
<road tag="highway" value="secondary" speed="60" priority="1" >
<specialization input="short_way" speed="50" priority="1"/>
</road>
<road tag="highway" value="secondary_link" speed="50" priority="1" >
<specialization input="short_way" speed="50" priority="1"/>
</road>
<!-- important urban roads -->
<road tag="highway" value="tertiary" speed="45" priority="0.95" />
<road tag="highway" value="tertiary_link" speed="40" priority="0.95" />
<!-- lowest form of grid network, usually 90% of urban roads -->
<road tag="highway" value="unclassified" speed="35" priority="0.7" >
<specialization input="short_way" priority="1" speed="45"/>
</road>
<!-- road = no type, no review and may be not accurate -->
<road tag="highway" value="road" speed="35" priority="0.7" >
<specialization input="short_way" priority="1" speed="45"/>
</road>
<!-- primarily for access to properties, small roads with 1/2 intersections -->
<road tag="highway" value="residential" speed="35" priority="0.7" >
<specialization input="short_way" priority="1" speed="45"/>
</road>
<!-- parking + private roads -->
<road tag="highway" value="service" speed="30" priority="0.5" >
<specialization input="short_way" priority="1" speed="45"/>
</road>
<!-- very bad roads -->
<road tag="highway" value="track" speed="15" priority="0.3" >
<specialization input="short_way" priority="0.7" speed="45" />
<specialization input="avoid_unpaved" speed="0"/>
</road>
<!-- too small for cars usually -->
<road tag="highway" value="living_street" speed="25" priority="0.5" >
<specialization input="short_way" priority="1" speed="35"/>
</road>
<!-- car are able to enter in highway=pedestrian with restrictions -->
<!-- Time actually is uknown. Currently unsupported -->
<road tag="route" value="ferry" speed="15" priority="1.0" >
<specialization input="avoid_ferries" speed="0"/>
</road>
<!-- usually traffic_signals are not that bad.
It is usuall better to pass via secondary route with TS then residential -->
<obstacle tag="traffic_calming" value="" penalty="8" routingPenalty="10"/>
<obstacle tag="highway" value="traffic_signals" penalty="25" routingPenalty="5"/>
<obstacle tag="highway" value="stop" penalty="15" routingPenalty="3"/>
<obstacle tag="highway" value="give_way" penalty="7"/>
<obstacle tag="highway" value="ford" penalty="25"/>
<obstacle tag="ford" value="" penalty="25"/>
<obstacle tag="railway" value="crossing" penalty="25" routingPenalty="5"/>
<obstacle tag="railway" value="level_crossing" penalty="25" routingPenalty="5"/>
<obstacle tag="motorcar" value="no" penalty="-1"/>
<obstacle tag="barrier" value="bollard" routingPenalty="1000" penalty="25"/>
<obstacle tag="barrier" value="gate" routingPenalty="1000" penalty="25"/>
<obstacle tag="barrier" value="lift_gate" routingPenalty="1000" penalty="25"/>
<obstacle tag="barrier" value="guard_rail" routingPenalty="1000" penalty="25"/>
<avoid tag="tracktype" value="grade5" decreasedPriority="0.6"/>
<avoid tag="access" value="private" decreasedPriority="0.1"/>
<avoid tag="motor_vehicle" value="private" decreasedPriority="0.1"/>
<avoid tag="motorcar" value="destination" decreasedPriority="0.1"/>
<avoid tag="motorcycle" value="destination" decreasedPriority="0.1"/>
<avoid tag="access" value="destination" decreasedPriority="0.1"/>
<avoid tag="access" value="no"/>
<avoid tag="motorcycle" value="no"/>
<avoid tag="motorcar" value="no"/>
<avoid tag="motor_vehicle" value="no"/>
<avoid tag="vehicle" value="no"/>
<avoid tag="motorcar" value="no"/>
<avoid tag="barrier" value="debris"/>
<avoid tag="barrier" value="block"/>
<avoid tag="toll" value="yes" decreasedPriority="1">
<specialization input="avoid_toll"/>
</avoid>
</routingProfile>
<routingProfile name="bicycle" baseProfile="bicycle" restrictionsAware="true" minDefaultSpeed="7" maxDefaultSpeed="16"
leftTurn="0" rightTurn="0" followSpeedLimitations="false" onewayAware="true">
<!-- <attribute name="relaxNodesIfStartDistSmallCoeff" value="2.5"/> -->
<!-- New ROUTING API -->
<parameter id="avoid_motorway" name="Avoid motorways" description="Avoid motorways" type="boolean"/>
<way attribute="access">
<if param="avoid_motorway">
<select value="-1" t="highway" v="motorway"/>
<select value="-1" t="highway" v="motorway_link"/>
<select value="-1" t="highway" v="trunk"/>
<select value="-1" t="highway" v="trunk_link"/>
</if>
<!-- <select value="-1" t="access" v="no"/> -->
<select value="-1" t="bicycle" v="no"/>
<select value="1" t="highway" v="motorway"/>
<select value="1" t="highway" v="motorway_link"/>
<select value="1" t="highway" v="trunk"/>
<select value="1" t="highway" v="trunk_link"/>
<select value="1" t="highway" v="primary"/>
<select value="1" t="highway" v="primary_link"/>
<select value="1" t="highway" v="secondary"/>
<select value="1" t="highway" v="secondary_link"/>
<select value="1" t="highway" v="tertiary"/>
<select value="1" t="highway" v="tertiary_link"/>
<select value="1" t="highway" v="road"/>
<select value="1" t="highway" v="residential"/>
<select value="1" t="highway" v="cycleway"/>
<select value="1" t="highway" v="unclassified"/>
<select value="1" t="highway" v="service"/>
<select value="1" t="highway" v="track"/>
<select value="1" t="highway" v="path"/>
<select value="1" t="highway" v="living_street"/>
<select value="1" t="highway" v="pedestrian"/>
<select value="1" t="highway" v="footway"/>
<select value="1" t="highway" v="byway"/>
<select value="1" t="highway" v="services"/>
<select value="1" t="highway" v="bridleway"/>
<select value="1" t="highway" v="steps"/>
<select value="-1"/>
</way>
<way attribute="oneway">
<select value="0" t="cycleway" v="opposite_lane"/>
<select value="0" t="cycleway" v="opposite_track"/>
<select value="0" t="cycleway" v="opposite_share_busway"/>
<select value="0" t="cycleway" v="opposite"/>
<select value="0" t="oneway:bicycle" v="no"/>
<select value="1" t="oneway:bicycle" v="yes"/>
<select value="-1" t="oneway" v="reverse"/>
<select value="1" t="oneway" v="1"/>
<select value="1" t="oneway" v="+1"/>
<select value="-1" t="oneway" v="-1"/>
<select value="1" t="roundabout" />
<select value="1" t="junction" v="roundabout" />
</way>
<way attribute="speed">
<select value="16" t="highway" v="cycleway"/>
<select value="13" t="highway" v="unclassified"/>
<select value="13" t="highway" v="service"/>
<select value="12" t="highway" v="track"/>
<select value="12" t="highway" v="path"/>
<select value="15" t="highway" v="living_street"/>
<select value="10" t="highway" v="pedestrian"/>
<select value="8" t="highway" v="footway"/>
<select value="8" t="highway" v="byway"/>
<select value="13" t="highway" v="services"/>
<select value="8" t="highway" v="bridleway"/>
<select value="3" t="highway" v="steps"/>
<select value="16"/>
</way>
<way attribute="priority">
<select value="0.3" t="surface" v="gravel"/>
<select value="0.3" t="surface" v="unpaved"/>
<select value="0.6" t="surface" v="grass"/>
<select value="0.3" t="tracktype" v="grade4"/>
<select value="0.6" t="tracktype" v="grade5"/>
<select value="0.1" t="access" v="private"/>
<select value="0.1" t="barrier" v="debris"/>
<select value="0.1" t="barrier" v="block"/>
<select value="1.5" t="highway" v="cycleway"/>
<select value="0.4" t="highway" v="motorway"/>
<select value="0.4" t="highway" v="motorway_link"/>
<select value="0.4" t="highway" v="trunk"/>
<select value="0.4" t="highway" v="trunk_link"/>
<select value="0.8" t="highway" v="primary"/>
<select value="0.8" t="highway" v="primary_link"/>
<select value="1" t="highway" v="secondary"/>
<select value="1" t="highway" v="secondary_link"/>
<select value="1" t="highway" v="tertiary"/>
<select value="1" t="highway" v="tertiary_link"/>
<select value="1" t="highway" v="road"/>
<select value="1.1" t="highway" v="residential"/>
<select value="1.5" t="highway" v="cycleway"/>
<select value="1" t="highway" v="unclassified"/>
<select value="1" t="highway" v="service"/>
<select value="1.5" t="highway" v="track"/>
<select value="1.5" t="highway" v="path"/>
<select value="1.1" t="highway" v="living_street"/>
<select value="0.9" t="highway" v="pedestrian"/>
<select value="0.9" t="highway" v="footway"/>
<select value="1" t="highway" v="byway"/>
<select value="1" t="highway" v="services"/>
<select value="0.8" t="highway" v="bridleway"/>
<select value="0.5" t="highway" v="steps"/>
</way>
<point attribute="obstacle_time">
<select value="10" t="barrier" v="cycle_barrier"/>
<select value="5" t="barrier"/>
<select value="25" t="highway" v="traffic_signals"/>
<select value="15" t="highway" v="stop"/>
<select value="7" t="highway" v="give_way"/>
<select value="25" t="highway" v="ford" />
<select value="25" t="ford" />
<select value="25" t="railway" v="crossing" />
<select value="25" t="railway" v="level_crossing"/>
</point>
<point attribute="obstacle">
<select value="-1" t="bicycle" v="no"/>
<select value="10" t="barrier" v="cycle_barrier"/>
<select value="5" t="barrier"/>
<select value="10" t="highway" v="traffic_signals"/>
<select value="10" t="highway" v="stop"/>
<select value="7" t="highway" v="give_way"/>
<select value="25" t="highway" v="ford" />
<select value="25" t="ford" />
</point>
<!-- OLD Routing API -->
<road tag="highway" value="motorway" speed="16" priority="0.4" >
<specialization input="avoid_motorway" speed="0"/>
</road>
<road tag="highway" value="motorway_link" speed="16" priority="0.4" >
<specialization input="avoid_motorway" speed="0"/>
</road>
<road tag="highway" value="trunk" speed="16" priority="0.4" >
<specialization input="avoid_motorway" speed="0"/>
</road>
<road tag="highway" value="trunk_link" speed="16" priority="0.4">
<specialization input="avoid_motorway" speed="0"/>
</road>
<road tag="highway" value="primary" speed="16" priority="0.8" />
<road tag="highway" value="primary_link" speed="16" priority="0.8" />
<road tag="highway" value="secondary" speed="16" priority="1" />
<road tag="highway" value="secondary_link" speed="16" priority="1" />
<road tag="highway" value="tertiary" speed="16" priority="1" />
<road tag="highway" value="tertiary_link" speed="16" priority="1" />
<road tag="highway" value="road" speed="16" priority="1" />
<road tag="highway" value="residential" speed="16" priority="1.1" />
<road tag="highway" value="cycleway" speed="16" priority="1.5" />
<road tag="highway" value="unclassified" speed="13" priority="1" />
<road tag="highway" value="service" speed="13" priority="1" />
<road tag="highway" value="track" speed="12" priority="1.5" />
<road tag="highway" value="path" speed="12" priority="1.5" />
<road tag="highway" value="living_street" speed="15" priority="1.1" />
<road tag="highway" value="pedestrian" speed="10" priority="0.9" />
<road tag="highway" value="footway" speed="8" priority="0.9" />
<road tag="highway" value="byway" speed="8" priority="1" />
<road tag="highway" value="services" speed="13" priority="1" />
<road tag="highway" value="bridleway" speed="8" priority="0.8" />
<road tag="highway" value="steps" speed="3" priority="0.5" />
<obstacle tag="highway" value="traffic_signals" penalty="25" routingPenalty="10"/>
<obstacle tag="highway" value="stop" penalty="15" routingPenalty="1"/>
<obstacle tag="highway" value="give_way" penalty="7"/>
<obstacle tag="highway" value="ford" penalty="15"/>
<obstacle tag="ford" value="" penalty="15"/>
<obstacle tag="railway" value="crossing" penalty="5"/>
<obstacle tag="railway" value="level_crossing" penalty="5"/>
<obstacle tag="barrier" value="cycle_barrier" penalty="10"/>
<avoid tag="surface" value="gravel" decreasedPriority="0.2"/>
<avoid tag="surface" value="unpaved" decreasedPriority="0.2"/>
<avoid tag="surface" value="grass" decreasedPriority="0.6"/>
<avoid tag="tracktype" value="grade4" decreasedPriority="0.3"/>
<avoid tag="tracktype" value="grade5" decreasedPriority="0.6"/>
<avoid tag="access" value="private" decreasedPriority="0.1"/>
<avoid tag="barrier" value="debris" decreasedPriority="0.1"/>
<avoid tag="barrier" value="block" decreasedPriority="0.1"/>
<avoid tag="bicycle" value="no"/>
</routingProfile>
<routingProfile name="pedestrian" baseProfile="pedestrian" restrictionsAware="false" minDefaultSpeed="3" maxDefaultSpeed="5"
leftTurn="0" rightTurn="0" followSpeedLimitations="false" onewayAware="false">
<attribute name="heuristicCoefficient" value="1.2" />
<!-- NEW ROUTING API -->
<parameter id="avoid_motorway" name="Avoid motorways" description="Avoid motorways" type="boolean"/>
<way attribute="access">
<if param="avoid_motorway">
<select value="-1" t="highway" v="motorway"/>
<select value="-1" t="highway" v="motorway_link"/>
<select value="-1" t="highway" v="trunk"/>
<select value="-1" t="highway" v="trunk_link"/>
</if>
<select value="-1" t="foot" v="no"/>
<select value="-1" t="pedestrian" v="no"/>
<select value="1" t="highway" v="motorway"/>
<select value="1" t="highway" v="motorway_link"/>
<select value="1" t="highway" v="trunk"/>
<select value="1" t="highway" v="trunk_link"/>
<select value="1" t="highway" v="primary"/>
<select value="1" t="highway" v="primary_link"/>
<select value="1" t="highway" v="secondary"/>
<select value="1" t="highway" v="secondary_link"/>
<select value="1" t="highway" v="tertiary"/>
<select value="1" t="highway" v="tertiary_link"/>
<select value="1" t="highway" v="road"/>
<select value="1" t="highway" v="residential"/>
<select value="1" t="highway" v="cycleway"/>
<select value="1" t="highway" v="unclassified"/>
<select value="1" t="highway" v="service"/>
<select value="1" t="highway" v="track"/>
<select value="1" t="highway" v="path"/>
<select value="1" t="highway" v="living_street"/>
<select value="1" t="highway" v="pedestrian"/>
<select value="1" t="highway" v="footway"/>
<select value="1" t="highway" v="byway"/>
<select value="1" t="highway" v="services"/>
<select value="1" t="highway" v="bridleway"/>
<select value="1" t="highway" v="steps"/>
<select value="-1"/>
</way>
<way attribute="oneway">
</way>
<way attribute="speed">
<select value="4" t="highway" v="steps"/>
<select value="5"/>
</way>
<way attribute="priority">
<select value="0.7" t="highway" v="motorway"/>
<select value="0.7" t="highway" v="motorway_link"/>
<select value="0.7" t="highway" v="trunk"/>
<select value="0.7" t="highway" v="trunk_link"/>
<select value="0.9" t="highway" v="primary"/>
<select value="0.9" t="highway" v="primary_link"/>
<select value="1.2" t="highway" v="pedestrian"/>
<select value="1.2" t="highway" v="footway"/>
<select value="0.8" t="highway" v="bridleway"/>
<select value="1.2" t="highway" v="steps"/>
<select value="1"/>
</way>
<point attribute="obstacle_time">
<select value="25" t="highway" v="traffic_signals"/>
<select value="15" t="highway" v="ford" />
<select value="15" t="ford" />
<select value="15" t="railway" v="crossing" />
<select value="15" t="railway" v="level_crossing"/>
</point>
<point attribute="obstacle">
<select value="-1" t="foot" v="no"/>
<select value="-1" t="pedestrian" v="no"/>
<select value="10" t="highway" v="traffic_signals"/>
</point>
<!-- OLD Routing API -->
<road tag="highway" value="motorway" speed="5" priority="0.7" >
<specialization input="avoid_motorway" speed="0"/>
</road>
<road tag="highway" value="motorway_link" speed="5" priority="0.7" >
<specialization input="avoid_motorway" speed="0"/>
</road>
<road tag="highway" value="trunk" speed="5" priority="0.7" />
<road tag="highway" value="trunk_link" speed="5" priority="0.7" />
<road tag="highway" value="primary" speed="5" priority="0.9" />
<road tag="highway" value="primary_link" speed="5" priority="0.9" />
<road tag="highway" value="secondary" speed="5" priority="1" />
<road tag="highway" value="secondary_link" speed="5" priority="1" />
<road tag="highway" value="tertiary" speed="5" priority="1" />
<road tag="highway" value="tertiary_link" speed="5" priority="1" />
<road tag="highway" value="road" speed="5" priority="1" />
<road tag="highway" value="residential" speed="5" priority="1" />
<road tag="highway" value="cycleway" speed="5" priority="1" />
<road tag="highway" value="unclassified" speed="5" priority="1" />
<road tag="highway" value="service" speed="5" priority="1" />
<road tag="highway" value="track" speed="5" priority="1" />
<road tag="highway" value="path" speed="5" priority="1" />
<road tag="highway" value="living_street" speed="5" priority="1" />
<road tag="highway" value="pedestrian" speed="5" priority="1.2" />
<road tag="highway" value="footway" speed="5" priority="1.2" />
<road tag="highway" value="byway" speed="5" priority="1" />
<road tag="highway" value="services" speed="5" priority="1" />
<road tag="highway" value="bridleway" speed="5" priority="0.8" />
<road tag="highway" value="steps" speed="4" priority="1.2" />
<obstacle tag="highway" value="ford" penalty="15"/>
<obstacle tag="ford" value="" penalty="15"/>
<obstacle tag="highway" value="traffic_signals" penalty="30"/>
<obstacle tag="railway" value="crossing" penalty="15"/>
<obstacle tag="railway" value="level_crossing" penalty="15"/>
<obstacle tag="barrier" value="debris" penalty="15"/>
<obstacle tag="barrier" value="block" penalty="15"/>
<avoid tag="foot" value="no"/>
<avoid tag="pedestrian" value="no"/>
</routingProfile>
</osmand_routing_config>

View file

@ -5,16 +5,6 @@
<property file="ant.properties" /> <property file="ant.properties" />
<loadproperties srcFile="project.properties" /> <loadproperties srcFile="project.properties" />
<target name="copy_resources">
<copy todir="assets">
<fileset dir="../../resources/" >
<include name="specialphrases/**"/>
<include name="voice/**"/>
</fileset>
</copy>
</target>
<!-- quick check on sdk.dir --> <!-- quick check on sdk.dir -->
<fail <fail
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var" message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
@ -27,6 +17,31 @@
<property name="base.dir" location="." /> <property name="base.dir" location="." />
<target name="copy_resources">
<copy todir="assets">
<fileset dir="../../resources/" >
<include name="specialphrases/**"/>
<include name="voice/**"/>
</fileset>
</copy>
<copy todir="${use.absolute.dir}/net/osmand/router/">
<fileset dir="../../resources/routing/" >
<include name="*.xml"/>
</fileset>
</copy>
<copy todir="${use.absolute.dir}/net/osmand/render/">
<fileset dir="../../resources/rendering_styles/" >
<include name="*.xml"/>
</fileset>
</copy>
<copy todir="${use.absolute.dir}/net/osmand/map/">
<fileset dir="../../resources/countries-info/" >
<include name="countries.reginfo"/>
</fileset>
</copy>
</target>
<!-- Puts the project's resources into the output package file <!-- Puts the project's resources into the output package file
This actually can create multiple resource package in case This actually can create multiple resource package in case
Some custom apk with specific configuration have been Some custom apk with specific configuration have been