simplify my old high-contrast renderer to easier facilitate color testing

This commit is contained in:
sonora 2012-08-27 14:02:15 +02:00
parent 5c9a7de6fa
commit 13a4057f56

View file

@ -6,6 +6,7 @@
<!-- <!--
Try high contrast roads, suggested by Dirk Sommer: primary = #C00828, seconfary = #FF8000, tertiary = #F0C810 Try high contrast roads, suggested by Dirk Sommer: primary = #C00828, seconfary = #FF8000, tertiary = #F0C810
2012-08-27 Simplify to facilitate color customization
--> -->
@ -55,7 +56,7 @@
<group> <group>
<filter tag="highway" value="secondary" maxzoom="13"/> <filter tag="highway" value="secondary" maxzoom="13"/>
<filter tag="highway" value="secondary_link" maxzoom="13"/> <filter tag="highway" value="secondary_link" maxzoom="13"/>
<groupFilter color="#FF8000" color_2="#FF8000" shadowRadius="1" cap="ROUND"> <groupFilter color="#FF8000" shadowRadius="1" cap="ROUND">
<filter minzoom="9" maxzoom="9" strokeWidth="3"/> <filter minzoom="9" maxzoom="9" strokeWidth="3"/>
<filter minzoom="10" maxzoom="10" strokeWidth="4"/> <filter minzoom="10" maxzoom="10" strokeWidth="4"/>
<filter minzoom="11" maxzoom="11" strokeWidth="5"/> <filter minzoom="11" maxzoom="11" strokeWidth="5"/>
@ -65,22 +66,23 @@
</group> </group>
<group> <group>
<filter tag="highway" value="motorway" color="#3838B0" color_2="#3838B0"/> <filter tag="highway" value="motorway" color="#3838B0"/>
<filter tag="highway" value="motorway_link" color="#3838B0" color_2="#3838B0"/> <filter tag="highway" value="motorway_link" color="#3838B0"/>
<filter tag="highway" value="trunk" color="#A01060" color_2="#A01060"/> <filter tag="highway" value="trunk" color="#A01060"/>
<filter tag="highway" value="trunk_link" color="#A01060" color_2="#A01060"/> <filter tag="highway" value="trunk_link" color="#A01060"/>
<filter tag="highway" value="primary" color="#C00828" color_2="#C00828"/> <filter tag="highway" value="primary" color="#C00828"/>
<filter tag="highway" value="primary_link" color="#C00828" color_2="#C00828"/> <filter tag="highway" value="primary_link" color="#C00828"/>
<filter tag="highway" value="secondary" color="#FF8000" color_2="#FF8000"/> <filter tag="highway" value="secondary" color="#FF8000"/>
<filter tag="highway" value="secondary_link" color="#FF8000" color_2="#FF8000"/> <filter tag="highway" value="secondary_link" color="#FF8000"/>
<groupFilter shadowRadius="1" cap="ROUND"> <groupFilter shadowRadius="1" cap="ROUND">
<!-- Bridges --> <!-- Bridges -->
<filter layer="1" color="#000000" shadowRadius="0" cap="BUTT" cap_2="SQUARE"> <filter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter minzoom="14" maxzoom="15" strokeWidth="14" strokeWidth_2="12"/> <filter minzoom="14" maxzoom="14" strokeWidth_0="12"/>
<filter minzoom="16" maxzoom="16" strokeWidth="17" strokeWidth_2="15"/> <filter minzoom="15" maxzoom="15" strokeWidth_0="14"/>
<filter minzoom="17" maxzoom="17" strokeWidth="21" strokeWidth_2="19"/> <filter minzoom="16" maxzoom="16" strokeWidth_0="17"/>
<filter minzoom="18" strokeWidth="26" strokeWidth_2="24"/> <filter minzoom="17" maxzoom="17" strokeWidth_0="21"/>
<groupFilter nightMode="true" color="#ffffff"/> <filter minzoom="18" strokeWidth_0="26"/>
<groupFilter nightMode="true" color_0="#ffffff"/>
</filter> </filter>
<filter> <filter>
<filter minzoom="14" maxzoom="14" strokeWidth="10"/> <filter minzoom="14" maxzoom="14" strokeWidth="10"/>
@ -96,19 +98,19 @@
<group> <group>
<filter tag="highway" value="tertiary"/> <filter tag="highway" value="tertiary"/>
<filter tag="highway" value="tertiary_link"/> <filter tag="highway" value="tertiary_link"/>
<groupFilter color="#F0C810" color_2="#F0C810" shadowRadius="1" cap="ROUND"> <groupFilter color="#F0C810" shadowRadius="1" cap="ROUND">
<filter minzoom="10" maxzoom="10" strokeWidth="3"/> <filter minzoom="10" maxzoom="10" strokeWidth="3"/>
<filter minzoom="11" maxzoom="11" strokeWidth="4"/> <filter minzoom="11" maxzoom="11" strokeWidth="4"/>
<filter minzoom="12" maxzoom="12" strokeWidth="5"/> <filter minzoom="12" maxzoom="12" strokeWidth="5"/>
<filter minzoom="13" maxzoom="13" strokeWidth="6"/> <filter minzoom="13" maxzoom="13" strokeWidth="6"/>
<!-- Bridges --> <!-- Bridges -->
<filter layer="1" color="#000000" shadowRadius="0" cap="BUTT" cap_2="SQUARE"> <filter layer="1" color_0="#000000" shadowRadius="0" cap_0="BUTT" cap="SQUARE">
<filter minzoom="13" maxzoom="14" strokeWidth="8" strokeWidth_2="6"/> <filter minzoom="13" maxzoom="14" strokeWidth="8"/>
<filter minzoom="15" maxzoom="15" strokeWidth="10" strokeWidth_2="8"/> <filter minzoom="15" maxzoom="15" strokeWidth="10"/>
<filter minzoom="16" maxzoom="16" strokeWidth="12" strokeWidth_2="10"/> <filter minzoom="16" maxzoom="16" strokeWidth="12"/>
<filter minzoom="17" maxzoom="17" strokeWidth="15" strokeWidth_2="13"/> <filter minzoom="17" maxzoom="17" strokeWidth="15"/>
<filter minzoom="18" strokeWidth="20" strokeWidth_2="18"/> <filter minzoom="18" strokeWidth="20"/>
<groupFilter nightMode="true" color="#ffffff"/> <groupFilter nightMode="true" color_0="#ffffff"/>
</filter> </filter>
<filter> <filter>
<filter minzoom="14" maxzoom="14" strokeWidth="6"/> <filter minzoom="14" maxzoom="14" strokeWidth="6"/>