Render themes: add highway ref tag #41

This commit is contained in:
Emux 2017-05-28 21:19:59 +03:00
parent 7b7b5a923a
commit c14e93e25d
6 changed files with 90 additions and 44 deletions

View File

@ -11,6 +11,8 @@
<style-text style="bold" fill="#101010" id="major-road" k="name" priority="1" size="16"
stroke="#eeeeee" stroke-width="2.0" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
stroke-width="2.0" />
<style-text caption="true" dy="20" fill="#404000" id="poi" k="name" size="16" stroke="#aaffffff"
stroke-width="2.0" />
@ -488,16 +490,19 @@
<m v="primary">
<line outline="0" use="primary:z11" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line blur="0.3" outline="0" use="trunk" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line blur="0.3" outline="0" use="highway:z11" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<text use="ref" />
</m>
</m>
<!-- railway tunnel -->
@ -710,14 +715,17 @@
<m v="primary">
<line outline="primary" use="primary:z11" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line outline="motorway" use="trunk" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line outline="motorway" use="highway:z11" />
<text use="major-road" />
<text use="ref" />
</m>
</m> <!-- end area=~|no|false -->
</m><!-- end tunnel|bridge=~|no|false -->
@ -795,14 +803,17 @@
<m v="primary">
<line cap="square" outline="bridge" use="primary:z11" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line cap="square" outline="bridge" use="trunk" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line cap="square" outline="bridge" use="highway:z11" />
<text use="major-road" />
<text use="ref" />
</m>
</m>
</m><!-- end area=~|no|false -->

View File

@ -11,6 +11,8 @@
<style-text style="bold" fill="#101010" id="major-road" k="name" priority="1" size="16"
stroke="#eeeeee" stroke-width="2.0" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
stroke-width="2.0" />
<style-text caption="true" dy="20" fill="#404000" id="poi" k="name" size="16" stroke="#aaffffff"
stroke-width="2.0" />
@ -485,16 +487,19 @@
<m v="primary">
<line outline="0" use="primary:z11" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line blur="0.3" outline="0" use="trunk" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line blur="0.3" outline="0" use="highway:z11" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<text use="ref" />
</m>
</m>
<!-- railway tunnel -->
@ -707,14 +712,17 @@
<m v="primary">
<line outline="primary" use="primary:z11" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line outline="motorway" use="trunk" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line outline="motorway" use="highway:z11" />
<text use="major-road" />
<text use="ref" />
</m>
</m> <!-- end area=~|no|false -->
</m><!-- end tunnel|bridge=~|no|false -->
@ -792,14 +800,17 @@
<m v="primary">
<line cap="square" outline="bridge" use="primary:z11" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line cap="square" outline="bridge" use="trunk" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line cap="square" outline="bridge" use="highway:z11" />
<text use="major-road" />
<text use="ref" />
</m>
</m>
</m><!-- end area=~|no|false -->

View File

@ -6,10 +6,13 @@
<style-text style="italic" caption="true" dy="20" fill="#ee000000" id="caption-small-blue"
k="name" size="14" stroke="#9930cfee" stroke-width="3.0" />
<style-text style="bold" fill="#eeffee" id="road" k="name" size="18" stroke="#606050"
stroke-width="2.5" />
<style-text style="bold" fill="#de3935" id="major-road" k="name" size="19" stroke="#f2df6d"
stroke-width="2.5" />
<style-text style="bold" fill="#eeffee" id="road" k="name" priority="2" size="18"
stroke="#606050" stroke-width="2.5" />
<style-text style="bold" fill="#de3935" id="major-road" k="name" priority="1" size="19"
stroke="#f2df6d" stroke-width="2.5" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
stroke-width="2.0" />
<style-area fade="10" fill="#ff0000" id="residential" />
@ -433,6 +436,7 @@
<line use="primary:z11" />
<outline use="0" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
@ -440,6 +444,7 @@
<outline use="0" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
@ -447,6 +452,7 @@
<outline use="0" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<text use="ref" />
</m>
</m>
@ -689,18 +695,21 @@
<line use="primary:z11" />
<outline use="primary" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line use="trunk" />
<outline use="motorway" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line use="highway:z11" />
<outline use="motorway" />
<text use="major-road" />
<text use="ref" />
</m>
</m> <!-- end area=~|no|false -->
</m> <!-- end tunnel|bridge=~|no|false -->
@ -782,18 +791,21 @@
<line cap="square" use="primary:z11" />
<outline use="bridge" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line cap="square" use="trunk" />
<outline use="bridge" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line cap="square" use="highway:z11" />
<outline use="bridge" />
<text use="major-road" />
<text use="ref" />
</m>
</m> <!-- end area=~|no|false -->

View File

@ -729,27 +729,27 @@
<m v="primary">
<line use="primary" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#868686"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#868686" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
<m v="trunk">
<line use="trunk" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#b4b4b4"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#b4b4b4" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
<m v="motorway">
<line use="motorway" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#979797"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#979797" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
@ -863,27 +863,27 @@
<m v="primary">
<line cap="square" outline="casing-bridge" use="primary" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#868686"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#868686" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
<m v="trunk">
<line outline="casing-bridge" use="trunk" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#b4b4b4"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#b4b4b4" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
<m v="motorway">
<line cap="square" outline="casing-bridge" use="motorway" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#979797"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#979797" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>

View File

@ -729,27 +729,27 @@
<m v="primary">
<line use="primary" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#e46d71"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#e46d71" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
<m v="trunk">
<line use="trunk" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#7fc97f"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#7fc97f" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
<m v="motorway">
<line use="motorway" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#809bc0"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#809bc0" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
@ -863,27 +863,27 @@
<m v="primary">
<line cap="square" outline="casing-bridge" use="primary" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#e46d71"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#e46d71" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
<m v="trunk">
<line outline="casing-bridge" use="trunk" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#7fc97f"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#7fc97f" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>
<m v="motorway">
<line cap="square" outline="casing-bridge" use="motorway" />
<m zoom-min="14">
<text style="bold" k="name" size="16" stroke="#809bc0"
stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" size="12"
<text style="bold" k="name" priority="1" size="16"
stroke="#809bc0" stroke-width="2.0" />
<text style="bold" fill="#606060" k="ref" priority="2" size="12"
stroke="#ffffff" stroke-width="2.0" />
</m>
</m>

View File

@ -6,10 +6,13 @@
<style-text style="bold" caption="true" dy="20" fill="#4040ff" id="caption-small-blue" k="name"
size="16" stroke="#ffffff" stroke-width="2.0" />
<style-text style="bold" fill="#eeffee" id="road" k="name" size="18" stroke="#606050"
stroke-width="2.5" />
<style-text style="bold" fill="#ffef7d" id="major-road" k="name" size="19" stroke="#624f00"
stroke-width="2.5" />
<style-text style="bold" fill="#eeffee" id="road" k="name" priority="2" size="18"
stroke="#606050" stroke-width="2.5" />
<style-text style="bold" fill="#ffef7d" id="major-road" k="name" priority="1" size="19"
stroke="#624f00" stroke-width="2.5" />
<style-text style="bold" fill="#606060" id="ref" k="ref" priority="2" size="12" stroke="#ffffff"
stroke-width="2.0" />
<style-area fade="10" fill="#ff0000" id="residential" />
@ -433,6 +436,7 @@
<line use="primary:z11" />
<outline use="0" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
@ -440,6 +444,7 @@
<outline use="0" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
@ -447,6 +452,7 @@
<outline use="0" />
<!-- <outline use="glow"/> -->
<text use="major-road" />
<text use="ref" />
</m>
</m>
@ -682,18 +688,21 @@
<line use="primary:z11" />
<outline use="primary" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line use="trunk" />
<outline use="motorway" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line use="highway:z11" />
<outline use="motorway" />
<text use="major-road" />
<text use="ref" />
</m>
</m> <!-- end area=~|no|false -->
</m> <!-- end tunnel|bridge=~|no|false -->
@ -775,18 +784,21 @@
<line cap="square" use="primary:z11" />
<outline use="bridge" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="trunk">
<line cap="square" use="trunk" />
<outline use="bridge" />
<text use="major-road" />
<text use="ref" />
</m>
<m v="motorway">
<line cap="square" use="highway:z11" />
<outline use="bridge" />
<text use="major-road" />
<text use="ref" />
</m>
</m> <!-- end area=~|no|false -->