Edited DataExtractionOSM/src/net/osmand/render/default.render.xml via GitHub

This commit is contained in:
sonora 2011-07-05 03:25:29 -07:00
parent 895594ee90
commit 68070b3ddb

View file

@ -1,12 +1,12 @@
<renderer name="default" depends="" defaultColor="#f1eee8" defaultNightColor="#003333"> <renderer name="default" depends="" defaultColor="#f1eee8" defaultNightColor="#003333">
<!-- <!--
Based on All-Purpose Renderer (by Hardy Mueller), v014, but with slightly less detail and different motorwaay/trunk colors, and some roads displayed at higher zooms (ZM13) than described below: Based on All-Purpose Renderer (by Hardy Mueller), v015, but with slightly less detail and different motorway/trunk colors, and some roads displayed at higher zooms (ZM13) than described below:
Map rendering aligned to typical map use for all zoom levels/scales, hence always yields a complete and reliable map. 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: 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 - z7 = "Rough Country Level Overview": Shows motorways, trunks, primary roads and city names
- z11 = "Country Road Atlas": Secondary roads (already from z9) and tertiary (already from z10). Show large scale landuse like forest and residential areas (already from z10). Also all town names (already from z9) and now all other locality names. Shows mountain peaks for orientation. - z11 = "Country Road Atlas": Secondary roads (already from z9) and tertiary (already from z10). Show large scale landuse like forest and residential areas (already from z10). Also all town names (already from z9) and now all other locality names. Shows mountain peaks for orientation.
- z12 = "Detailed Country Road Atlas": Add all other public highways like residential, unclassified, roads. Add foot and bike tracks. Also tag mountain peaks. - z12 = "Detailed Country Road Atlas": Add all other public highways like road, unclassified, residential. Add foot and bike tracks. Also tag mountain peaks.
- z13 = "Regional Driving. Good Overview": Displays all driving as well as hiking connections. Show service, living street, pedestrian and footway highways. Include all area landuse. - z13 = "Regional Driving. Good Overview": Displays all driving as well as hiking connections. Show service, living street, pedestrian and footway highways. Include all area landuse.
- z14 = "Local Driving, also Hiking Map" - z14 = "Local Driving, also Hiking Map"
- z15 = "City Driving": Display all details of interest for this. - z15 = "City Driving": Display all details of interest for this.
@ -84,13 +84,13 @@
<filter tag="highway" value="primary" order="55" /> <filter tag="highway" value="primary" order="55" />
<filter tag="highway" value="secondary" order="54" /> <filter tag="highway" value="secondary" order="54" />
<filter tag="highway" value="tertiary" order="53" /> <filter tag="highway" value="tertiary" order="53" />
<filter tag="highway" value="road" order="51" />
<filter tag="highway" value="unclassified" order="51" />
<filter tag="highway" value="residential" order="52" /> <filter tag="highway" value="residential" order="52" />
<filter tag="highway" value="service" order="52" /> <filter tag="highway" value="service" order="52" />
<filter tag="highway" value="unclassified" order="51" /> <filter tag="highway" value="living_street" order="47" />
<filter tag="highway" value="road" order="51" />
<filter tag="highway" value="track" order="50" /> <filter tag="highway" value="track" order="50" />
<filter tag="highway" value="path" order="48" /> <filter tag="highway" value="path" order="48" />
<filter tag="highway" value="living_street" order="47" />
<filter tag="highway" value="construction" order="46" /> <filter tag="highway" value="construction" order="46" />
<filter tag="highway" value="proposed" order="45" /> <filter tag="highway" value="proposed" order="45" />
@ -180,11 +180,12 @@
<switch> <switch>
<case tag="highway" value="tertiary" /> <case tag="highway" value="tertiary" />
<case tag="highway" value="tertiary_link" /> <case tag="highway" value="tertiary_link" />
<case tag="highway" value="residential" />
<case tag="highway" value="service" />
<case tag="highway" value="unclassified" />
<case tag="highway" value="road" />
<case tag="highway" value="road" />
<case tag="highway" value="unclassified" />
<case tag="highway" value="residential" />
<case tag="highway" value="service" />
<case tag="highway" value="living_street" /> <case tag="highway" value="living_street" />
<case tag="highway" value="pedestrian" /> <case tag="highway" value="pedestrian" />
@ -514,14 +515,14 @@
<case nightMode="true" color_2="#9F9F9F" color="#666666"/> <case nightMode="true" color_2="#9F9F9F" color="#666666"/>
<case nightMode="false" color_2="#464646" color="#ffffff"/> <case nightMode="false" color_2="#464646" color="#ffffff"/>
<filter minzoom="12" strokeWidth_2="1"> <filter minzoom="12" strokeWidth_2="1">
<filter tag="highway" value="unclassified" />
<filter tag="highway" value="road" /> <filter tag="highway" value="road" />
<filter tag="highway" value="service" /> <filter tag="highway" value="unclassified" />
<filter tag="highway" value="residential" /> <filter tag="highway" value="residential" />
</filter> </filter>
</switch> </switch>
<!-- ZM 13 --> <!-- ZM 13 -->
<filter minzoom="14" strokeWidth_2="0.5" color_2="#B0B0B0" color="#ECECEC"> <filter minzoom="14" strokeWidth_2="0.5" color_2="#B0B0B0" color="#ECECEC">
<filter tag="highway" value="service" />
<filter tag="highway" value="pedestrian" /> <filter tag="highway" value="pedestrian" />
<filter tag="highway" value="footway" /> <filter tag="highway" value="footway" />
</filter> </filter>
@ -861,9 +862,9 @@
<case nightMode="false" color="#ffffff" color_2="#ffffff" shadowColor="#464646"/> <case nightMode="false" color="#ffffff" color_2="#ffffff" shadowColor="#464646"/>
<case nightMode="true" color="#9F9F9F" color_2="#9F9F9F" shadowColor="#666666"/> <case nightMode="true" color="#9F9F9F" color_2="#9F9F9F" shadowColor="#666666"/>
<switch> <switch>
<case tag="highway" value="residential" />
<case tag="highway" value="unclassified" />
<case tag="highway" value="road" /> <case tag="highway" value="road" />
<case tag="highway" value="unclassified" />
<case tag="highway" value="residential" />
<filter shadowRadius="1"> <filter shadowRadius="1">
<!-- ZM <filter minzoom="12" maxzoom="12" strokeWidth="3" /> --> <!-- ZM <filter minzoom="12" maxzoom="12" strokeWidth="3" /> -->
<filter minzoom="13" maxzoom="13" strokeWidth="4" /> <filter minzoom="13" maxzoom="13" strokeWidth="4" />
@ -872,9 +873,9 @@
<switch> <switch>
<case tag="highway" value="tertiary" color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" /> <case tag="highway" value="tertiary" color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" />
<case tag="highway" value="tertiary_link" color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" /> <case tag="highway" value="tertiary_link" color="#fefeb3" color_2="#fefeb3" shadowColor="#bababa" />
<case tag="highway" value="residential" />
<case tag="highway" value="unclassified" />
<case tag="highway" value="road"/> <case tag="highway" value="road"/>
<case tag="highway" value="unclassified" />
<case tag="highway" value="residential" />
<filter> <filter>
<switch> <switch>
<case layer="-1" pathEffect="4_4" /> <case layer="-1" pathEffect="4_4" />
@ -902,30 +903,31 @@
</switch> </switch>
</filter> </filter>
</switch> </switch>
</switch>
<switch>
<case tag="highway" value="service" color="#ececec" color_2="#ececec" shadowColor="#b0b0b0" />
<case tag="highway" value="living_street" color="#ececec" color_2="#ececec" shadowColor="#b0b0b0" />
<case tag="highway" value="pedestrian" color="#ececec" color_2="#ececec" shadowColor="#b0b0b0" />
<filter>
<switch> <switch>
<case tag="highway" value="service" /> <case layer="-1" pathEffect="4_4" />
<case tag="highway" value="living_street"/> <case /> <!-- all other cases -->
<case tag="highway" value="pedestrian" color="#ececec" color_2="#ececec" shadowColor="#b0b0b0" />
<filter> <filter>
<switch> <!-- ZM <filter minzoom="13" maxzoom="13" strokeWidth="2" shadowRadius="1"/>
<case layer="-1" pathEffect="4_4" /> <filter minzoom="14" maxzoom="14" strokeWidth="3" shadowRadius="1"/>-->
<case /> <!-- all other cases --> <filter minzoom="15" maxzoom="15" strokeWidth="4" shadowRadius="1"/>
<filter> <filter minzoom="16" maxzoom="16" strokeWidth="5" />
<!-- ZM <filter minzoom="13" maxzoom="13" strokeWidth="2" shadowRadius="1"/> <filter minzoom="17" maxzoom="17" strokeWidth="8"/>
<filter minzoom="14" maxzoom="14" strokeWidth="3" shadowRadius="1"/>--> <filter minzoom="18" strokeWidth="12"/>
<filter minzoom="15" maxzoom="15" strokeWidth="4" shadowRadius="1"/> </filter>
<filter minzoom="16" maxzoom="16" strokeWidth="5" /> </switch>
<filter minzoom="17" maxzoom="17" strokeWidth="8"/> <!-- bridge -->
<filter minzoom="18" strokeWidth="12"/> <switch>
</filter> <case nightMode="false" color="#000000" />
</switch> <case nightMode="true" color="#000000" />
<!-- bridge --> <filter layer="1" cap_2="SQUARE">
<switch> <!--ZM <filter minzoom="13" maxzoom="14" strokeWidth="5" strokeWidth_2="3" /> -->
<case nightMode="false" color="#ffffff" />
<case nightMode="true" color="#ffffff" />
<filter layer="1" cap_2="SQUARE">
<!--ZM <filter minzoom="13" maxzoom="14" strokeWidth="5" strokeWidth_2="3" /> -->
<filter minzoom="15" maxzoom="15" strokeWidth="6" strokeWidth_2="4" /> <filter minzoom="15" maxzoom="15" strokeWidth="6" strokeWidth_2="4" />
<filter minzoom="16" maxzoom="16" strokeWidth="7" strokeWidth_2="5" /> <filter minzoom="16" maxzoom="16" strokeWidth="7" strokeWidth_2="5" />
<filter minzoom="17" maxzoom="17" strokeWidth="10" strokeWidth_2="8" /> <filter minzoom="17" maxzoom="17" strokeWidth="10" strokeWidth_2="8" />
@ -934,7 +936,6 @@
</switch> </switch>
</filter> </filter>
</switch> </switch>
</switch>
<filter tag="highway" value="cycleway"> <filter tag="highway" value="cycleway">
<!--ZM <filter minzoom="12" maxzoom="12" color="#0000ff" strokeWidth="0.5" pathEffect="2_2" /> --> <!--ZM <filter minzoom="12" maxzoom="12" color="#0000ff" strokeWidth="0.5" pathEffect="2_2" /> -->