all-purpose renderer, v016: suppress shadowRadius for z16+ to avoid many black lines (bugfix)
This commit is contained in:
parent
5906ec6a44
commit
17cc007ba0
1 changed files with 33 additions and 25 deletions
|
@ -1,6 +1,6 @@
|
|||
<renderer name="all-purpose" depends="" defaultColor="#f1eee8" defaultNightColor="#003333">
|
||||
<!--
|
||||
All Purpose Renderer (essentially more details than default) (by Hardy Mueller), v015:
|
||||
All Purpose Renderer (essentially more details than default) (by Hardy Mueller), v016:
|
||||
Map rendering aligned to typical map use for all zoom levels/scales, hence always yields a complete and reliable map.
|
||||
All features displayed at each zoom level (zX) are those for its typical use:
|
||||
- z7 = "Rough Country Level Overview": Shows motorways, trunks, primary roads and city names
|
||||
|
@ -12,6 +12,7 @@
|
|||
- z16 = "Walking, City tour": Outline and tag buildings
|
||||
- z17 = Building details, street corner details.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Version History:
|
||||
(please document all changes in detail, and reason for change. This should facility later reconciliation with other renderers)
|
||||
|
@ -19,6 +20,7 @@
|
|||
- v013: Fixed some bugs to re-instate functionality of v011: Fix night view for all shaders, cemetery, vineyard, nature_reserve, forest. Fixed night view for field, orchard, quarry, marsh, mud, wetland, scrub, zoo. Fixed night view for white roads. Also brightened motorway and trunk highway colors again to what was requested in forum. Fix night bridges.
|
||||
- v014: functionality of v011 restored, with combined day+night view. Trunk highways slightly darker, white tags on all dotted paths at night.
|
||||
- v015: Implement motorway_junction text. Separate tertiary and white roads to fix bridges in night view
|
||||
- v016: suppress shadowRadius for z16+ to avoid many black lines (bugfix)
|
||||
-->
|
||||
|
||||
<!--
|
||||
|
@ -69,6 +71,7 @@
|
|||
<filter tag="natural" value="coastline" order="0.5" />
|
||||
<filter tag="natural" order="1" />
|
||||
</filter>
|
||||
|
||||
<filter orderType="line">
|
||||
<!-- Below see level -->
|
||||
<filter tag="admin_level" value="0" order="0" />
|
||||
|
@ -207,11 +210,12 @@
|
|||
<filter minzoom="18" textSize="18" />
|
||||
</filter>
|
||||
</switch>
|
||||
|
||||
<switch>
|
||||
<case nightMode="true" textColor="#ffffff"/>
|
||||
<case nightMode="false" textColor="#000000"/>
|
||||
<switch>
|
||||
<case tag="highway" value="track" />
|
||||
<case ta="highway" value="track" />
|
||||
<case tag="highway" value="path" />
|
||||
<case tag="highway" value="cycleway" />
|
||||
|
||||
|
@ -228,6 +232,7 @@
|
|||
</filter>
|
||||
</switch>
|
||||
</switch>
|
||||
|
||||
<filter minzoom="15" textSize="14" textBold="true" textWrapWidth="12" textMinDistance="20" tag="highway" value="motorway_junction"/>
|
||||
|
||||
<!-- Natural -->
|
||||
|
@ -235,7 +240,7 @@
|
|||
|
||||
<filter minzoom="14" textSize="12" textColor="#6699cc" textHaloRadius="1" textWrapWidth="20" tag="natural" value="beach" />
|
||||
|
||||
<switch>
|
||||
<switch>
|
||||
<case nightMode="true" textColor="#CC3300"/>
|
||||
<case nightMode="false" textColor="#654321"/>
|
||||
<filter>
|
||||
|
@ -520,6 +525,7 @@
|
|||
<filter tag="highway" value="residential" />
|
||||
</filter>
|
||||
</switch>
|
||||
|
||||
<filter minzoom="13" strokeWidth_2="0.5" color_2="#b0b0b0" color="#ECECEC">
|
||||
<filter tag="highway" value="service" />
|
||||
<filter tag="highway" value="pedestrian" />
|
||||
|
@ -556,7 +562,7 @@
|
|||
<filter value="aerodrome" />
|
||||
<filter value="airport" />
|
||||
</filter>
|
||||
</switch>
|
||||
</switch>
|
||||
|
||||
<switch>
|
||||
<case nightMode="true" color="#560000"/>
|
||||
|
@ -630,15 +636,16 @@
|
|||
<filter tag="leisure" value="stadium" />
|
||||
</filter>
|
||||
</switch>
|
||||
|
||||
<filter minzoom="12" color="#b5e3b5" tag="leisure" value="golf_course" />
|
||||
<filter nightMode="true" minzoom="12" color="#004333" tag="leisure" value="golf_course" />
|
||||
<filter minzoom="12" color="#74dcba" color_2="#888888" strokeWidth_2="1" tag="leisure" value="track" />
|
||||
<filter nightMode="true" minzoom="12" color="#004333" color_2="#888888" strokeWidth_2="1" tag="leisure" value="track" />
|
||||
<filter minzoom="12" color="#8ad3af" color_2="#888888" strokeWidth_2="1" tag="leisure" value="pitch" />
|
||||
<filter nightMode="true" minzoom="12" color="#004333" color_2="#888888" strokeWidth_2="1" tag="leisure" value="pitch" />
|
||||
|
||||
<filter minzoom="10" shader="nr" color="#abdf96" tag="leisure" value="nature_reserve" />
|
||||
<filter minzoom="10" nightMode="true" color="#000034" tag="leisure" value="nature_reserve" />
|
||||
|
||||
<switch>
|
||||
<case nightMode="true" color="#b0004333"/>
|
||||
<case nightMode="false" color="#b0b6fdb6"/>
|
||||
|
@ -647,6 +654,7 @@
|
|||
<filter tag="leisure" value="recreation_ground" />
|
||||
</filter>
|
||||
</switch>
|
||||
|
||||
<filter minzoom="15" color="#ccfff1" tag="leisure" value="playground" />
|
||||
<filter minzoom="15" nightMode="true" color="#004333" tag="leisure" value="playground" />
|
||||
<filter minzoom="12" color="#cfeca8" tag="leisure" value="garden" />
|
||||
|
@ -683,7 +691,6 @@
|
|||
<filter minzoom="13" nightMode="true" color="#a0004333" tag="tourism" value="caravan_site" />
|
||||
<filter minzoom="13" color="#a0ccff99" tag="tourism" value="picnic_site" />
|
||||
<filter minzoom="13" nightMode="true" color="#a0004333" tag="tourism" value="picnic_site" />
|
||||
|
||||
<filter minzoom="12" maxzoom="15" color="#f2caea" color_2="#734a08" strokeWidth_2="1" pathEffect_2="9_3" tag="tourism" value="theme_park" />
|
||||
<filter minzoom="12" maxzoom="15" nightMode="true" color="#66004B" color_2="#734a08" strokeWidth_2="1" pathEffect_2="9_3" tag="tourism" value="theme_park" />
|
||||
<filter minzoom="16" color="#f2caea" color_2="#734a08" strokeWidth_2="2" pathEffect_2="9_3" tag="tourism" value="theme_park" />
|
||||
|
@ -746,13 +753,13 @@
|
|||
<filter minzoom="10" color="#cfeca8" tag="landuse" value="conservation" />
|
||||
<filter minzoom="10" nightMode="true" color="#004333" tag="landuse" value="conservation" />
|
||||
<filter minzoom="12" color="#cfeca8" tag="landuse" value="village_green" />
|
||||
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="village_green" />
|
||||
<filter minzoom="12" nightMode="true" color="#004333" tag="landuse" value="village_green" />
|
||||
<filter minzoom="7" color="#b5d0d0" tag="landuse" value="reservoir" />
|
||||
<filter minzoom="7" nightMode="true" color="#330099" tag="landuse" value="reservoir" />
|
||||
<filter minzoom="7" nightMode="true" color="#330099" tag="landuse" value="reservoir" />
|
||||
<filter minzoom="7" color="#b5d0d0" tag="landuse" value="water" />
|
||||
<filter minzoom="7" nightMode="true" color="#330099" tag="landuse" value="water" />
|
||||
<filter minzoom="10" color="#CDCDCD" tag="landuse" value="residential" />
|
||||
<filter minzoom="10" nightMode="true" color="#66004B" tag="landuse" value="residential" />
|
||||
<filter minzoom="10" nightMode="true" color="#66004B" tag="landuse" value="residential" />
|
||||
<filter minzoom="12" maxzoom="14" color="#cfeca8" tag="landuse" value="retail" />
|
||||
<filter minzoom="15" color="#cfeca8" color_2="#ff0000" strokeWidth_2="1" tag="landuse" value="retail" />
|
||||
<filter minzoom="15" nightMode="true" color="#66004B" color_2="#ff0000" strokeWidth_2="1" tag="landuse" value="retail" />
|
||||
|
@ -795,6 +802,7 @@
|
|||
<filter minzoom="13" maxzoom="13" strokeWidth="8" />
|
||||
</filter>
|
||||
</switch>
|
||||
|
||||
<switch>
|
||||
<case tag="highway" value="secondary" />
|
||||
<case tag="highway" value="secondary_link" />
|
||||
|
@ -846,11 +854,11 @@
|
|||
<switch>
|
||||
<case tag="highway" value="tertiary" />
|
||||
<case tag="highway" value="tertiary_link" />
|
||||
<filter color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" shadowRadius="1">
|
||||
<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" />
|
||||
<filter color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" >
|
||||
<filter minzoom="10" maxzoom="10" strokeWidth="3" shadowRadius="1" />
|
||||
<filter minzoom="11" maxzoom="11" strokeWidth="4" shadowRadius="1" />
|
||||
<filter minzoom="12" maxzoom="12" strokeWidth="5" shadowRadius="1" />
|
||||
<filter minzoom="13" maxzoom="13" strokeWidth="6" shadowRadius="1" />
|
||||
<switch>
|
||||
<case layer="-1" pathEffect="4_4" />
|
||||
<case /> <!-- all other cases -->
|
||||
|
@ -886,9 +894,9 @@
|
|||
<switch>
|
||||
<case nightMode="true" color="#9F9F9F" color_2="#9F9F9F" shadowColor="#666666"/>
|
||||
<case nightMode="false" color="#ffffff" color_2="#ffffff" shadowColor="#464646"/>
|
||||
<filter shadowRadius="1">
|
||||
<filter minzoom="12" maxzoom="12" strokeWidth="3" />
|
||||
<filter minzoom="13" maxzoom="13" strokeWidth="4" />
|
||||
<filter>
|
||||
<filter minzoom="12" maxzoom="12" strokeWidth="3" shadowRadius="1" />
|
||||
<filter minzoom="13" maxzoom="13" strokeWidth="4" shadowRadius="1" />
|
||||
<switch>
|
||||
<case layer="-1" pathEffect="4_4" />
|
||||
<case /> <!-- all other cases -->
|
||||
|
@ -907,13 +915,13 @@
|
|||
<switch>
|
||||
<case nightMode="false" color="#000000" color_2="#ffffff" shadowColor="#464646" />
|
||||
<case nightMode="true" color="#ffffff" color_2="#9F9F9F" shadowColor="#666666" />
|
||||
<filter layer="1" cap_2="SQUARE" >
|
||||
<filter layer="1" cap_2="SQUARE" >
|
||||
<filter minzoom="13" maxzoom="14" strokeWidth="8" strokeWidth_2="6" />
|
||||
<filter minzoom="15" maxzoom="15" strokeWidth="10" strokeWidth_2="8" />
|
||||
<filter minzoom="16" maxzoom="16" strokeWidth="12" strokeWidth_2="10" />
|
||||
<filter minzoom="17" maxzoom="17" strokeWidth="15" strokeWidth_2="13" />
|
||||
<filter minzoom="18" strokeWidth="20" strokeWidth_2="18" />
|
||||
</filter>
|
||||
</filter>
|
||||
</switch>
|
||||
</filter>
|
||||
</switch>
|
||||
|
@ -940,11 +948,11 @@
|
|||
<case nightMode="false" color="#000000" />
|
||||
<case nightMode="true" color="#000000" />
|
||||
<filter layer="1" cap_2="SQUARE">
|
||||
<filter minzoom="13" maxzoom="14" strokeWidth="5" strokeWidth_2="3" />
|
||||
<filter minzoom="15" maxzoom="15" strokeWidth="6" strokeWidth_2="4" />
|
||||
<filter minzoom="16" maxzoom="16" strokeWidth="7" strokeWidth_2="5" />
|
||||
<filter minzoom="17" maxzoom="17" strokeWidth="10" strokeWidth_2="8" />
|
||||
<filter minzoom="18" strokeWidth="14" strokeWidth_2="12" />
|
||||
<filter minzoom="13" maxzoom="14" strokeWidth="5" strokeWidth_2="3" />
|
||||
<filter minzoom="15" maxzoom="15" strokeWidth="6" strokeWidth_2="4" />
|
||||
<filter minzoom="16" maxzoom="16" strokeWidth="7" strokeWidth_2="5" />
|
||||
<filter minzoom="17" maxzoom="17" strokeWidth="10" strokeWidth_2="8" />
|
||||
<filter minzoom="18" strokeWidth="14" strokeWidth_2="12" />
|
||||
</filter>
|
||||
</switch>
|
||||
</filter>
|
||||
|
@ -1039,7 +1047,6 @@
|
|||
<filter pathEffect_2="4_2" >
|
||||
<filter minzoom="5" maxzoom="9" strokeWidth="1" />
|
||||
<filter minzoom="10" maxzoom="12" strokeWidth="2" />
|
||||
|
||||
<filter minzoom="13" maxzoom="13" strokeWidth="3" />
|
||||
<filter minzoom="14" maxzoom="14" strokeWidth="5" />
|
||||
<filter minzoom="15" maxzoom="16" strokeWidth="6" />
|
||||
|
@ -1066,6 +1073,7 @@
|
|||
|
||||
<filter minzoom="13" strokeWidth="2" tag="waterway" value="dam" />
|
||||
</switch>
|
||||
|
||||
<filter minzoom="15" color="#aaaaaa" strokeWidth="2" tag="waterway" value="weir" />
|
||||
|
||||
<!-- railway -->
|
||||
|
|
Loading…
Reference in a new issue