Skip to content

Instantly share code, notes, and snippets.

@auerswald
Last active February 5, 2021 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auerswald/95d4527ef8c741cfbffe5642f3b92d53 to your computer and use it in GitHub Desktop.
Save auerswald/95d4527ef8c741cfbffe5642f3b92d53 to your computer and use it in GitHub Desktop.
wahoo roam rendertheme (vtm) for karoo
<?xml version="1.0" encoding="UTF-8"?>
<!-- wahoo roam style rendertheme for karoo -->
<!-- (upload to karoo as /sdcard/offline_v5.xml) -->
<!-- version: 1.02 -->
<rendertheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" map-background="#cccccc"
version="5" xmlns="http://mapsforge.org/renderTheme"
xsi:schemaLocation="http://mapsforge.org/renderTheme https://raw.githubusercontent.com/mapsforge/vtm/master/resources/rendertheme.xsd">
<style-area fill="#6e91cd" id="water" mesh="true"/>
<style-line cap="butt" id="water" stroke="#6e91cd" width="1.0"/>
<style-line fix="false" id="river" stroke="#6e91cd" use="water"/>
<style-line cap="butt" fix="true" id="fix" width="1.0"/>
<style-line id="_steps" stroke="#DDDDDD" width="0.5" />
<style-line id="_cycleway" stroke="#ffffff" width="0.6" />
<style-line id="_bridleway" stroke="#000000" width="0.4" />
<style-line id="_footway" stroke="#ff8c69" width="0.25"/>
<style-line id="_path" stroke="#333333" width="0.4" />
<style-line id="_track" stroke="#996600" width="0.4" />
<style-line id="_service" stroke="#FFFFFF" width="1.2"/>
<style-line id="_raceway" stroke="#EDF5C2" width="1.2"/>
<style-line id="_pedestrian" stroke="#E3E3E3" width="1.26" />
<style-line id="_construction" stroke="#FFFFFF" width="1.5" />
<style-line id="_living_street" stroke="#FFFFFF" width="1.5" />
<style-line id="_road" stroke="#ffffff" width="1.5" />
<style-line id="_tertiary" stroke="#eaac00" width="2.0" />
<style-line id="_secondary" stroke="#eaac00" width="2.2" />
<style-line id="_primary" stroke="#eaac00" width="2.3" />
<style-line id="_trunk" stroke="#eaac00" width="2.3" />
<style-line id="_motorway" stroke="#eaac00" width="2.3"/>
<style-line id="_motorway_link" use="_motorway" width="-0.6"/>
<style-line id="_trunk_link" use="_trunk" width="-0.6" />
<style-line id="_primary_link" use="_primary" width="-0.2" />
<style-line id="_secondary_link" use="_secondary" width="-0.2" />
<style-line id="_tertiary_link" use="_tertiary" width="-0.2" />
<!-- water ///////////////////////////////////////////////////////////////////////////////////////////////////// -->
<!-- Waterways (rivers, streams, etc.) -->
<m e="way" k="waterway">
<m v="ditch|drain" zoom-min="14">
<line use="water" width="-0.4"/>
</m>
<m v="stream" zoom-min="14">
<line use="water" width="-0.2"/>
</m>
<m v="canal">
<line use="river" width="-0.3"/>
</m>
<m v="river">
<m zoom-min="12">
<line use="river" width="0.5"/>
</m>
<m zoom-min="10">
<line use="water" width="0.3"/>
</m>
<m zoom-min="8">
<line use="water" width="0.1"/>
</m>
</m>
<m v="riverbank|dock">
<!-- Using mesh=true for areas causes problems below ZL 12 -->
<!-- Using just lines at lower ZL is not a good solution (big rivers look bad) -->
<area use="water" mesh="false"/>
</m>
<m v="weir">
<line stroke="#000088" use="fix"/>
</m>
<m v="dam" zoom-min="12">
<line stroke="#ababab" use="fix" width="0.2"/>
</m>
<m k="lock" v="yes|true">
<line stroke="#f8f8f8" use="fix" width="0.5"/>
</m>
</m>
<!-- Closed natural water features (e.g. lakes) -->
<m e="way">
<m closed="yes" k="natural" v="water">
<area use="water" />
<caption font-family="thin" area-size="0.2" fill="#000000" k="name" size="14"/>
</m>
</m>
<!-- bridges ////////////////////////////////////////////////////////////////////////////////////////////////////-->
<m e="way" k="bridge" v="yes|true|viaduct|aqueduct|suspension|culvert|swing" zoom-min="14">
<m e="way" k="highway" v="steps" zoom-min="12">
<line use="_steps" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_steps" stroke="#000000" width="0.4" cap="butt"/>
<line use="_footway" stroke="#cccccc" width="0.3" cap="butt"/>
</m>
<m e="way" k="highway" v="cycleway" zoom-min="12">
<line use="_cycleway" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_cycleway" stroke="#000000" width="0.4" cap="butt"/>
<line use="_footway" stroke="#cccccc" width="0.3" cap="butt"/>
</m>
<m e="way" k="highway" v="bridleway" zoom-min="12">
<line use="_bridleway" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_bridleway" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="footway" zoom-min="12">
<line use="_footway" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_footway" stroke="#000000" width="0.4" cap="butt"/>
<line use="_footway" stroke="#cccccc" width="0.3" cap="butt"/>
</m>
<m e="way" k="highway" v="path" zoom-min="12">
<line use="_path" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_path" stroke="#000000" width="0.4" cap="butt"/>
<line use="_path" stroke="#cccccc" width="0.3" cap="butt"/>
</m>
<m e="way" k="highway" v="track" zoom-min="12">
<line use="_track" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_track" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="service" zoom-min="12">
<line use="_service" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_service" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="construction" zoom-min="12">
<line use="_construction" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_construction" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="tertiary_link">
<line use="_tertiary_link" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_tertiary_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="secondary_link">
<line use="_secondary_link" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_secondary_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="primary_link">
<line use="_primary_link" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_primary_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="trunk_link">
<line use="_trunk_link" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_trunk_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="motorway_link">
<line use="_motorway_link" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_motorway_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="raceway">
<line use="_raceway" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_raceway" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="pedestrian" zoom-min="12">
<line use="_pedestrian" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_pedestrian" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="living_street" zoom-min="12">
<line use="_living_street" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_living_street" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="unclassified|residential|road" zoom-min="12">
<line use="_road" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_road" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="tertiary">
<line use="_tertiary" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_tertiary" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="secondary">
<line use="_secondary" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_secondary" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="primary">
<line use="_primary" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_primary" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="trunk">
<line use="_trunk" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_trunk" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="motorway">
<line use="_motorway" stroke="#B35035" width="1.0" cap="butt"/>
<line use="_motorway" stroke="#000000" width="0.4" cap="butt"/>
</m>
</m>
<!-- turning circle casing -->
<m e="node" k="highway" v="turning_circle" zoom-min="12">
<circle fill="#000000" radius="1.45" scale-radius="true" />
</m>
<!-- highway casings /////////////////////////////////////////////////////////////////////////////////////////// -->
<m e="way" k="tunnel" v="~|no|false">
<m e="way" k="area" v="~|no|false">
<m e="way" k="bridge" v="~|no|false">
<m e="any" k="highway" v="track" zoom-min="12">
<m e="way" k="tracktype" v="grade1" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.6"/>
<line use="_track" stroke="#000000" dasharray="15,5" width="0.6"/>
</m>
<m e="way" k="tracktype" v="grade2" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.6"/>
<line use="_track" stroke="#222222" dasharray="15,5" width="0.6"/>
</m>
<m e="way" k="tracktype" v="grade3" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.6"/>
<line use="_track" stroke="#333333" dasharray="15,5" width="0.6"/>
</m>
<m e="way" k="tracktype" v="grade4" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.6"/>
<line use="_track" stroke="#333333" dasharray="15,5" width="0.6"/>
</m>
<m e="way" k="tracktype" v="grade5" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.6"/>
<line use="_track" stroke="#666666" dasharray="15,5" width="0.6"/>
</m>
<m e="way" k="tracktype" v="~" zoom-min="14">
<line use="_track" stroke="#cccccc" width="0.6"/>
<line use="_track" stroke="#355DB3" dasharray="15,5" width="0.6"/>
</m>
</m>
<m e="way" k="highway" v="cycleway" zoom-min="12">
<line use="_cycleway" stroke="#000000" width="0.2" cap="butt"/>
</m>
<m e="way" k="highway" v="pedestrian" zoom-min="12">
<line use="_pedestrian" stroke="#000000" width="0.2" />
</m>
<m e="way" k="highway" v="service" zoom-min="12">
<line use="_service" stroke="#000000" width="0.2"/>
</m>
<m e="way" k="highway" v="construction" zoom-min="12">
<line use="_construction" stroke="#000000" width="0.2" cap="butt"/>
</m>
<m e="way" k="highway" v="tertiary_link">
<line use="_tertiary_link" stroke="#000000" width="0.4" cap="butt" />
</m>
<m e="way" k="highway" v="secondary_link">
<line use="_secondary_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="primary_link">
<line use="_primary_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="trunk_link">
<line use="_trunk_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="motorway_link">
<line use="_motorway_link" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="raceway">
<line use="_raceway" stroke="#000000" width="0.4"/>
</m>
<m e="way" k="highway" v="living_street" zoom-min="12">
<line use="_living_street" stroke="#000000" width="0.3" />
</m>
<m e="way" k="highway" v="unclassified|residential|road" zoom-min="12">
<line use="_road" stroke="#000000" width="0.4" />
</m>
<m e="way" k="highway" v="tertiary">
<line use="_tertiary" stroke="#000000" width="0.4" />
</m>
<m e="way" k="highway" v="secondary">
<line use="_secondary" stroke="#000000" width="0.4" />
</m>
<m e="way" k="highway" v="primary">
<!--<line stroke="#a06b00" width="1.6" />-->
<line use="_primary" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m e="way" k="highway" v="trunk" zoom-min="10">
<line use="_trunk" stroke="#000000" width="0.4" cap="butt"/>
</m>
<m k="highway" v="motorway" zoom-min="10">
<line use="_motorway" stroke="#000000" width="0.4" cap="butt"/>
</m>
</m>
</m>
</m>
<!-- highway cores ///////////////////////////////////////////////////////////////////////////////////////////// -->
<m e="way" k="tunnel" v="~|no|false"><!-- no tunnel -->
<m e="any" k="area" v="~|no|false"><!-- no area -->
<m e="any" k="highway" v="steps" zoom-min="12">
<line use="_steps" stroke="#00ffffff" cap="butt" stipple="4" stipple-stroke="#000000"/>
</m>
<!-- z-index 100 -->
<m e="any" k="highway" v="cycleway" zoom-min="12">
<line use="_cycleway" stroke="#ffffff" dasharray="30,2"/>
</m>
<m e="any" k="highway" v="bridleway" zoom-min="12">
<line use="_bridleway" stroke="#666666" dasharray="15,15" width="0.5"/>
<line use="_bridleway" stroke="#cccccc" dasharray="15,15" width="0.25"/>
<line use="_bridleway" stroke="#000000" dasharray="2,13" width="0.5"/>
</m>
<m e="way" k="highway" v="footway" zoom-min="12">
<line use="_footway" cap="butt" stroke="#00ffffff" stipple="3" />
</m>
<m e="any" k="highway" v="path" zoom-min="14">
<line use="_path" cap="butt" stroke="#00ffffff" stipple="8" />
</m>
<!-- z-index 110 -->
<m k="highway" v="track" zoom-min="12">
<m e="way" k="tracktype" v="grade1" zoom-min="13">
<line use="_track" stroke="#eaac00" width="0.3"/>
</m>
<m e="way" k="tracktype" v="grade2" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.3"/>
</m>
<m e="way" k="tracktype" v="grade3" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.3"/>
</m>
<m e="way" k="tracktype" v="grade4" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.3"/>
</m>
<m e="way" k="tracktype" v="grade5" zoom-min="13">
<line use="_track" stroke="#cccccc" width="0.3"/>
</m>
<m k="tracktype" v="~" zoom-min="14">
<line use="_track" stroke="#cccccc" width="0.3"/>
</m>
</m>
<!-- z-index 150 -->
<m e="any" k="highway" v="service" zoom-min="12">
<line use="_service" />
</m>
<!-- ohne z-index -->
<m e="way" k="highway" v="construction" zoom-min="12">
<line use="_construction" cap="butt" stipple="20" stipple-stroke="#dddddd"/>
</m>
<!-- z-index 200 -->
<m e="any" k="highway" v="tertiary_link">
<line use="_tertiary_link" />
</m>
<!-- z-index 210 -->
<m e="any" k="highway" v="secondary_link">
<line use="_secondary_link" />
</m>
<!-- z-index 220 -->
<m e="any" k="highway" v="primary_link">
<line use="_primary_link" />
</m>
<!-- z-index 230 -->
<m e="any" k="highway" v="trunk_link">
<line use="_trunk_link"/>
</m>
<!-- z-index 240 -->
<m e="any" k="highway" v="motorway_link">
<line use="_motorway_link" />
</m>
<!-- z-index 300 -->
<m e="any" k="highway" v="raceway">
<line use="_raceway" />
</m>
<!-- z-index 310 -->
<m e="any" k="highway" v="pedestrian" zoom-min="12">
<line use="_pedestrian" />
</m>
<!-- z-index 320 -->
<m e="any" k="highway" v="living_street" zoom-min="12">
<line use="_living_street" />
</m>
<!-- z-index 330 -->
<m e="any" k="highway" v="unclassified|residential|road" zoom-min="12">
<line use="_road" />
</m>
<!-- z-index 340 -->
<m e="any" k="highway" v="tertiary">
<line use="_tertiary" />
</m>
<!-- z-index 350 -->
<m e="any" k="highway" v="secondary">
<line use="_secondary"/>
</m>
<!-- z-index 360 -->
<m e="any" k="highway" v="primary">
<line use="_primary"/>
</m>
<!-- z-index 370 -->
<m e="any" k="highway" v="trunk">
<line use="_trunk"/>
</m>
<!-- z-index 380 -->
<m e="any" k="highway" v="motorway">
<line use="_motorway"/>
</m>
</m>
</m>
<!-- railway (no tunnel) /////////////////////////////////////////////////////////////////////////////////////// -->
<m e="way" k="railway" v="*">
<m e="way" k="tunnel" v="~|false|no">
<!-- railway bridges -->
<m e="way" k="bridge" v="yes|true|viaduct|aqueduct|suspension|culvert|swing">
<m e="way" k="railway" v="tram|light_rail">
<line stroke="#EEEEEE" cap="butt" width="0.9" />
</m>
<m e="way" k="railway" v="rail">
<line stroke="#EEEEEE" cap="butt" width="1.0" />
</m>
</m>
<!-- railway casings and cores -->
<m e="way" k="railway" v="tram|light_rail">
<line stroke="#666666" cap="butt" width="0.25" />
<line stroke="#666666" cap="butt" width="0.8" dasharray="2,20"/>
</m>
<m e="way" k="railway" v="rail">
<line stroke="#333333" cap="butt" width="0.3" />
<line stroke="#333333" cap="butt" width="0.9" dasharray="2,20"/>
</m>
</m>
</m>
<!-- places //////////////////////////////////////////////////////////////////////////////////////////////////// -->
<m e="any" k="place" v="*">
<m v="island|islet" zoom-min="14">
<caption fill="#202020" font-family="serif" size="12" style="italic" k="name" priority="30" stroke="#FFFFFF" stroke-width="0.1" />
</m>
<m v="suburb" zoom-min="13">
<caption fill="#5555AA" font-family="serif" size="14" style="bold_italic" k="name" priority="20" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m v="isolated_dwelling" zoom-min="15">
<caption fill="#333380" size="12" style="bold" k="name" priority="5" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m v="hamlet" zoom-min="14">
<caption fill="#333380" size="12" style="bold" k="name" priority="5" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m v="village" zoom-min="12">
<caption fill="#333380" size="14" style="bold" k="name" priority="20" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m v="town" zoom-min="8">
<caption fill="#333380" size="16" style="bold" k="name" priority="30" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m v="city">
<m zoom-max="6" zoom-min="6">
<caption fill="#333380" size="14" style="bold" k="name" priority="40" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m zoom-max="7" zoom-min="7">
<caption fill="#333380" size="15" style="bold" k="name" priority="40" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m zoom-max="9" zoom-min="8">
<caption fill="#333380" size="17" style="bold" k="name" priority="40" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m zoom-max="11" zoom-min="10">
<caption fill="#333380" size="19" style="bold" k="name" priority="40" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m zoom-max="13" zoom-min="12">
<caption fill="#333380" size="20" style="bold" k="name" priority="40" stroke="#FFFFFF" stroke-width="2.0" />
</m>
</m>
<m v="country">
<m zoom-max="3">
<caption fill="#333380" size="14" style="bold" k="name" priority="50" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m zoom-max="4" zoom-min="4">
<caption fill="#333380" size="16" style="bold" k="name" priority="50" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m zoom-max="5" zoom-min="5">
<caption fill="#333380" size="18" style="bold" k="name" priority="50" stroke="#FFFFFF" stroke-width="2.0" />
</m>
<m zoom-max="6" zoom-min="6">
<caption fill="#333380" size="20" style="bold" k="name" priority="50" stroke="#FFFFFF" stroke-width="2.0" />
</m>
</m>
</m>
</rendertheme>
@auerswald
Copy link
Author

wahoo roam theme for karoo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment