include test-road-colors template for easy handling

This commit is contained in:
sonora 2012-08-27 17:57:38 +02:00
parent db383a67e1
commit b8112b700f

View file

@ -0,0 +1,127 @@
<renderingStyle name="test-road-colors_vX" depends="default" defaultColor="#f1eae4" version="1">
<!--
Depends on All-Purpose Renderer (by Hardy Mueller), based on production version 2012-01-04
-->
<!--
2012-08-27 to facilitate color customization
Orig: motorway=809bff, trunk=ed154b, primary=ff80a0, secondary=ffd080, tertiary=ffff80
Saturation=50, Brightness=100, except trunk is considered special case of primary (same hue)
-->
<order>
</order>
<text>
</text>
<point>
</point>
<polygon>
</polygon>
<line>
<group>
<filter tag="highway" value="motorway" maxzoom="13" color="#809bff"/>
<filter tag="highway" value="motorway_link" maxzoom="13" color="#809bff"/>
<filter tag="highway" value="trunk" maxzoom="13" color="#ed154b"/>
<filter tag="highway" value="trunk_link" maxzoom="13" color="#ed154b"/>
<groupFilter cap="ROUND">
<filter minzoom="5" maxzoom="9" strokeWidth="5"/>
<filter minzoom="10" maxzoom="10" strokeWidth="6"/>
<filter minzoom="11" maxzoom="11" strokeWidth="7"/>
<filter minzoom="12" maxzoom="12" strokeWidth="8"/>
<filter minzoom="13" maxzoom="13" strokeWidth="9"/>
</groupFilter>
</group>
<group>
<filter tag="highway" value="primary" maxzoom="13"/>
<filter tag="highway" value="primary_link" maxzoom="13"/>
<groupFilter color="#ff80a0" cap="ROUND">
<filter minzoom="7" maxzoom="9" strokeWidth="4"/>
<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"/>
</groupFilter>
</group>
<group>
<filter tag="highway" value="secondary" maxzoom="13"/>
<filter tag="highway" value="secondary_link" maxzoom="13"/>
<groupFilter color="#ffd080" shadowRadius="1" cap="ROUND">
<filter minzoom="9" maxzoom="9" strokeWidth="3"/>
<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"/>
</groupFilter>
</group>
<group>
<filter tag="highway" value="motorway" color="#809bff"/>
<filter tag="highway" value="motorway_link" color="#809bff"/>
<filter tag="highway" value="trunk" color="#ed154b"/>
<filter tag="highway" value="trunk_link" color="#ed154b"/>
<filter tag="highway" value="primary" color="#ff80a0"/>
<filter tag="highway" value="primary_link" color="#ff80a0"/>
<filter tag="highway" value="secondary" color="#ffd080"/>
<filter tag="highway" value="secondary_link" color="#ffd080"/>
<groupFilter shadowRadius="1" cap="ROUND">
<!-- Bridges -->
<filter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter minzoom="14" maxzoom="14" strokeWidth_0="12"/>
<filter minzoom="15" maxzoom="15" strokeWidth_0="14"/>
<filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="17" maxzoom="17" strokeWidth_0="21"/>
<filter minzoom="18" strokeWidth_0="26"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</filter>
<filter>
<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="24"/>
<groupFilter layer="-1" pathEffect="4_4" cap="BUTT"/>
</filter>
</groupFilter>
</group>
<group>
<filter tag="highway" value="tertiary"/>
<filter tag="highway" value="tertiary_link"/>
<groupFilter color="#ffff80" shadowRadius="1" cap="ROUND">
<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"/>
<!-- Bridges -->
<filter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter minzoom="13" maxzoom="14" strokeWidth="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" maxzoom="17" strokeWidth="15"/>
<filter minzoom="18" strokeWidth="20"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</filter>
<filter>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/>
<filter minzoom="15" maxzoom="15" strokeWidth="8"/>
<filter minzoom="16" maxzoom="16" strokeWidth="10"/>
<filter minzoom="17" maxzoom="17" strokeWidth="13"/>
<filter minzoom="18" strokeWidth="18"/>
<groupFilter layer="-1" pathEffect="4_4" cap="BUTT"/>
</filter>
</groupFilter>
</group>
</line>
</renderingStyle>