Skip to content

Commit

Permalink
shows tunnels for BOLTv2 and ROAMv2
Browse files Browse the repository at this point in the history
  • Loading branch information
treee111 committed Nov 12, 2022
1 parent d78d01b commit e9d1d11
Showing 1 changed file with 132 additions and 0 deletions.
132 changes: 132 additions & 0 deletions device_themes/vtm_theme_poi/vtm-elemnt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,138 @@

<!-- endregion land/sea/waterways -->


<!-- region tunnels: todo: bring in foreground, before <m e="way" k="natural|landcover|landuse" v="wood|trees|scrub|forest"> -->
<m e="way" k="tunnel" v="true|yes" zoom-min="8">
<m e="way" k="highway" v="residential|living_street|road|unclassified" zoom-min="13">
<line cat="roam" stroke="#AAAAAA" width="1.3" dasharray="10,7" cap="round" />
</m>
<m e="way" k="highway" v="residential|living_street|road|unclassified" zoom-min="10" zoom-max="12">
<line cat="roam" stroke="#AAAAAA" width="1.5" dasharray="10,7" cap="round" />
</m>
<m e="way" k="highway" v="tertiary|tertiary_link|secondary_link|secondary" zoom-min="9">
<line cat="roam" stroke="#FFFF00" width="2.0" dasharray="10,7" cap="round" />
</m>
<m e="way" k="highway" v="primary_link|trunk_link|motorway_link|primary|trunk" zoom-min="9">
<line cat="roam" stroke="#FFAA00" width="2.0" dasharray="10,7" cap="round" />
</m>
<m e="way" k="highway" v="motorway" zoom-min="12">
<line cat="roam" stroke="#AA5500" width="3.5" dasharray="10,7" cap="round" />
</m>
<m e="way" k="highway" v="motorway" zoom-min="8" zoom-max="11">
<line cat="ROAM" stroke="#AA5500" width="4.0" dasharray="10,7" cap="round" />
</m>

<!-- tunnel trails -->
<m cat="trails-osm" k="access" v="-|private" >
<m e="way" k="highway" v="footway|pedestrian" zoom-min="14">
<line use="bolt2-footpath" dasharray="10,7"/>
</m>
<m e="way" k="highway" v="steps" zoom-min="14">
<line use="bolt2-steps" dasharray="10,7"/>
</m>
<m cat="trails-osm" e="way" k="highway" v="cycleway" zoom-min="12" select="first">
<!-- cycleways can be paved or raw -->
<m k="surface" v="bic_unpaved">
<line use="bolt2-track-raw-cycle" dasharray="10,7"/>
</m>
<m k="highway" v="cycleway">
<line use="bolt2-cycle" outline="bolt2-bikepath" dasharray="10,7"/>
</m>
</m>
<m e="way" k="highway" v="path" zoom-min="12" select="first">
<m k="bicycle" v="bic_yes|bic_designated">
<!-- specifically for cycle -->
<m k="surface" v="bic_paved">
<line use="bolt2-trail" dasharray="10,7" outline="bolt2-bikepath"/>
</m>
</m>
<m k="surface" v="bic_paved">
<line use="bolt2-track-paved" dasharray="10,7"/>
</m>
<m k="foot" v="ft_yes|foot_designated" zoom-min="13">
<!-- specifically for foot -->
<line use="bolt2-footpath" dasharray="10,7"/>
</m>
<m k="highway" v="path" zoom-min="14">
<!-- remainder -->
<line use="bolt2-footpath" dasharray="3,10"/>
</m>
</m>
<m e="way" k="highway" v="track|byway" zoom-min="13" select="first">
<m k="tracktype" v="grade1">
<!-- Solid. Usually a paved or sealed surface-->
<m k="bicycle" v="bic_yes|bic_designated">
<line use="bolt2-track-paved-cycle" dasharray="10,7"/>
</m>
<m k="bicycle" v="~">
<line use="bolt2-track-paved" dasharray="10,7"/>
</m>
</m>
<m zoom-min="14">
<m k="tracktype" v="grade2">
<!-- Solid but unpaved. Usually an unpaved track with surface of gravel. -->
<m k="bicycle" v="bic_yes|bic_designated">
<line use="bolt2-track-raw-cycle" dasharray="10,7" />
</m>
<m k="bicycle" v="~">
<line use="bolt2-track-raw" dasharray="10,7" />
</m>
</m>
<m k="tracktype" v="grade3">
<!-- Mostly solid. Even mixture of hard and soft materials. -->
<m k="bicycle" v="bic_yes|bic_designated">
<line use="bolt2-track-raw-cycle" dasharray="10,7" />
</m>
<m k="bicycle" v="~">
<line use="bolt2-track-raw" dasharray="10,7" />
</m>
</m>
<m k="tracktype" v="grade4">
<!-- Mostly soft. Almost always an unpaved track prominently with soil/sand/grass,
but with some hard or compacted materials mixed in. -->
<m k="bicycle" v="bic_yes|bic_designated">
<line use="bolt2-track-raw-cycle" dasharray="10,7" />
</m>
<m k="bicycle" v="~">
<line use="bolt2-track-raw" dasharray="10,7" />
</m>
</m>
<m k="tracktype" v="grade5">
<!-- Soft. Almost always an unimproved track lacking hard materials,
same as surrounding soil.
eg. -27.611406,153.165486 -->
<m k="bicycle" v="bic_yes|bic_designated">
<line use="bolt2-track-raw-cycle" dasharray="10,7" />
</m>
<m k="bicycle" v="~">
<line use="bolt2-track-raw" dasharray="10,7" />
</m>
</m>
<m k="highway" v="path">
<!-- other paths that haven't already matched -->
<line use="bolt2-footpath" dasharray="10,7"/>
</m>
<m e="way" k="tracktype" v="~" select="first">
<!-- other tracks that haven't already matched -->
<m k="bicycle" v="bic_yes|bic_designated">
<line use="bolt2-track-other-cycle" dasharray="10,7" cap="butt" />
<line stroke="#FFFFFF" width="0.5" dasharray="10,7" cap="butt" />
</m>
<m k="bicycle" v="~">
<line use="bolt2-track-other" dasharray="10,7" cap="butt" />
<line stroke="#FFFFFF" width="0.5" dasharray="10,7" cap="butt" />
</m>
<m k="foot" v="ft_yes|foot_designated">
<!-- specifically for foot -->
<line use="bolt2-footpath" dasharray="10,7" />
</m>
</m>
</m>
</m>
</m>
<!-- end tunnel trails -->
</m>
<!-- region highways -->
<m e="way" k="tunnel" v="~|no|false" zoom-min="8">

Expand Down

0 comments on commit e9d1d11

Please sign in to comment.