<?xml version="1.0" encoding="utf-8"?>
<renderingStyle name="Enduro" depends="" defaultColor="#000000" version="1">
<!-- style pour l'utilisation offroad en véhicule motorisé par cricri, vous pouvez me trouver sur le forum https://www.terre-bitume.org/ sous le pseudo "cricri" ou sur cette adresse   grosmono500@hotmail.com -->

	<renderingProperty attr="appMode" name="Rendering mode" description="Map optimization for respective User Profile" type="browse" possibleValues="browse map,car,bicycle,pedestrian"/>
	<renderingProperty attr="baseAppMode" name="Default Rendering mode" description="Map optimization for respective User Profile based on base (parent) profile"
		type="default" possibleValues="default, car, bicycle, pedestrian, public_transport, boat, ski"/>
	<renderingProperty attr="transportStops" name="Transport stops" description="Public transport stops" type="boolean" possibleValues="" category="transport"/>
	<renderingProperty attr="contourLines" name="Show contour lines" description="Select minimum zoom level to display in map if available. Separate contour file may be needed." type="string" possibleValues="disabled,16,15,14,13,12,11" defaultValueDescription="default13" category="details"/>

	<!-- ajout cricri epaisseur route -->
	<renderingProperty attr="cheminfin" name="epaisseur route" description="epaisseur route" type="boolean" possibleValues="" category="details"/>

	<!-- ajout cricri epaisseur dans bluestacks -->
	<renderingProperty attr="bluestacks" name="epaisseur bluestacks" description="epaisseur bluestacks" type="boolean" possibleValues="" category="details"/>
	
	<!-- ajout cricri enlève balisages -->
	<renderingProperty attr="balisage" name="cacher balisages" description="cacher balisages" type="boolean" possibleValues="" category="hide"/>

	<!-- ajout cricri chemin sans infos -->
	<renderingProperty attr="track" name="cacher chemin sans info" description="cacher chemin sans info" type="boolean" possibleValues="" category="hide"/>

	<!-- ajout cricri carte arrière plan -->
	<renderingProperty attr="arriereplan" name="en cas  de carte arrière plan" description="ajoute un contour noir" type="boolean" possibleValues="" category="hide"/>

	<renderingProperty attr="lessDetailed" name="moins de détails" description="moins de détails" type="boolean" possibleValues="" category="details"/>
	<renderingProperty attr="hideUnderground" name="Hide underground objects" description="Hide underground objects" type="boolean" possibleValues="" category="hide"/>
	<renderingProperty attr="hideAccess" name="Hide access restrictions" description="Hide access type" type="boolean" possibleValues="" category="hide"/>
	<renderingProperty attr="hideBuildings" name="Hide buildings" description="Hide buildings" type="boolean" possibleValues="" category="hide"/>
	<renderingProperty attr="hideWaterPolygons" name="Hide water" description="Hide water polygons" type="boolean" possibleValues="" category="hide"/>
	<renderingProperty attr="noPolygons" name="Hide polygons" description="Make all areal land features on map transparent" type="boolean" possibleValues="" category="hide"/>
	<renderingProperty attr="noAdminboundaries" name="Hide boundaries" description="Suppress display of admin levels 5-9" type="boolean" possibleValues="" category="hide"/>
	<renderingProperty attr="currentTrackColor" name="Current GPX color" description="Color of the currently recording track" type="string" possibleValues="red,orange,lightblue,blue,purple,translucent_red,translucent_orange,translucent_lightblue,translucent_blue,translucent_purple" defaultValueDescription="default"/>
	<renderingProperty attr="currentTrackWidth" name="Current GPX width" description="Width of the currently recording track" type="string" possibleValues="thin,medium,bold" defaultValueDescription="default"/>
	<renderingProperty attr="contourColorScheme" name="Contour lines color scheme" description="Contour lines color scheme" type="string" possibleValues="white,yellow,green,light_brown,brown,dark_brown,red" defaultValueDescription="default"/>
	<renderingProperty attr="contourWidth" name="Contour lines width" description="Contour lines width" type="string" possibleValues="thin,medium,thick" defaultValueDescription="default"/>
	<renderingProperty attr="contourDensity" name="Contour lines density" description="Contour lines density" type="string" possibleValues="low,medium_w,high" defaultValueDescription="default"/>
	
	<renderingAttribute name="defaultColor">
		<!-- next line should should make background transparent for underlays to be visible, but this curretnly does not work as desired -->
		<!-- To change default color completely you should do that also for tag="place" value="island" and tag="natural" value="land" (search this file) -->
		<case noPolygons="true" attrColorValue="#00555555"/>
		<case attrColorValue="#ffffff"/>
	</renderingAttribute>
	<renderingAttribute name="rulerCircle">
		<case color="#222222" strokeWidth="1" shadowRadius="1" shadowColor="#44f1eae4" strokeWidth_2="" color_2="#000000" strokeWidth_3="2" color_3="#99f1eae4"/>
	</renderingAttribute>
	<renderingAttribute name="rulerCircleAlt">
		<case color="#aaffffff" strokeWidth="1" shadowRadius="1" shadowColor="#33222222" strokeWidth_2="" color_2="#000000" strokeWidth_3="2" color_3="#99f1eae4"/>
	</renderingAttribute>

	<renderingAttribute name="rulerLine">
		<case color="#000000" strokeWidth="4" pathEffect="4_4"/>
	</renderingAttribute>

	<renderingAttribute name="measureDistanceLine">
		<case color="#AA7A0079" strokeWidth="3" pathEffect="5_4"/>
	</renderingAttribute>

	<renderingAttribute name="shadowRendering">
	<!-- 0 - no shadow, 1 - one step, 2 - blur shadow, 3 - solid shadow -->
		<!-- next line ensures bridges stand out ok -->
		<case minzoom="14" nightMode="false" attrIntValue="3" shadowColor="#969696"/>
		<case minzoom="14" attrIntValue="3" shadowColor="#464646"/>
		<case minzoom="8" maxzoom="13" attrIntValue="3" shadowColor="#969696"/>
		<case attrIntValue="0"/>
	</renderingAttribute>

	<!-- couleur guidage-->	
	<renderingAttribute name="route">
			<case strokeWidth="4:4" color="#AA6666ff"  color_3="#99ff0000" strokeWidth_3="5:7" pathEffect="1_30" pathEffect_2="1_30" cap="ROUND"/>	
	</renderingAttribute>

	<renderingAttribute name="gpx">
		<switch>
			<case currentTrackColor="red" color="#ff0000"/>
			<case currentTrackColor="orange" color="#ff7200"/>
			<case currentTrackColor="lightblue" color="#2ec6ff"/>
			<case currentTrackColor="blue" color="#4e4eff"/>
			<case currentTrackColor="purple" color="#a71de1"/>
			<case currentTrackColor="translucent_red" color="#44ff0000"/>
			<case currentTrackColor="translucent_orange" color="#44ff7200"/>
			<case currentTrackColor="translucent_lightblue" color="#4400ffff"/>
			<case currentTrackColor="translucent_blue" color="#444e4eff"/>
			<case currentTrackColor="translucent_purple" color="#44a71de1"/>
			<case color="#ff0000">
				<apply_if roadStyle="germanRoadAtlas" color="#aa0088"/> <!-- does not works -->
			</case>
			<apply cap="ROUND">
				<case currentTrackWidth="thin">
					<apply_if minzoom="3" maxzoom="5" strokeWidth="1"/>
					<apply_if minzoom="6" strokeWidth="2"/>
					<apply_if additional="routePoints=true" pathEffect="5_4"/>
				</case>
				<case currentTrackWidth="medium">
					<apply_if minzoom="3" maxzoom="5" strokeWidth="1"/>
					<apply_if minzoom="6" maxzoom="11" strokeWidth="3"/>
					<apply_if minzoom="12" strokeWidth="5"/>
					<apply_if additional="routePoints=true" pathEffect="8_7"/>
				</case>
				<case currentTrackWidth="bold">
					<apply_if minzoom="3" maxzoom="5" strokeWidth="1"/>
					<apply_if minzoom="6" maxzoom="7" strokeWidth="3"/>
					<apply_if minzoom="8" maxzoom="9" strokeWidth="5"/>
					<apply_if minzoom="10" maxzoom="11" strokeWidth="7"/>
					<apply_if minzoom="12" strokeWidth="11"/>
					<apply_if additional="routePoints=true" pathEffect="8_15"/>
				</case>
				<case>
					<apply_if minzoom="3" maxzoom="5" strokeWidth="1"/>
					<apply_if minzoom="6" strokeWidth="2"/>
					<apply_if additional="routePoints=true" pathEffect="5_4"/>
				</case>
			</apply>
		</switch>
	</renderingAttribute>

	<renderingAttribute name="waterwayArrows">
		<case attrIntValue="0"/>
	</renderingAttribute>
	
	<renderingAttribute name="polygonMinSizeToDisplay">
		<!-- Minimum polygon size in pixels -->
		<case moreDetailed="true" attrIntValue="20"/>
		<case attrIntValue="75"/>
	</renderingAttribute>

	<renderingAttribute name="roadDensityZoomTile">
		<!-- 8 (=1 pixel tile) down to 0 (=large tile) -->
		<case minzoom="15" attrIntValue="4"/>
		<case attrIntValue="3"/>
	</renderingAttribute>

	<renderingAttribute name="roadsDensityLimitPerTile">
		<!-- Number of roads to display per tile -->
		<case moreDetailed="true" attrIntValue="55"/>
		<case baseAppMode="pedestrian" attrIntValue="40"/>
		<case baseAppMode="bicycle" attrIntValue="40"/>
		<case attrIntValue="40"/>
	</renderingAttribute>

	<renderingAttribute name="defaultSymbolPathSpacing">
		<case attrFloatValue="5"/>
	</renderingAttribute>

	<renderingAttribute name="defaultBlockPathSpacing">
		<case attrFloatValue="100"/>
	</renderingAttribute>

	<renderingAttribute name="globalPathPadding">
		<case attrFloatValue="0"/>
	</renderingAttribute>

	<renderingAttribute name="accessPrivateColor">
		<case attrColorValue="#ff0000"/>
	</renderingAttribute>
	<renderingAttribute name="accessCustomersColor">
		<case attrColorValue="#ff0000"/>
	</renderingAttribute>
	<renderingAttribute name="tollColor">
		<case attrColorValue="#be4892"/>
	</renderingAttribute>

	<renderingAttribute name="trackColor">
		<case attrColorValue="#996600"/>
	</renderingAttribute>
	<renderingAttribute name="trackColor_2">
		<case attrColorValue="#66af00"/>
	</renderingAttribute>
	
	<renderingConstant name="null" value="#00000000"/>

	<renderingAttribute name="contourLineColor">
		<case contourColorScheme="white" attrColorValue="#44ffffff"/>
		<case contourColorScheme="yellow" attrColorValue="#44FFF29E"/>
		<case contourColorScheme="green" attrColorValue="#44999999"/>
		<case contourColorScheme="light_brown" attrColorValue="#119C5615">
			<apply_if noPolygons="true" attrColorValue="#44FFEAD6"/>
		</case>
		<case contourColorScheme="brown" attrColorValue="#44bd6819">
			<apply_if noPolygons="true" attrColorValue="#44C39F7D"/>
		</case>
		<case contourColorScheme="dark_brown" attrColorValue="#66999999">
			<apply_if noPolygons="true" attrColorValue="#4437250B"/>
		</case>
		<case contourColorScheme="red" attrColorValue="#44ff0000"/>
		<case attrColorValue="#44bd6819">
			<apply_if noPolygons="true" attrColorValue="#44FFEAD6"/>
		</case>
	</renderingAttribute>
	<renderingAttribute name="contourLineColor50m">
		<case contourColorScheme="white" attrColorValue="#44ffffff"/>
		<case contourColorScheme="yellow" attrColorValue="#44FFF29E"/>
		<case contourColorScheme="green" attrColorValue="#4400ff00"/>
		<case contourColorScheme="light_brown" attrColorValue="#339C5615">
			<apply_if noPolygons="true" attrColorValue="#88FFEAD6"/>
		</case>
		<case contourColorScheme="brown" attrColorValue="#889C5615">
			<apply_if noPolygons="true" attrColorValue="#88C39F7D"/>
		</case>
		<case contourColorScheme="dark_brown" attrColorValue="#66999999">
			<apply_if noPolygons="true" attrColorValue="#8837250B"/>
		</case>
		<case contourColorScheme="red" attrColorValue="#44ff0000"/>
		<case attrColorValue="#889C5615">
			<apply_if noPolygons="true" attrColorValue="#88FFEAD6"/>
		</case>
	</renderingAttribute>
	<renderingAttribute name="contourLineColor100m">
		<case contourColorScheme="white" attrColorValue="#44ffffff"/>
		<case contourColorScheme="yellow" attrColorValue="#44FFF29E"/>
		<case contourColorScheme="green" attrColorValue="#4400ff00"/>
		<case contourColorScheme="light_brown" attrColorValue="#559C5615">
			<apply_if noPolygons="true" attrColorValue="#AAFFEAD6"/>
		</case>
		<case contourColorScheme="brown" attrColorValue="#aa9C5615">
			<apply_if noPolygons="true" attrColorValue="#AAC39F7D"/>
		</case>
		<case contourColorScheme="dark_brown" attrColorValue="#66999999">
			<apply_if noPolygons="true" attrColorValue="#aa37250B"/>
		</case>
		<case contourColorScheme="red" attrColorValue="#44ff0000"/>
		<case attrColorValue="#aa9C5615">
			<apply_if noPolygons="true" attrColorValue="#AAFFEAD6"/>
		</case>
	</renderingAttribute>
		
	<renderingConstant name="black" value="#000000"/>
	<renderingConstant name="white" value="#ffffff"/>
	
	<order>
		<!-- Point -->
		<switch>
			<switch area="false" point="true" objectType="1" order="128">
				<!-- point has order 128 -->
				<case tag="" value=""/>
				<!---->
				<case tag="place" value="city" order="250"/>
				<case tag="place" value="town" order="240"/>
				<case tag="place" value="village" order="230"/>
				<case tag="place" value="hamlet" order="220"/>
				<case tag="natural" value=""/>
				<case tag="natural" value="volcano">
					<apply_if maxzoom="12" additional="volcano:type=mud" order="-1"/>
				</case>
				<case tag="natural" value="peak">
					<apply_if additional="ele_limit=200" maxzoom="12" order="-1"/>
					<apply_if additional="ele_limit=500" maxzoom="11" order="-1"/>
				</case>
				<case tag="waterway" value="lock_gate"/>
				<case tag="abandoned:place" value=""/>
				<case tag="osmand" value="file_waypoint"/>
				<case tag="osmand" value="fav"/>
				<case tag="highway" value="via_ferrata"/>
				<case tag="barrier" value="">
					<apply_if lessDetailed="true" maxzoom="14" order="-1"/>
				</case>
				<case tag="tourism" value="attraction"/>
				<case maxzoom="18" tag="historic" value="memorial">
					<apply_if additional="memorial=stolperstein" order="-1"/>
					<apply_if additional="memorial=plaque" order="-1"/>
				</case>
				<case tag="ford" value="yes"/>
				<case tag="ford" value="stepping_stones"/>
				<case tag="waterway" value="waterfall"/>
				<case tag="waterway" value="rapids"/>
				<case tag="aerialway" value="station" ignorePolygonAsPointArea="true"/>
				<case tag="aerialway" value=""/>
				<case tag="aeroway" value=""/>
				<case tag="region:type" value="mountain_area"/>
				<case tag="geological" value="outcrop"/>
				<case tag="abandoned:aeroway" value=""/>
				<case tag="railway" value="station" ignorePolygonAsPointArea="true">
					<apply_if additional="station=subway" order="-1"/>
				</case>
				<case tag="railway" value="yard" ignorePolygonAsPointArea="true"/>
				<switch>
					<case tag="railway" value="halt" ignorePolygonAsPointArea="true"/>
					<case tag="railway" value="tram_stop" ignorePolygonAsPointArea="true"/>
					<case tag="public_transport" value="platform" ignorePolygonAsPointArea="true">
						<apply_if additional="disused=yes" order="60"/>
						<apply_if maxzoom="16" additional="disused=yes" order="-1"/>
					</case>
					<apply_if layer="-1" order="-1"/>
				</switch>
				
				<case tag="abandoned:railway" value="station"/>
			</switch>


		<!-- Polygon -->
			<switch area="true" point="false" addPoint="true" objectType="3" order="5">
				<case tag="place" value="island" order="1"/>
				<case tag="place" value="islet" order="1"/>
				<switch layer="-1" order="3">
					<case tag="natural" value="coastline"/>
					<case tag="natural" value="land"/>
					<case tag="place" value="island"/>
					<case tag="place" value="islet"/>
					<case tag="" value=""/>
				</switch>
				<case tag="barrier" value="" order="20"/>
				<case tag="barrier" value="city_wall" order="20"/>
				<case tag="barrier" value="castle_wall" order="20"/>
				<case tag="barrier" value="hedge" order="20"/>
				<case tag="man_made" value="reinforced_slope"/>
				<case tag="barrier" value="wall" order="20"/>
				<switch>
					<case tag="public_transport" value="platform"/>
					<case tag="railway" value="halt"/>
					<case tag="railway" value="tram_stop"/>
					<case tag="railway" value="station" ignorePolygonArea="true"/>
					<case tag="railway" value="yard" ignorePolygonArea="true"/>
					<apply_if layer="-1" order="-1"/>
				</switch>
			</switch>
			<switch cycle="true" point="false" addPoint="true" objectType="3" order="5">
				<switch>
					<case tag="area:highway" value="motorway"/>
					<case tag="area:highway" value="trunk"/>
					<case tag="area:highway" value="primary"/>
					<case tag="area:highway" value="secondary"/>
					<case tag="area:highway" value="tertiary"/>
					<case tag="area:highway" value="pedestrian"/>
					<case tag="area:highway" value="service"/>
					<case tag="area:highway" value="road"/>
					<case tag="area:highway" value="unclassified"/>
					<case tag="area:highway" value="service"/>
					<case tag="area:highway" value="residential"/>
					<case tag="area:highway" value="footway"/>
					<case tag="area:highway" value="track"/>
					<case tag="area:highway" value="cycleway"/>
					<case tag="man_made" value="bridge"/>
					<case tag="man_made" value="pier"/>
					<case tag="waterway" value="dam"/>
					<case tag="waterway" value="weir"/>
					<apply order="10"/>
				</switch>
				<case tag="natural" value="volcano">
					<apply_if maxzoom="12" additional="volcano:type=mud" order="-1"/>
				</case>
				<case tag="natural" value="water" order="9"/>
				<case tag="waterway" value="dock"/>
				<case tag="landuse" value="reservoir" order="9"/>
				<case tag="waterway" value="riverbank" order="9"/>
				<case tag="natural" value="wetland" order="7"/>
				<case tag="natural" value="scrub" order="7"/>
				<case tag="natural" value="heath" order="7"/>
				<case tag="natural" value="wood" order="7"/>
				<case tag="landuse" value="meadow" order="8"/>
				<case tag="landuse" value="forest" order="7"/>
				<case tag="landuse" value="residential" order="6"/>
				<case tag="wood:lost" value="" order="7"/>
				<case tag="natural" value="crater"/>
				<case tag="natural" value="crevasse">
					<apply_if lessDetailed="true" maxzoom="15" order="-1"/>
				</case>
				<case tag="glacial" value="crevasse_zone" order="10"/>
				<case tag="natural" value="stone"/>

				<case tag="natural" value="sinkhole"/>
				<case tag="natural" value="hot_spring"/>
				<case tag="natural" value="geyser"/>
				<case tag="region:type" value="mountain_area"/>
				<case tag="leisure" value="park"/>
				<case tag="leisure" value="resort" order="8"/>
				<case tag="sport" value="climbing" order="9"/>
				<case tag="landuse" value="greenfield" order="7"/>
				<case tag="landuse" value="brownfield" order="7"/>
				<case tag="boundary" value="protected_area" order="11"/>
				<case tag="leisure" value="nature_reserve" order="12"/>
				<case tag="boundary" value="national_park" order="10"/>
				<case tag="boundary" value="forestry_compartment" order="9"/>
				<case tag="building" value="no" order="-1"/>
				<case tag="man_made" value="storage_tank"/>
				<case tag="man_made" value="silo"/>
				<case tag="man_made" value="bunker_silo"/>
				<case tag="man_made" value="spoil_heap"/>
				<case tag="man_made" value="reservoir_covered"/>
				<case tag="military" value="bunker"/>
				<case tag="military" value="barracks"/>
				<case tag="man_made" value="chimney"/>
				<case tag="man_made" value="tower"/>
				<case tag="man_made" value="monitoring_station"/>
				<case tag="man_made" value="reinforced_slope"/>
				<case tag="building" value="" order="10"/>
				<case tag="abandoned:building" value="no" order="-1"/>
				<case tag="abandoned:building" value="" order="10"/>
				<case tag="disused:building" value="no" order="-1"/>
				<case tag="disused:building" value="" order="10"/>
				<case tag="building" value="proposed" order="-1"/>
				<case tag="public_transport" value="platform" order="9" ignorePolygonAsPointArea="true"/>
				<case tag="tourism" value="attraction" order="7"/>
				<case tag="amenity" value="place_of_worship" ignorePolygonAsPointArea="true"/>
				<case tag="landuse" value="cemetery" order="10"/>
				<case tag="landuse" value="construction" order="10"/>
				<case tag="landuse" value="quarry" order="10"/>
				<case tag="landuse" value="military" order="9"/>
				<case tag="military" value="danger_area" order="9"/>
				<case tag="historic" value="archaeological_site" order="9"/>
				<case tag="geological" value="palaeontological_site" order="9"/>
				<case tag="geological" value="outcrop"/>
				<case tag="abandoned:place" value="" order="9"/>
				<case tag="abandoned:landuse" value="" order="9"/>
				<case tag="abandoned:aeroway" value="runway"/>
				<case tag="aeroway" value="runway"/>
				<case tag="abandoned:aeroway" value="aerodrome" order="10"/>
				<case tag="aerialway" value="station" ignorePolygonArea="true"/>
				<case tag="aeroway" value="aerodrome" ignorePolygonArea="true">
					<apply_if additional="aerodrome:type=military" order="6"/>
				</case>
				<case tag="aeroway" value="apron"/>
				<case tag="aeroway" value="terminal"/>
				<case tag="aeroway" value="helipad"/>
				<case tag="railway" value="station" ignorePolygonArea="true"/>
				<case tag="railway" value="yard" ignorePolygonArea="true"/>
				<case tag="addr:housenumber" value="" ignorePolygonAsPointArea="true"/>
				<case tag="" value="" order="5"/>
			</switch>

		<!-- Line -->
			<switch area="false" objectType="2" order="80">
				<!-- default line -->
				<case layer="-1" tag="" value="" order="11"/>
				<case tag="" value="" order="12"/>
				<case tag="natural" value="coastline_broken" order="63"/>
				<case tag="natural" value="coastline_line" order="63"/>
				<case tag="osmand" value="file_trackline"/>
				<case tag="osmand" value="file_routeline"/>
				<case tag="admin_level" value="" order="62"/>
				<case tag="power" value="line" order="96"/>
				<case tag="power" value="minor_line" order="96"/>
				<switch>
					<case tag="highway" value="motorway" order="84">
						<apply_if layer="1" order="107"/>
						<apply_if additional="layer=2" order="137"/>
						<apply_if additional="layer=3" order="165"/>
						<apply_if layer="-1" order="62"/>
						<apply_if additional="layer=-2" order="41"/>
					</case>
					<case tag="highway" value="motorway_link" order="71">
						<apply_if layer="1" order="94"/>
						<apply_if additional="layer=2" order="124"/>
						<apply_if additional="layer=3" order="152"/>
						<apply_if layer="-1" order="49"/>
						<apply_if additional="layer=-2" order="25"/>
					</case>
					<case tag="highway" value="trunk" order="83">
						<apply_if layer="1" order="106"/>
						<apply_if additional="layer=2" order="136"/>
						<apply_if additional="layer=3" order="164"/>
						<apply_if layer="-1" order="61"/>
						<apply_if additional="layer=-2" order="40"/>
					</case>
					<case tag="highway" value="trunk_link" order="70">
						<apply_if layer="1" order="93"/>
						<apply_if additional="layer=2" order="123"/>
						<apply_if additional="layer=3" order="151"/>
						<apply_if layer="-1" order="48"/>
						<apply_if additional="layer=-2" order="24"/>
					</case>
					<case tag="highway" value="primary" order="82">
						<apply_if layer="1" order="105"/>
						<apply_if additional="layer=2" order="135"/>
						<apply_if additional="layer=3" order="163"/>
						<apply_if layer="-1" order="60"/>
						<apply_if additional="layer=-2" order="39"/>
					</case>
					<case tag="highway" value="primary_link" order="69">
						<apply_if layer="1" order="92"/>
						<apply_if additional="layer=2" order="122"/>
						<apply_if additional="layer=3" order="150"/>
						<apply_if layer="-1" order="47"/>
						<apply_if additional="layer=-2" order="23"/>
					</case>
					<case tag="highway" value="secondary" order="81">
						<apply_if layer="1" order="104"/>
						<apply_if additional="layer=2" order="134"/>
						<apply_if additional="layer=3" order="162"/>
						<apply_if layer="-1" order="59"/>
						<apply_if additional="layer=-2" order="38"/>
					</case>
					<case tag="highway" value="secondary_link" order="68">
						<apply_if layer="1" order="91"/>
						<apply_if additional="layer=2" order="121"/>
						<apply_if additional="layer=3" order="149"/>
						<apply_if layer="-1" order="46"/>
						<apply_if additional="layer=-2" order="22"/>
					</case>
					<case tag="highway" value="tertiary" order="80">
						<apply_if layer="1" order="103"/>
						<apply_if additional="layer=2" order="133"/>
						<apply_if additional="layer=3" order="161"/>
						<apply_if layer="-1" order="58"/>
						<apply_if additional="layer=-2" order="37"/>
					</case>
					<case tag="highway" value="tertiary_link" order="67">
						<apply_if layer="1" order="90"/>
						<apply_if additional="layer=2" order="120"/>
						<apply_if additional="layer=3" order="148"/>
						<apply_if layer="-1" order="45"/>
						<apply_if additional="layer=-2" order="21"/>
					</case>
					<case tag="highway" value="road" order="79">
						<apply_if layer="1" order="102"/>
						<apply_if additional="layer=2" order="132"/>
						<apply_if additional="layer=3" order="160"/>
						<apply_if layer="-1" order="57"/>
						<apply_if additional="layer=-2" order="36"/>
					</case>
					<case tag="highway" value="unclassified" order="79">
						<apply_if layer="1" order="102"/>
						<apply_if additional="layer=2" order="132"/>
						<apply_if additional="layer=3" order="160"/>
						<apply_if layer="-1" order="57"/>
						<apply_if additional="layer=-2" order="36"/>
					</case>
					<case tag="highway" value="residential" order="78">
						<apply_if layer="1" order="101"/>
						<apply_if additional="layer=2" order="131"/>
						<apply_if additional="layer=3" order="159"/>
						<apply_if layer="-1" order="56"/>
						<apply_if additional="layer=-2" order="35"/>
					</case>
					<case tag="highway" value="service" order="78">
						<apply_if layer="1" order="101"/>
						<apply_if additional="bridge=yes" order="120"/>
						<apply_if additional="layer=2" order="131"/>
						<apply_if additional="layer=3" order="159"/>
						<apply_if layer="-1" order="56"/>
						<apply_if additional="layer=-2" order="35"/>
					</case>
					<case tag="highway" value="living_street" order="77">
						<apply_if layer="1" order="100"/>
						<apply_if additional="layer=2" order="130"/>
						<apply_if additional="layer=3" order="158"/>
						<apply_if layer="-1" order="55"/>
						<apply_if additional="layer=-2" order="34"/>
					</case>
					<case tag="highway" value="pedestrian" order="76">
						<apply_if baseAppMode="pedestrian" order="82"/>
						<apply_if layer="1" order="99"/>
						<apply_if additional="layer=2" order="129"/>
						<apply_if additional="layer=3" order="157"/>
						<apply_if layer="-1" order="54"/>
						<apply_if additional="layer=-2" order="33"/>
					</case>
					<case tag="highway" value="escape" order="89">
						<apply_if baseAppMode="car" order="168"/>
					</case>
					<case tag="highway" value="track" order="64">
						<apply_if layer="1" order="89"/>
						<apply_if additional="bridge=yes" order="110"/>
						<apply_if additional="tunnel=yes" order="10"/>
						<apply_if additional="layer=2" order="119"/>
						<apply_if additional="layer=3" order="147"/>
						<apply_if layer="-1" order="20"/>
						<apply_if additional="layer=-2" order="19"/>
					</case>
					<case tag="highway" value="footway" order="62">
						<apply_if layer="1" order="110"/>
						<apply_if additional="bridge=yes" order="120"/>
						<apply_if additional="tunnel=yes" order="10"/>
						<apply_if additional="layer=2" order="140"/>
						<apply_if additional="layer=3" order="166"/>
						<apply_if layer="-1" order="20"/>
						<apply_if additional="layer=-2" order="19"/>
					</case>
					<case tag="highway" value="steps" order="65">
						<apply_if layer="1" order="111"/>
						<apply_if additional="layer=2" order="140"/>
						<apply_if additional="layer=3" order="166"/>
						<apply_if layer="-1" order="20"/>
						<apply_if additional="layer=-2" order="19"/>
					</case>
					<case tag="highway" value="path" order="63">
						<apply_if layer="1" order="110"/>
						<apply_if additional="bridge=yes" order="120"/>
						<apply_if additional="tunnel=yes" order="10"/>
						<apply_if additional="layer=2" order="140"/>
						<apply_if additional="layer=3" order="166"/>
						<apply_if layer="-1" order="20"/>
						<apply_if additional="layer=-2" order="19"/>
					</case>
					<case tag="abandoned:highway" value=""/>
					<case tag="highway" value="via_ferrata"/>
					<case tag="highway" value="cycleway" order="21">
						<apply_if layer="1" order="109"/>
						<apply_if additional="layer=2" order="139"/>
						<apply_if additional="layer=3" order="146"/>
						<apply_if layer="-1" order="20"/>
						<apply_if additional="layer=-2" order="19"/>
						<apply_if baseAppMode="default" lessDetailed="true" maxzoom="15" order="-1"/>
					</case>
					<case tag="highway" value="raceway"/>
					<apply_if maxzoom="13" additional="construction=yes" order="-1"/>
				</switch>
				<case tag="highway" value="bridleway" order="53"/>
				<case tag="railway" value="subway" layer="-1" order="-1"/>
				<case tag="railway" value="subway" additional="layer=-2" order="-1"/>
				<case tag="railway" value="abandoned" order="90"/>
				<case tag="railway" value="tram" order="97"/>
				<case tag="railway" value="disused" order="15"/>
				<case tag="railway" value="" order="10">
					<apply_if layer="1" order="108"/>
					<apply_if additional="layer=2" order="138"/>
					<apply_if additional="layer=3" order="167"/>
					<apply_if layer="-1" order="44"/>
					<apply_if additional="layer=-2" order="19"/>
					<apply_if additional="bridge=yes" order="190"/>
				</case>
				<case tag="man_made" value="pipeline">
					<apply_if layer="-1" order="-1"/>
					<apply_if additional="layer=-2" order="-1"/>
				</case>
				<case tag="man_made" value="cutline" order="8">
					<apply_if noPolygons="true" order="-1"/>
				</case>
				<case tag="man_made" value="reinforced_slope"/>
				<case tag="barrier" value="" order="20">
					<apply_if layer="-1" order="-1"/>
					<apply_if additional="layer=-2" order="-1"/>
				</case>
				<case tag="natural" value="volcano"/>
				<case tag="natural" value="cliff"/>
				<case tag="natural" value="slope"/>
				<case tag="natural" value="earth_bank"/>
				<case tag="natural" value="crater"/>
				<case tag="natural" value="crevasse">
					<apply_if lessDetailed="true" maxzoom="15" order="-1"/>
				</case>
				<case tag="natural" value="strait"/>
				<case tag="natural" value="fjord"/>
				<case tag="geological" value="outcrop"/>
				<case tag="ford" value="yes" order="85"/>
				<case tag="ford" value="stepping_stones" order="85"/>
				<case tag="waterway" value="waterfall" order="180"/>
				<case tag="waterway" value="dam" order="19"/>
				<case tag="waterway" value="weir" order="19"/>
				<case tag="waterway" value="river" order="19"/>
				<case tag="waterway" value="canal" order="19"/>
				<case tag="waterway" value="lock_gate" order="19"/>
				<case tag="waterway" value="">
					<apply_if layer="1" order="89"/>
					<apply_if additional="layer=2" order="120"/>
					<apply_if additional="layer=3" order="148"/>
					<apply_if additional="tunnel=yes" maxzoom="16" order="-1"/>
					<apply_if additional="tunnel=flooded" maxzoom="16" order="-1"/>
					<apply_if additional="tunnel=avalanche_protector" maxzoom="16" order="-1"/>
					<apply_if additional="tunnel=building_passage" maxzoom="16" order="-1"/>
					<apply_if additional="tunnel=culvert" maxzoom="16" order="-1"/>
				</case>
				<case tag="route_bicycle" value="" order="10"/>
				<case tag="route_mtb" value="" order="11"/>
				<case tag="network_iwn" value="" order="14"/>
				<case tag="network_nwn" value="" order="13"/>
				<case tag="network_rwn" value="" order="12"/>
				<case tag="network_lwn" value="" order="11"/>
				<case baseAppMode="bicycle" tag="cycleway" value="" order="11">
					<apply_if layer="1" order="109"/>
					<apply_if additional="layer=2" order="139"/>
					<apply_if additional="layer=3" order="167"/>
					<apply_if layer="-1" order="42"/>
					<apply_if additional="layer=-2" order="19"/>
				</case>
				<case tag="abandoned:aeroway" value="runway"/>
				<case tag="aerialway" value="" order="175"/>
				<case tag="aerialway" value="station" order="175"/>
				<case tag="aeroway" value="runway"/>
				<case tag="aeroway" value="" order="62"/>
				<case tag="railway" value="station"/>
				<case tag="public_transport" value="platform"/>
				<case tag="boundary" value="" order="20"/>
				<case tag="contour" value="elevation" order="11">
					<apply_if contourDensity="medium_w" additional="contourtype=10m" order="-1"/>
					<apply_if contourDensity="medium_w" additional="contourtype=50m" order="-1"/>
					<apply_if contourDensity="low" additional="contourtype=10m" order="-1"/>
					<apply_if contourDensity="low" additional="contourtype=20m" order="-1"/>
				</case>
				<case tag="lit" value="" order="12"/>
				<case tag="bridge" value="yes" order="86"/>
				<case tag="tunnel" value="yes" order="10"/>
				<switch hikingRoutesOSMC="walkingRoutesScopeOSMC" order="9">
					<case tag="route_hiking" value=""/>
					<case tag="route_foot" value=""/>
					<case tag="route_walking" value=""/>
				</switch>
			</switch>
			<switch>
				<case tag="lcn_ref" value="" order="17"/>
				<case tag="rcn_ref" value="" order="18"/>
				<case tag="ncn_ref" value="" order="19"/>
				<case tag="icn_ref" value="" order="20"/>
				<case tag="lwn_ref" value="" order="21"/>
				<case tag="rwn_ref" value="" order="22"/>
				<case tag="nwn_ref" value="" order="23"/>
				<case tag="iwn_ref" value="" order="24"/>
				<case tag="hiking_route_ref" value="" order="21"/>
				<apply_if point="true" objectType="1" order="20"/>
			</switch>
			<apply_if hideUnderground="true">
				<apply_if layer="-1" order="-1"/>
				<apply_if additional="indoor=yes" order="-1"/>
				<apply_if additional="covered=yes" order="-1"/>
			</apply_if>
		</switch>

	</order>

	<text>
			<case minzoom="11" tag="osmand" value="file_waypoint">
				<case additional="file_has_waypoints=true" textWrapWidth="25" textHaloRadius="1" textColor="#000000" textHaloColor="#ffc8c8" textOrder="1">
					<case maxzoom="12" textSize="11"/>
					<case minzoom="14" textSize="12"/>
				</case>
			</case>

			<switch textColor="#000000" textWrapWidth="20">
				<case tag="osmand_legend" value="header" textOrder="1" nameTag="" textBold="true" textDy="-11" textHaloRadius="1" textHaloColor="#55ffffff">
					<case minzoom="16" maxzoom="16" textSize="18"/>
					<case minzoom="17" maxzoom="17" textSize="19" textWrapWidth="30"/>
					<case minzoom="18" textSize="20" textWrapWidth="30"/>
				</case>
				<case tag="osmand_legend" value="element" textOrder="5" textHaloRadius="2:2" textHaloColor="#55ffffff" nameTag="">
					<case minzoom="17" maxzoom="17" textSize="11"/>
					<case minzoom="18" textSize="12" textWrapWidth="30"/>
				</case>
			</switch>

			<!-- track name -->
			<case tag="highway" value="track" > 
				<case minzoom="16" textSize="10" nameTag="" textColor="#669933" textHaloRadius="1" textHaloColor="#ffffff" textOnPath="true" textBold="true" textDy="8" textOrder="49"/>
				<apply intersectionMargin="10" textMinDistance="10"/>
			</case>
			<case tag="highway" value="path" > 
				<case minzoom="18" textSize="10" nameTag="" textColor="#669933" textHaloRadius="1" textHaloColor="#ffffff" textOnPath="true" textBold="true" textDy="8" textOrder="50"/>
				<apply intersectionMargin="0" textMinDistance="0"/>
			</case>

			<!--motorway jonction-->
			<case minzoom="17" tag="highway" value="motorway_junction" textColor="#00008b" textHaloRadius="1" textWrapWidth="16" textMinDistance="10" textOrder="46">
				<case baseAppMode="car">
					<case minzoom="13" textSize="13" nameTag="" nameTag2="ref"/>
				</case>
				<case minzoom="16" textSize="12" nameTag="" nameTag2="ref"/>
			</case>

			<!-- balisage chemin -->
			<!-- hiking ref -->
			<switch minzoom="15">
				<case tag="network_iwn" value=""  nameTag="hiking_route_ref"/>
				<case tag="network_nwn" value=""  nameTag="hiking_route_ref"/>
				<case tag="network_rwn" value=""  nameTag="hiking_route_ref"/>
				<apply textColor="#ff0000" textHaloColor="#ffffff" textHaloRadius="3" textBold="true" textOnPath="false" textOrder="75">
					<case  maxzoom="15" textSize="9" />
					<case maxzoom="16" textSize="10" />
					<case minzoom="17" textSize="11" />
				</apply>
			</switch>
			<switch minzoom="16" >
				<case maxzoom="17" tag="network_lwn" value=""  nameTag="hiking_osmc_text"/>
				<apply>
					<case textColor="#ffff00" textHaloColor="#996600" textHaloRadius="5" textBold="true" textOnPath="false" textSize="10" textOrder="77" />
				</apply>
			</switch>

			<!-- hiking name -->
			<switch minzoom="18" textWrapWidth="25" >
				<case tag="network_iwn" value=""  nameTag="hiking_route_name"/>
				<case tag="network_nwn" value=""  nameTag="hiking_route_name"/>
				<case tag="network_rwn" value=""  nameTag="hiking_route_name"/>
				<case tag="network_lwn" value=""  nameTag="hiking_route_name"/>
				<case tag="route_bicycle" value="" nameTag="" />
				<apply  >
					<case textColor="#663300" textHaloColor="#ffffff" textHaloRadius="3" textOnPath="true" textSize="10" textOrder="80" textDy="-12"  />
				</apply>
			</switch>
						
			<!-- symboles hiking -->
			<switch minzoom="11" textOnPath="false" textSize="7" textColor="#00ff0000" textOrder="70" >
				<case tag="network_nwn" value=""  nameTag="hiking_route_name"/>
				<case tag="network_iwn" value=""  nameTag="hiking_route_name"/>
				<apply>
					<case icon="osmc_red_lower" textShield="osmc_white_bg" />
				</apply>
			</switch>
			<switch minzoom="12" textOnPath="false" textSize="6" textColor="#00ff0000" textOrder="71" >
				<case tag="network_rwn" value=""  nameTag="hiking_route_name"/>
				<apply>
					<case icon="osmc_red_lower" textShield="osmc_yellow_bg" />
				</apply>
			</switch>
			<switch minzoom="14" textOnPath="false" textSize="5" textColor="#00ffffff" textOrder="72" >
				<case minzoom="15" tag="network_lwn" value=""  nameTag="hiking_route_name"/>
				<apply>
					<case icon="osmc_yellow_bar" textShield="osmc_white_bg"/>
				</apply>
			</switch>
			

			<!-- routes ref cricri-->
			<switch nameTag="ref" textMinDistance="70" textWrapWidth="40" textSize="9" textBold="true" textHaloRadius="3" cap="ROUND">
				<case minzoom="7" textSize="11" tag="highway" value="motorway" textOrder="49" textColor="#ffff00" textHaloColor="#99ff0000" textHaloRadius="4"/>
				<case minzoom="8" textSize="11" tag="highway" value="trunk" textOrder="72" textColor="#ffffff" textHaloColor="#99ff0000" textHaloRadius="4"/>
				<case minzoom="10" textSize="11" tag="highway" value="primary" textOrder="75" textColor="#ff9999" textHaloColor="#99000000" textHaloRadius="4"/>
				<case minzoom="11" textSize="10" tag="highway" value="secondary" textOrder="89" textColor="#ffcc99" textHaloColor="#99000000" textHaloRadius="4"/>
				<case minzoom="13" tag="highway" value="tertiary" textOrder="93" textColor="#ffff60" textHaloColor="#99000000"/>
				<case minzoom="14" tag="highway" value="unclassified" textOrder="119" textColor="#ffffff" textHaloColor="#99000000"/>
				<apply_if minzoom="17" textMinDistance="160" />
			</switch>

			<switch minzoom="17">
				<case tag="highway" value="traffic_signals" textOrder="141"/>
				<case tag="natural" value="sinkhole"/>
				<case tag="waterway" value="rapids" textOnPath="true"/>
				<case tag="ford" value="yes" textDy="7" nameTag="" nameTag2="depth"/>
				<case tag="ford" value="yes" textDy="7" nameTag="depth"/>
				<case tag="ford" value="stepping_stones" textDy="7"/>
				<apply textSize="12" textDy="7" textColor="#222222" textHaloRadius="2:2" textHaloColor="#ffffff" textWrapWidth="16" textMinDistance="10"/>
			</switch>

			<!-- MTB -->
			<switch textOnPath="true" tag="route_mtb" value="" nameTag="mtb:name">
					<case minzoom="16" textSize="9" textBold="false" textColor="#9966cc" textHaloColor="#ffffff" textHaloRadius="3"  textDy="12"/>
					<apply textOrder="193" textMinDistance="400" intersectionMargin="50" intersectsWith="name" intersectionSizeFactor="0.9"/><!-- ? intersect ? -->
			</switch>

			<!-- places (états) -->
			<switch minzoom="3">
				<case tag="natural" value="coastline"/>
				<case tag="natural" value="land"/>
				<apply_if textSize="14" textColor="#883287" textWrapWidth="35" textHaloColor="#aaffffff"/>
				<apply_if nightMode="true" textColor="#ffb9fe" textHaloColor="#77333333"/>
			</switch>

			<case minzoom="1" maxzoom="2" tag="place" value="continent" textSize="13" textColor="#3D3D3D" textHaloColor="#ffffff" textHaloRadius="3" textBold="true" textWrapWidth="15" textOrder="1"/>
			<case minzoom="3" tag="place" value="country" nameTag="" textColor="#3D3D3D" textHaloColor="#ffffff" textHaloRadius="3" textWrapWidth="15" textOrder="5">
				<case maxzoom="3" textSize="12"/>
				<case maxzoom="4" textSize="14" textBold="true"/>
				<case maxzoom="5" textSize="16" textBold="true"/>
				<case minzoom="6" textSize="14" textBold="true" textOrder="32"/>
				<apply_if maxzoom="6">
					<case additional="population_rounded=1500000000" textOrder="6"/>
					<case additional="population_rounded=400000000" textOrder="7"/>
					<case additional="population_rounded=200000000" textOrder="8"/>
					<case additional="population_rounded=100000000" textOrder="9"/>
					<case additional="population_rounded=50000000" textOrder="10"/>
					<case additional="population_rounded=25000000" textOrder="11"/>
					<case additional="population_rounded=20000000" textOrder="12"/>
					<case additional="population_rounded=15000000" textOrder="13"/>
					<case additional="population_rounded=12000000" textOrder="14"/>
					<case additional="population_rounded=9000000" textOrder="15"/>
					<case additional="population_rounded=7000000" textOrder="16"/>
					<case additional="population_rounded=5000000" textOrder="17"/>
					<case additional="population_rounded=3000000" textOrder="18"/>
					<case additional="population_rounded=2000000" textOrder="19"/>
					<case additional="population_rounded=1000000" textOrder="20"/>
					<case additional="population_rounded=700000" textOrder="21"/>
					<case additional="population_rounded=400000" textOrder="22"/>
					<case additional="population_rounded=200000" textOrder="32"/>
					<case additional="population_rounded=100000" textOrder="33"/>
					<case additional="population_rounded=70000" textOrder="34"/>
					<case additional="population_rounded=40000" textOrder="35"/>
					<case additional="population_rounded=20000" textOrder="36"/>
					<case additional="population_rounded=10000" textOrder="37"/>
					<case additional="population_rounded=5000" textOrder="38"/>
					<case additional="population_rounded=2500" textOrder="39"/>
					<case additional="population_rounded=1000" textOrder="40"/>
					<case additional="population_rounded=500" textOrder="41"/>
					<case additional="population_rounded=200" textOrder="42"/>
					<case additional="population_rounded=100" textOrder="43"/>
				</apply_if>
			</case>

			<switch minzoom="5" textSize="13" textColor="#505050" textWrapWidth="20" textHaloRadius="2:2" textHaloColor="#ffffff">
				<switch >
					<case maxzoom="10" tag="place" value="state">
						<case maxzoom="5" nameTag="" textOrder="24"/>
						<case maxzoom="5" nameTag="ref" textOrder="24"/>
						<case minzoom="6" nameTag="" textOrder="33"/>
					</case>
					<case tag="place" value="region">
						<case maxzoom="5" nameTag="ref" textOrder="25"/>
						<case minzoom="6" nameTag="" textOrder="33"/>
					</case>
					<case tag="place" value="province">
						<case maxzoom="5" nameTag="ref" textOrder="25"/>
						<case minzoom="6" nameTag="" textOrder="33"/>
					</case>
				</switch>
				<switch maxzoom="10" tag="place" value="state">
					<case maxzoom="5" nameTag="" textOrder="24"/>
					<case maxzoom="5" nameTag="ref" textOrder="24"/>
					<case minzoom="6" nameTag="" textOrder="33"/>
				</switch>
				<switch tag="place" value="region">
					<case maxzoom="5" nameTag="ref" textOrder="25"/>
					<case minzoom="6" nameTag="" textOrder="33"/>
				</switch>
				<switch tag="place" value="province">
					<case maxzoom="5" nameTag="ref" textOrder="25"/>
					<case minzoom="6" nameTag="" textOrder="33"/>
				</switch>
				<apply textItalic="true"/>
				<case minzoom="9" maxzoom="12" tag="place" value="county" nameTag="" textSize="13" textItalic="true" textOrder="63"/>
			</switch>

			<!-- villes -->
			<switch  textColor="#000000" textWrapWidth="20" textBold="true" >
				<case minzoom="5" tag="place" value="city" nameTag="" intersectionMargin="1" textOrder="30">
					<case minzoom="6" maxzoom="7" textSize="17"/>
					<case minzoom="8" textSize="20"/>
					<apply>
						<switch minzoom="5">
							<case  additional="capital=6" textOrder="1"/>
						</switch>
						<switch>
							<case additional="population_rounded=1500000000" textOrder="6"/>
							<case additional="population_rounded=400000000" textOrder="7"/>
							<case additional="population_rounded=200000000" textOrder="8"/>
							<case additional="population_rounded=100000000" textOrder="9"/>
							<case additional="population_rounded=50000000" textOrder="10"/>
							<case additional="population_rounded=25000000" textOrder="11"/>
							<case additional="population_rounded=20000000" textOrder="12"/>
							<case additional="population_rounded=15000000" textOrder="13"/>
							<case additional="population_rounded=12000000" textOrder="14"/>
							<case additional="population_rounded=9000000" textOrder="15"/>
							<case additional="population_rounded=7000000" textOrder="16"/>
							<case additional="population_rounded=5000000" textOrder="17"/>
							<case additional="population_rounded=3000000" textOrder="18"/>
							<apply_if maxzoom="5" textSize="13"/>
						</switch>
						<case additional="population_rounded=2000000" textOrder="19"/>
						<case additional="population_rounded=1000000" textOrder="20"/>
						<case additional="population_rounded=700000" textOrder="21"/>
						<case additional="population_rounded=400000" textOrder="22"/>
						<case additional="population_rounded=200000" textOrder="23"/>
						<case additional="population_rounded=100000" textOrder="24"/>
						<case additional="population_rounded=70000" textOrder="25"/>
						<case additional="population_rounded=40000" textOrder="26"/>
						<case additional="population_rounded=20000" textOrder="27"/>
						<case additional="population_rounded=10000" textOrder="28"/>
						<case additional="population_rounded=5000" textOrder="29"/>
					</apply>
				</case>
				<apply textHaloRadius="1:1" textHaloColor="#ffffff"/>
			</switch>

			<!-- town -->
			<switch  textColor="#000000" textWrapWidth="20" textBold="true" >
				<case minzoom="8" tag="place" value="town" nameTag="" textSize="15" textOrder="35" intersectionMargin="1" >
					<apply_if minzoom="11" textSize="16" />
					<apply_if minzoom="15" textSize="17" />
					<apply_if minzoom="17" textSize="18" />
				</case>
					<apply>
						<case additional="population_rounded=12000000" textOrder="30"/>
						<case additional="population_rounded=9000000" textOrder="30"/>
						<case additional="population_rounded=7000000" textOrder="30"/>
						<case additional="population_rounded=5000000" textOrder="30"/>
						<case additional="population_rounded=3000000" textOrder="31"/>
						<case additional="population_rounded=2000000" textOrder="31"/>
						<case additional="population_rounded=1000000" textOrder="32"/>
						<case additional="population_rounded=700000" textOrder="32"/>
						<case additional="population_rounded=400000" textOrder="32"/>
						<case additional="population_rounded=200000" textOrder="32"/>
						<case additional="population_rounded=100000" textOrder="33"/>
						<case additional="population_rounded=70000" textOrder="33"/>
						<case additional="population_rounded=40000" textOrder="33"/>
						<case additional="population_rounded=20000" textOrder="33"/>
						<case additional="population_rounded=10000" textOrder="34"/>
						<case additional="population_rounded=5000" textOrder="34"/>
						<case additional="population_rounded=2500" textOrder="34"/>
						<case additional="population_rounded=1000" textOrder="34"/>
				</apply>
				<apply textHaloRadius="1:1" textHaloColor="#ffffff"/>
			</switch>

			<!-- villages -->
			<switch  >
				<case minzoom="8" tag="place" value="village" textMinDistance="20" intersectionMargin="20" textWrapWidth="20" textSize="12" textBold="true" textOrder="43">
					<apply_if minzoom="12" textSize="13" />
					<apply_if minzoom="16" textSize="15" />
					<apply_if minzoom="17" textSize="17" />
				</case>
				<apply>
					<case additional="population_rounded=10000" textColor="#000000" textOrder="36" />
					<case additional="population_rounded=5000" textColor="#000000" textOrder="37" />
					<case additional="population_rounded=2500" textColor="#000000" textOrder="38" />
					<case minzoom="9" additional="population_rounded=1000" textColor="#000000" textOrder="39" />
					<case minzoom="9" additional="population_rounded=500" textColor="#000000" textOrder="40" />
					<case minzoom="10" additional="population_rounded=200" textColor="#000000" textOrder="41" />
					<case minzoom="10" additional="population_rounded=100" textColor="#000000" textOrder="42" />
					<apply textHaloRadius="1:1" textHaloColor="#ffffff"/><!--
					<apply textDy="-5"/>-->
				</apply>
			</switch>

			<!--hameau, maison etc -->
			<switch textWrapWidth="20" textHaloRadius="1:1" textHaloColor="#ffffff" intersectionMargin="20">
				<switch textColor="#000000">
					<case minzoom="13" tag="place" value="hamlet" nameTag="" textBold="true" textHaloRadius="2" textOrder="45"/>
					<case minzoom="14" tag="place" value="suburb" nameTag="" textItalic="true" textColor="#333333" textHaloRadius="2" textOrder="70"/>
					<case minzoom="14" tag="place" value="plot" nameTag="" textOrder="108"/>
					<case minzoom="14" tag="place" value="municipality" nameTag="" textOrder="107"/>
					<apply textSize="11"/>
					<apply_if maxzoom="15" textSize="11"/>
					<apply_if minzoom="16" textSize="12"/>
				</switch>
				<switch intersectionMargin="20">
					<case minzoom="13" tag="place" value="isolated_dwelling" nameTag="" textColor="#000000" textItalic="false" textBold="false" textOrder="111" />
					<case minzoom="13" tag="place" value="farm" nameTag="" textOrder="111"/>
					<apply maxzoom="14" textSize="10"/>
					<apply minzoom="15" maxzoom="16" textSize="12"/>
					<apply_if minzoom="17" textSize="13"/>
				</switch>
				<switch>
					<case minzoom="15" tag="place" value="locality" nameTag="" textItalic="true" textOrder="112"/>
					<case minzoom="19" tag="place" value="neighbourhood" nameTag="" textItalic="true" textOrder="112"/>
					<case minzoom="17" tag="place" value="quarter" textItalic="true" textOrder="112"/>
					<apply textSize="11" textColor="#99cc99" textHaloRadius="0"/>
					<apply_if minzoom="16" textSize="12"/>
					<apply_if minzoom="17" textSize="13"/>
				</switch>
				<case minzoom="19" tag="place" value="allotments" nameTag="" textOrder="110" textColor="#525252">
					<apply textSize="12"/>
					<apply_if minzoom="16" textSize="14"/>
					<apply_if minzoom="17" textSize="15"/>
				</case>
			</switch>
			<switch minzoom="14">
				<case tag="place" value="island">
					<apply_if maxzoom="12" textOrder="6"/>
					<apply_if minzoom="13" textOrder="37"/>
				</case>
				<case minzoom="17" tag="place" value="islet"/>
				<apply textWrapWidth="20" textHaloRadius="1:1" textHaloColor="#ffffff" intersectionMargin="15" textItalic="true" nameTag="" textSize="10"/>
			</switch>

			<!-- sommet -->
			<switch textColor="#cc3333" textWrapWidth="25" textHaloColor="#ffffff" textHaloRadius="2:2" textItalic="true" textBold="false">
				<switch>
					<case minzoom="12" tag="natural" value="peak" textOrder="59">
						<case maxzoom="12" nameTag="ele" textSize="10" intersectionMargin="15"/>
						<case minzoom="13" maxzoom="13" nameTag="" nameTag2="ele" textSize="11"/>
						<case minzoom="13" maxzoom="13" nameTag="ele" textSize="11"/>
						<case minzoom="14" maxzoom="14" nameTag="" nameTag2="ele" textSize="11"/>
						<case minzoom="14" maxzoom="14" nameTag="ele" textSize="11"/>
						<case minzoom="15" maxzoom="16" nameTag="" nameTag2="ele" textSize="12"/>
						<case minzoom="15" maxzoom="16" nameTag="ele" textSize="12"/>
						<case minzoom="17" nameTag="" nameTag2="ele" textSize="13"/>
						<case minzoom="17" nameTag="ele" textSize="13"/>
					</case>
					<case minzoom="11" tag="natural" value="volcano" nameTag2="ele" textOrder="59" textHaloColor="#ffffff">
						<case maxzoom="12" textSize="12"/>
						<case minzoom="13" textSize="13"/>
					</case>
					<case minzoom="15" tag="natural" value="hill" nameTag="" nameTag2="ele" textOrder="59" textSize="11"/>
					<case minzoom="16" textSize="12" tag="natural" value="cave_entrance" textOrder="236"/>
					<case minzoom="6" textSize="12" tag="natural" value="ridge" textItalic="false" textOnPath="true" textOrder="43"/>
					<switch minzoom="13">
						<case tag="natural" value="valley"/>
						<case tag="waterway" value="drystream"/>
						<apply textSize="12" textOnPath="true" textOrder="43"/>
						<apply_if minzoom="15" textSize="15"/>
					</switch>
					<case minzoom="15" textSize="11" tag="natural" value="cliff" textOnPath="true" textHaloRadius="3" textOrder="43"/>
					<case minzoom="13" textSize="11" tag="natural" value="gorge" textOnPath="true" textOrder="44" textDy="0"/>
					<case minzoom="13" textSize="11" tag="natural" value="couloir" textOnPath="true" textOrder="44" textDy="0"/>
					<switch tag="region:type" value="mountain_area" nameTag="" textHaloRadius="5" textOrder="33" textDy="0">
						<case minzoom="12" textSize="20" />
						<case minzoom="11" textSize="18" />
						<case minzoom="10" textSize="15" />
						<case minzoom="8" textSize="13" />
						<case minzoom="7" textSize="10" />
						<case minzoom="6" textSize="8" />
					</switch>
					<case minzoom="13" textSize="14" tag="natural" value="crater" textColor="#4e0d0d"/>
					<case minzoom="14" textSize="14" tag="natural" value="crevasse" textColor="#4e0d0d"/>
					<case minzoom="13" textSize="13" tag="glacial" value="crevasse_zone" textColor="#4e0d0d"/>
					<case minzoom="14" textSize="11" tag="natural" value="saddle" nameTag="" textOrder="13"/>
					<case minzoom="14" textSize="11" tag="mountain_pass" value="yes" nameTag="" textBold="false" textOrder="23" textDy="0"/>
					<apply_if additional="ele_limit=200" textOrder="83"/>
					<apply_if additional="ele_limit=500" textOrder="82"/>
					<apply_if additional="ele_limit=1000" textOrder="81"/>
					<apply_if additional="ele_limit=1500" textOrder="80"/>
					<apply_if additional="ele_limit=2000" textOrder="79"/>
					<apply_if additional="ele_limit=2500" textOrder="78"/>
					<apply_if additional="ele_limit=3000" textOrder="77"/>
					<apply_if additional="ele_limit=3500" textOrder="76"/>
					<apply_if additional="ele_limit=4000" textOrder="75"/>
					<apply_if additional="ele_limit=4500" textOrder="74"/>
					<apply_if additional="ele_limit=5000" textOrder="73"/>
					<apply_if additional="ele_limit=5500" textOrder="72"/>
					<apply_if additional="ele_limit=6000" textOrder="71"/>
					<apply_if additional="ele_limit=6500" textOrder="70"/>
					<apply_if additional="ele_limit=7000" textOrder="69"/>
					<apply_if additional="ele_limit=7500" textOrder="68"/>
					<apply_if additional="ele_limit=9000" textOrder="67"/>
				</switch>
			</switch>
	
			<!-- natural -->
			<switch>
				<case minzoom="13" tag="natural" value="glacier" textOrder="81" textColor="#085186"/>
				<case minzoom="14" tag="natural" value="scree" textOrder="82"/>
				<case minzoom="16" tag="natural" value="shoal" textOrder="82"/>
				<case minzoom="14" tag="natural" value="landslide"/>
				<case minzoom="13" tag="geological" value="volcanic_lava_field" textSize="11" textDy="4"/>
				<case minzoom="14" tag="geological" value="moraine" textOrder="83"/>
				<apply textSize="12" textWrapWidth="20" textHaloRadius="1" textItalic="true"/>
			</switch>
			<case minzoom="16" tag="geological" value="outcrop" textSize="11" textDy="4" textOnPath="true" textWrapWidth="20" textHaloRadius="2" nameTag="ref"/>
			<case minzoom="16" tag="geological" value="outcrop" textSize="11" textDy="4" textOnPath="true" textWrapWidth="20" textHaloRadius="2" nameTag="" nameTag2="ref"/>
			<case minzoom="9" tag="natural" value="cape" textSize="12" textColor="#333333" textHaloColor="#ffD2F4FF" textWrapWidth="25" textHaloRadius="1" textItalic="true" textOrder="237">
				<apply textDy="9"/>
			</case>

			<!-- Aeroway --><!--
			<switch>
				<switch minzoom="15" tag="aeroway" value="runway">
					<case nameTag="ref"/>
					<case nameTag="" nameTag2="ref"/>
					<apply textColor="#333333" textOnPath="true" textMinDistance="50" textOrder="116"/>
				</switch>
				<case minzoom="16" tag="abandoned:aeroway" value="runway" nameTag2="ref" textColor="#333333" textOnPath="true" textMinDistance="50" textOrder="229"/>
				<case minzoom="15" tag="aeroway" value="taxiway" nameTag="ref" textColor="#333333" textOnPath="true" textMinDistance="50" textOrder="231"/>
				<apply textSize="12" textHaloRadius="2:2" textHaloColor="#ffffff"/>
			</switch>-->
			<switch minzoom="18">
				<case tag="aeroway" value="aerodrome" nameTag="" textOrder="105"/>
				<case minzoom="16" tag="abandoned:aeroway" value="aerodrome" nameTag="" textOrder="228"/>
				<apply>
					<switch>
						<case additional="iata"/> 
						<case additional="icao"/>
						<case additional="faa"/>
						<case additional="large_aerodrome"/>
						<case minzoom="15"/>
						<apply textColor="#053274" textSize="12" textWrapWidth="25" textHaloRadius="2:2" textHaloColor="#ffffff" textOrder="45"/>
						<apply textDy="9"/>
					</switch>
				</apply>
			</switch>
			<switch>
				<case minzoom="16" tag="aeroway" value="terminal" textOrder="66"/>
				<case minzoom="17" tag="aeroway" value="apron" textOrder="232"/>
				<case minzoom="17" tag="aeroway" value="helipad" textOrder="149"/>
				<apply textSize="12" textColor="#333333" textWrapWidth="25" textHaloRadius="2:2" textHaloColor="#ffffff"/>
				<apply textDy="9"/>
			</switch>

			<!-- aerial -->
			<switch minzoom="18" textColor="#000000" textHaloRadius="2:2" textHaloColor="#ffffff" textOrder="106">
				<case tag="aerialway" value="cable_car"/>
				<case tag="aerialway" value="gondola"/>
				<case tag="aerialway" value="goods"/>
				<case tag="aerialway" value="chair_lift"/>
				<case tag="aerialway" value="mixed_lift"/>
				<case tag="aerialway" value="drag_lift"/>
				<case tag="aerialway" value="t-bar"/>
				<case tag="aerialway" value="j-bar"/>
				<case tag="aerialway" value="platter"/>
				<case tag="aerialway" value="magic_carpet"/>
				<case tag="aerialway" value="rope_tow"/>
				<case tag="aerialway" value="zip_line"/>
				<apply nameTag="" textOnPath="true">
					<case minzoom="18" textSize="18"/>
				</apply>
			</switch>

			<!-- water -->
			<switch textColor="#2665ff" textHaloRadius="2" textHaloColor="#ffffff" textItalic="true">
				<case minzoom="2" tag="place" value="ocean" textWrapWidth="17" textOrder="3" textSize="14" textBold="true">
					<apply_if minzoom="3" textWrapWidth="20"/>
				</case>
				<case minzoom="5" tag="place" value="sea" textWrapWidth="20" textOrder="33" textSize="14" textBold="true"/>
				<switch textSize="12">
					<case minzoom="8" tag="natural" value="bay" textWrapWidth="17" textOrder="179" nameTag=""/>
					<case minzoom="8" tag="natural" value="strait" textOnPath="true" textWrapWidth="25" textOrder="180"/>
					<case minzoom="11" tag="natural" value="fjord" textOnPath="true" textWrapWidth="25" textOrder="181"/>
					<case minzoom="13" tag="landuse" value="reservoir" nameTag="" textMinDistance="10" textWrapWidth="20" textOrder="178" intersectionMargin="1"/>
					<case minzoom="13" tag="natural" value="water" nameTag="" textMinDistance="10" textWrapWidth="20" textOrder="178" intersectionMargin="1">
						<case additional="water=lock"/>
						<case additional="seamark:type=lock_basin"/>
						<apply textColor="#00ffffff" textHaloRadius="0"/>
					</case>
					<case minzoom="13" tag="landuse" value="water" nameTag="" textWrapWidth="20" textOrder="218"/>
					<case minzoom="14" maxzoom="14" tag="waterway" value="river" textOnPath="false" textMinDistance="800" textWrapWidth="20" textOrder="84" textHaloRadius="2"  intersectionMargin="20"/>
					<case minzoom="15" tag="waterway" value="river" textOnPath="false" textMinDistance="60" textWrapWidth="20" textOrder="84" textHaloRadius="2" intersectionMargin="40"/>
					<case minzoom="16" tag="waterway" value="canal" textOnPath="false" textMinDistance="80" textWrapWidth="20" textOrder="185"/>
					<case minzoom="16" tag="waterway" value="waterfall" additional="osmand_remarkable_waterfall=yes" nameTag2="height" textWrapWidth="20" textOnPath="true" textOrder="217"/>
					<case minzoom="18" tag="waterway" value="stream" textOnPath="true" textOrder="206"/>
					<case minzoom="18" tag="waterway" value="wadi" textOnPath="true" textOrder="213"/>
					<case minzoom="18" tag="waterway" value="ditch" textOnPath="true" textOrder="210"/>
					<case minzoom="18" tag="waterway" value="drain" textOnPath="true" textOrder="211"/>
					<case minzoom="18" tag="landuse" value="basin" textWrapWidth="20" textOrder="218"/>
					<case minzoom="18" tag="landuse" value="salt_pond" textWrapWidth="20" textOrder="218"/>
					<case minzoom="19" tag="man_made" value="water_tap"/>
					<case minzoom="18" tag="waterway" value="waterfall" nameTag="" textWrapWidth="20" textOnPath="true" textOrder="217"/>
					<case minzoom="19" tag="amenity" value="drinking_water" textWrapWidth="20" textOrder="214"/>
					<case minzoom="19" tag="man_made" value="water_well"/>
					<case minzoom="20" tag="man_made" value="pipeline" textOnPath="true" textWrapWidth="30" textOrder="230"/>
					<case minzoom="20" tag="man_made" value="reinforced_slope" color="#d6d6d6"/>
					<case minzoom="21" tag="natural" value="spring" textWrapWidth="20" textOrder="214"/>
				</switch>
			</switch>
			<switch minzoom="3">
				<case tag="natural" value="coastline"/>
				<case tag="natural" value="land"/>
				<apply textSize="14" textColor="#883287" textWrapWidth="35" textHaloRadius="2" textHaloColor="#aaffffff"/>
			</switch>

			<!-- Tourism and Entertainment -->
			<switch textSize="12" nameTag="" textColor="#000000" textHaloRadius="2:2" textHaloColor="#ffffff" textWrapWidth="20" textOrder="155">
				<case minzoom="21" tag="amenity" value="place_of_worship" nameTag="" textOrder="134"/>
				<case minzoom="19" tag="tourism" value="artwork" nameTag="">
					<apply_if additional="artwork_type=statue" icon="memorial_statue"/>
				</case>
				<case minzoom="17" tag="tourism" value="picnic_site"/>
				<case minzoom="17" tag="leisure" value="picnic_table"/>
				<case minzoom="17" tag="leisure" value="firepit"/>
				<case minzoom="21" tag="tourism" value="museum" textOrder="132"/>
				<case minzoom="23" tag="tourism" value="information" nameTag="" textOrder="120"/>
				<case minzoom="19" tag="tourism" value="viewpoint"/>
				<case minzoom="21" tag="tourism" value="theme_park" textOrder="153"/>
				<case minzoom="19" tag="tourism" value="zoo" textOrder="152"/>
				<case minzoom="22" tag="tourism" value="aquarium" textOrder="152"/>
				<case minzoom="19" tag="natural" value="beach"/>
				<case minzoom="20" tag="leisure" value="beach_resort"/>
				<case minzoom="18" tag="leisure" value="water_park"/>
				<case minzoom="19" tag="sport" value="climbing"/>
				<apply textDy="2"/>
			</switch>
			
			<!-- Historic / ruines-->
			<switch textSize="12" nameTag="" textItalic="true" textColor="#339900" textHaloRadius="1" textHaloColor="#ffffff" textWrapWidth="20" textOrder="158">
				<switch>
					<case minzoom="18" tag="historic" value="castle" nameTag="" textOrder="77"/>
					<case minzoom="15" tag="historic" value="ruins" />
					<case minzoom="16" tag="historic" value="archaeological_site"/>
					<case minzoom="17" tag="historic" value="wayside_cross"/>
					<case minzoom="17" tag="historic" value="wayside_shrine"/>
					<case minzoom="15" tag="abandoned:building" value=""/>
					<case minzoom="15" tag="disused:building" value=""/>
					<apply textDy="5"/>
				</switch>
			</switch>
			<switch minzoom="10">
				<case tag="" value="" />
				<case tag="building" value="ruins"/>
				<apply>
					<switch minzoom="15">
						<case additional="ruins=yes"/> 
						<case additional="disused=yes"/> 
						<case additional="abandoned=yes"/> 
						<apply textSize="12" nameTag="" textItalic="true" textColor="#339900" textHaloRadius="1" textHaloColor="#ffffff" textWrapWidth="20" textOrder="158"/>
						<apply textDy="9"/>
					</switch>
				</apply>
			</switch>
			<!-- landuse -->
			<switch textSize="12" textColor="#388738" textWrapWidth="20" textHaloRadius="2:2" textHaloColor="#ffffff" nameTag="">
				<switch textItalic="true">
					<case minzoom="15" tag="natural" value="wood" textOrder="202" textDy="3" intersectionMargin="20"/>
					<case minzoom="15" tag="landuse" value="forest" textOrder="201" textDy="3" intersectionMargin="20"/>
					<case minzoom="15" tag="natural" value="wetland" textOrder="238"/>
					<case minzoom="17" tag="natural" value="scrub" textOrder="244"/>
					<case minzoom="15" tag="natural" value="sand" textOrder="244"/>
					<case minzoom="17" tag="landuse" value="orchard" textOrder="239"/>
					<case minzoom="17" tag="natural" value="heath" textOrder="245"/>
					<case minzoom="17" tag="landuse" value="meadow" textOrder="243"/>
					<case minzoom="18" tag="landuse" value="village_green" textOrder="243"/>
					<case minzoom="17" tag="landuse" value="plant_nursery" textOrder="239"/>
					<case minzoom="18" tag="landuse" value="recreation_ground" textOrder="242"/>
					<case minzoom="17" tag="landuse" value="farmland" textOrder="248"/>
					<case minzoom="17" tag="landuse" value="grass" textOrder="247"/>
					<case minzoom="17" tag="natural" value="grassland" textOrder="250"/>
					<case minzoom="17" tag="landuse" value="vineyard" textOrder="240"/>
					<case minzoom="17" tag="landuse" value="greenhouse_horticulture" textOrder="239"/>
					<case minzoom="17" tag="landuse" value="conservation" textOrder="246"/>
					<case minzoom="12" tag="natural" value="fell" textOrder="250"/>
					<case minzoom="7" tag="natural" value="desert" textSize="11"/>
										
					<switch minzoom="13" tag="boundary" value="forestry_compartment" textOrder="88" textDy="3">
						<case nameTag="ref"/>
						<case nameTag=""/>
						<apply_if maxzoom="13" textSize="11"/>
					</switch>
					<case minzoom="18" tag="natural" value="tree" textSize="11" textOrder="252"/>
					<case minzoom="18" tag="natural" value="stone" textSize="11" textDy="4"/>
					<case minzoom="17" tag="natural" value="rock" nameTag="natural" textSize="11" textDy="4"/>
					<case minzoom="14" tag="natural" value="bare_rock" textSize="11" textDy="4"/>
					<case minzoom="23" tag="leisure" value="garden" textOrder="168"/>
					<case minzoom="23" tag="leisure" value="park" textOrder="254"/>
					<case minzoom="23" tag="leisure" value="common" textOrder="169"/>
					<case minzoom="19" tag="leisure" value="stadium" textOrder="114"/>
					<case minzoom="22" tag="leisure" value="pitch" textOrder="254"/>
					<case minzoom="22" tag="leisure" value="bleachers" textOrder="254"/>
				</switch>
			</switch>
			<switch textSize="12" textHaloRadius="2:2" textHaloColor="#ffffff" textWrapWidth="20" textOrder="144">
				<switch nameTag="">
					<apply textColor="#000000"/>
				</switch>
				<switch>
					<case minzoom="15" tag="landuse" value="quarry" nameTag=""/>
					<case minzoom="15" tag="landuse" value="landfill"/>
					<case minzoom="17" tag="landuse" value="logging"/>
					<case minzoom="17" tag="wood:lost" value="dead_wood"/>
					<case minzoom="17" tag="wood:lost" value="windfall"/>
					<case minzoom="20" tag="man_made" value="spoil_heap"/>
					<case minzoom="20" tag="power" value="substation"/>
					<case minzoom="20" tag="power" value="transformer"/>
					<case minzoom="20" tag="man_made" value="wastewater_plant"/>
					<case minzoom="20" tag="landuse" value="greenfield"/>
					<case minzoom="20" tag="landuse" value="brownfield"/>
					<apply textColor="#525252"/>
				</switch>
			</switch>
			<switch textHaloRadius="1">
				<case minzoom="13" tag="abandoned:place" value="" textOrder="226"/>
				<case minzoom="15" tag="abandoned:landuse" value="" textOrder="227"/>
				<apply textSize="13" textColor="#656565" textHaloRadius="1:1" textHaloColor="#bbffffff"/>
				<apply textDy="10"/>
				<case minzoom="17" textSize="12" textColor="#990d2a" textWrapWidth="20" tag="landuse" value="military" nameTag="" textOrder="245"/>
				<case minzoom="15" textSize="12" textColor="#990d2a" textWrapWidth="20" tag="military" value="danger_area" textOrder="146"/>
			</switch>

			<!-- courbes niveau -->
			<switch tag="contour" value="" textOnPath="true" textOrder="255" textHaloRadius="2" textHaloColor="#50ffffff" textDy="0">
				<case minzoom="13" contourLines="11"/>
				<case minzoom="13" contourLines="12"/>
				<case minzoom="13" contourLines="13"/>
				<case minzoom="14" contourLines=""/>
				<case minzoom="14" contourLines="14"/>
				<case minzoom="15" contourLines="15"/>
				<case minzoom="16" contourLines="16"/>
				<apply >
					<case minzoom="13" maxzoom="14" additional="contourtype=100m" textColor="#aaaaaa" textSize="9" textMinDistance="50" textOnPath="false" textBold="false"/>
					<case minzoom="14" maxzoom="14" additional="contourtype=50m" textColor="#aaaaaa" textSize="9" textMinDistance="50" textOnPath="false" textBold="false"/>
					<case minzoom="15" additional="contourtype=100m" textColor="#afafaf" textSize="9" textMinDistance="1" textBold="true"/>
					<case minzoom="15" additional="contourtype=50m" textColor="#afafaf" textSize="9" textMinDistance="1" textBold="false"/>
					<case minzoom="15" additional="contourtype=20m" textColor="#999999" textSize="9" textMinDistance="1"/>
					<case minzoom="15" additional="contourtype=10m" textColor="#999999" textSize="9" textMinDistance="1"/>
				</apply>
				<apply_if arriereplan="true" textHaloColor="#60000000"/>
			</switch>			

			<!-- secours -->
			<switch textSize="10" textColor="#000000" textHaloRadius="1" textHaloColor="#70ffffff" textWrapWidth="25" textOrder="131">
				<case minzoom="19" tag="amenity" value="police" iconOrder="85"/>
				<case minzoom="18" tag="amenity" value="fire_station" iconOrder="85"/>
				<case minzoom="18" tag="amenity" value="hospital" textOrder="79"/>
				<case minzoom="19" tag="amenity" value="clinic" textOrder="85"/>
			</switch>

			<!-- station service -->
			<switch textSize="12" textColor="#0066ff" textWrapWidth="20" textHaloRadius="1" textOrder="150">
				<case minzoom="18" tag="amenity" value="fuel" nameTag="opening_hours"/>
				<case minzoom="22" tag="amenity" value="parking"/>
				<case minzoom="21" tag="amenity" value="charging_station"/>
				<case minzoom="19" tag="highway" value="services" textDy="4"/>
				<apply textDy="7"/>
			</switch>
			
			<!-- militaire -->
			<switch minzoom="16">
				<case tag="military" value="barracks"/>
				<case tag="military" value="bunker"/>
				<case tag="abandoned:building" value=""/>
				<apply_if maxzoom="17" textSize="13" textMinDistance="40"/>
				<apply_if minzoom="18" textSize="15"/>
				<apply textDy="7"/>
				<apply textColor="#404040" textHaloColor="#000000" textHaloRadius="1" textWrapWidth="20" textOrder="135">
				</apply>
			</switch>

		<!-- frontière -->
		<switch>
			<case minzoom="9" tag="admin_level" value="2"/>
			<case minzoom="10" tag="admin_level" value="3"/>
			<apply textSize="10" textHaloRadius="2" textColor="#ffffff" textBold="true" textOnPath="true" textHaloColor="#aa0002B4"/>
		</switch>
		<!--region -->
		<switch>
			<case minzoom="15" tag="admin_level" value="4"/>
			<apply textSize="10" textHaloRadius="2" textColor="#999900" textBold="false" textOnPath="true" textHaloColor="#ffffff" textOrder="200" textMinDistance="600" />
		</switch>

			<!-- protected area -->
			<switch minzoom="8" >
				<case tag="boundary" value="national_park"/>
				<case minzoom="14" tag="leisure" value="nature_reserve"/>
				<apply_if hideAccess="false" nameTag="" textColor="#ff0000" textHaloColor="#77ffffff" textHaloRadius="3:3" textWrapWidth="20" textOrder="13" textBold="true" textMinDistance="600" intersectionMargin="7">
					<case maxzoom="14" textSize="10" textOnPath="false" />
					<case maxzoom="15" textSize="11" textOnPath="false" />
					<case minzoom="16" textSize="12" textOnPath="true" />
				</apply_if>
			</switch>
			
			<!--<case minzoom="13" tag="boundary" value="protected_area" nameTag="" textSize="14" textOnPath="true" textColor="#009900" />-->

	</text>
	
	<point>

		<case minzoom="16" tag="junction" value="yes" icon=""/>
		
		<!-- sommets -->
		<switch>
			<case minzoom="11" tag="natural" value="peak" iconOrder="65">
				<apply_if maxzoom="12" icon="natural_peak" shield="peakvolcano_white_shield" iconVisibleSize="25" intersectionSizeFactor="2">
					<apply_if additional="summit:cross=yes" icon="natural_peak_cross" shield="peakvolcano_cross_white_shield"/>
				</apply_if>
				<apply_if minzoom="13" icon="natural_peak_big" shield="peakvolcano_big_white_shield">
					<apply_if additional="summit:cross=yes" icon="natural_peak_cross_big" shield="peakvolcano_cross_big_white_shield"/>
				</apply_if>
			</case>
			<case minzoom="10" tag="natural" value="volcano" iconOrder="50">
				<case maxzoom="12" icon="natural_volcano_map" shield="peakvolcano_shield">
					<case additional="status=active" icon="natural_volcano_active" shield="volcano_active_shield"/>
				</case>
				<case minzoom="13" icon="natural_volcano_big" shield="peakvolcano_big_shield">
					<case additional="status=active" icon="natural_volcano_active_big" shield="volcano_active_big_shield"/>
				</case>
			</case>
			<apply_if additional="ele_limit=200" iconOrder="68"/>
			<apply_if additional="ele_limit=500" iconOrder="67"/>
			<apply_if additional="ele_limit=1000" iconOrder="66"/>
			<apply_if additional="ele_limit=1500" iconOrder="65"/>
			<apply_if additional="ele_limit=2000" iconOrder="64"/>
			<apply_if additional="ele_limit=2500" iconOrder="63"/>
			<apply_if additional="ele_limit=3000" iconOrder="62"/>
			<apply_if additional="ele_limit=3500" iconOrder="61"/>
			<apply_if additional="ele_limit=4000" iconOrder="60"/>
			<apply_if additional="ele_limit=4500" iconOrder="59"/>
			<apply_if additional="ele_limit=5000" iconOrder="58"/>
			<apply_if additional="ele_limit=5500" iconOrder="57"/>
			<apply_if additional="ele_limit=6000" iconOrder="56"/>
			<apply_if additional="ele_limit=6500" iconOrder="55"/>
			<apply_if additional="ele_limit=7000" iconOrder="54"/>
			<apply_if additional="ele_limit=7500" iconOrder="53"/>
			<apply_if additional="ele_limit=9000" iconOrder="52"/>
		</switch>

		<!-- Food and Drink -->
		<switch shield="orange_round_shield" iconVisibleSize="24">
			<case minzoom="16" tag="amenity" value="restaurant" icon="amenity_restaurant" iconVisibleSize="32" iconOrder="159"/>
			<case minzoom="16" tag="amenity" value="cafe" icon="amenity_cafe" iconVisibleSize="40" iconOrder="160"/>
			<case minzoom="16" tag="amenity" value="fast_food" icon="amenity_fast_food" iconVisibleSize="32" iconOrder="159"/>
			<case minzoom="16" tag="amenity" value="food_court" icon="amenity_food_court" iconOrder="158"/>
			<case minzoom="16" tag="amenity" value="pub" icon="amenity_pub" iconVisibleSize="32" iconOrder="159"/>
			<case minzoom="16" tag="amenity" value="bar" icon="amenity_bar" iconVisibleSize="32" iconOrder="159"/>
			<case minzoom="16" tag="amenity" value="biergarten" icon="amenity_biergarten" iconOrder="159"/>
		</switch>

		<!-- Shops -->
		<switch shield="purple_round_shield" iconOrder="160" iconVisibleSize="24">
			<case minzoom="17" tag="shop" value="bakery" icon="shop_bakery" iconVisibleSize="32"/>
			<case minzoom="17" tag="shop" value="bicycle" icon="shop_bicycle"/>
			<case minzoom="16" tag="shop" value="car" icon="shop_car"/>
			<case minzoom="16" tag="shop" value="car_repair" icon="shop_car_repair">
				<case additional="service=tyres" icon="service_tyres"/>
			</case>
			<case minzoom="16" tag="shop" value="car_parts" icon="shop_car_parts"/>
			<case minzoom="17" tag="shop" value="doityourself" icon="shop_doityourself" iconVisibleSize="32"/>
			<case minzoom="17" tag="shop" value="electrical" icon="electrical"/>
			<case minzoom="17" tag="shop" value="electronics" icon="electronics" iconVisibleSize="32"/>
			<case minzoom="17" tag="shop" value="energy" icon="energy"/>
			<case minzoom="17" tag="shop" value="fireplace" icon="shop_fireplace"/>
			<case minzoom="17" tag="shop" value="fishing" icon="shop_fishing"/>
			<case minzoom="17" tag="shop" value="gas" icon="gas"/>
			<case minzoom="17" tag="shop" value="general" icon="shop_general"/>
			<case minzoom="15" tag="amenity" value="marketplace" icon="amenity_marketplace" iconVisibleSize="32" iconOrder="157"/>
			<case minzoom="17" tag="shop" value="motorcycle" icon="shop_motorcycle"/>
			<case minzoom="17" tag="shop" value="motorcycle_repair" icon="motorcycle_repair"/>
			<case minzoom="17" tag="shop" value="outdoor" icon="outdoor"/>
			<case minzoom="15" tag="shop" value="supermarket" icon="shop_supermarket" iconVisibleSize="22" iconOrder="157"/>
			<case minzoom="17" tag="shop" value="tyres" icon="tyres"/><!--
			<case minzoom="17" tag="shop" value="coffee" icon="coffee"/>
			<case minzoom="15" tag="shop" value="department_store" icon="shop_department_store" iconVisibleSize="32" iconOrder="158"/>
			<case minzoom="17" tag="shop" value="fabric" icon="fabric"/>
			<case minzoom="17" tag="shop" value="farm" icon="farm"/>
			<case minzoom="17" tag="shop" value="furniture" icon="shop_furniture"/>
			-->
			<apply_if moreDetailed="false" maxzoom="15" icon=""/>
		</switch>

		<!-- Emergency + Health  -->
		<switch shield="red_round_shield" minzoom="14" iconVisibleSize="26">
			<case tag="emergency" value="phone" icon="emergency_phone"/>
			<case minzoom="18" tag="emergency" value="defibrillator" icon="defibrillator"/>
			<case minzoom="14" tag="amenity" value="police" icon="amenity_police" iconOrder="85"/>
			<case tag="amenity" value="doctors" icon="amenity_doctors" iconOrder="85"/>
			<case tag="amenity" value="clinic" icon="amenity_doctors" iconOrder="85"/>
			<case minzoom="17" tag="highway" value="emergency_access_point" icon="emergency_access_point" iconOrder="157"/>
			<case minzoom="17" tag="healthcare" value="laboratory" icon="laboratory"/>
			<case minzoom="17" tag="emergency" value="rescue_box" icon="rescue_box"/>
			<case tag="emergency" value="mountain_rescue" icon="mountain_rescue"/>
		</switch>

		<case minzoom="14" tag="natural" value="hill" icon="hill" shield="hill_shield" iconOrder="70"/>

		<case minzoom="15" tag="natural" value="sinkhole" icon="natural_sinkhole" shield="topo_sinkhole_shield"/>
		<case minzoom="13" tag="natural" value="saddle" icon="natural_saddle" shield="topo_saddle_shield" iconOrder="16"/>
		<case minzoom="13" tag="mountain_pass" value="yes" icon="natural_saddle" shield="topo_saddle_shield" iconOrder="16"/>
		<switch>
			<!--<case minzoom="17" tag="natural" value="stone"/>
			<case minzoom="16" tag="natural" value="rock"/>
			<apply icon="natural_stone" shield="stone_shield"/>-->
		</switch>
		<case minzoom="16" tag="sport" value="climbing" icon="sport_climbing" shield="green_round_shield"/>

		<!-- Sport, leisure -->
		<case minzoom="14" tag="leisure" value="horse_riding" icon="equestrian" shield="gray_round_shield" iconVisibleSize="24" iconOrder="166">
		</case>
		
		<case minzoom="14" tag="ford" value="yes" icon="topo_ford" shield="topo_ford_shield"/>
		<case minzoom="14" tag="ford" value="stepping_stones" icon="topo_ford_stepping_stones" shield="topo_ford_stepping_stones_shield"/>
		
		<!-- places -->
		<switch lessDetailed="false" >
			<switch  iconOrder="20" iconVisibleSize="24"  >
				<case minzoom="13" tag="place" value="isolated_dwelling" icon="barrier_small_black_bold_1" >
				<apply_if minzoom="14" icon="building_map" shield="topo_cabin_shield" /><!--
				icon="barrier_small_black_bold_1" 
				<apply_if minzoom="15" icon="topo_chalet" shield="green_round_shield"  intersectionSizeFactor="0.9" intersectsWith=""/>-->
				</case>
			</switch>
		</switch>
		
		
		<case minzoom="3" tag="place" value="city" icon="" iconVisibleSize="2" intersectionSizeFactor="0.9" iconOrder="32"/>
		<case minzoom="8" tag="place" value="town" icon="" iconVisibleSize="2" intersectionSizeFactor="0.9" iconOrder="32"/>
		<case minzoom="9" tag="place" value="village" icon="" iconVisibleSize="2" intersectionSizeFactor="0.9" iconOrder="32"/>
		<case minzoom="11" tag="place" value="hamlet" icon="" iconVisibleSize="2" intersectionSizeFactor="0.9" iconOrder="32"/><!---->

		<case minzoom="16" tag="tourism" value="attraction" icon="tourism_viewpoint" shield="brown_round_shield" iconVisibleSize="24" iconOrder="85"/>
		<case minzoom="16" tag="tourism" value="information" icon="tourism_information" iconOrder="120" shield="information_shield">
			<case additional="information=office" icon="information_office" shield="information_office_shield"/>
			<case additional="information=audioguide" icon="information_audioguide" shield="information_audioguide_shield"/>
			<case additional="information=board" icon="information_board" shield="information_board_shield"/>
			<case additional="information=guidepost" icon="information_guidepost" shield="information_guidepost_shield"/>
			<case additional="information=map" icon="information_map" shield="information_map_shield"/>
			<case additional="information=terminal" icon="information_terminal" shield="information_terminal_shield"/>
		</case>
		<case minzoom="16" tag="amenity" value="monastery" icon="amenity_monastery" shield="white_round_shield" iconOrder="70"/>
		<case minzoom="12" tag="amenity" value="fuel" icon="amenity_fuel" shield="blue_round_shield" iconOrder="40"/>

		<switch shield="white_round_shield">
			<switch iconOrder="70">
				<case minzoom="16" tag="historic" value="ship" icon="topo_ship"/>
				<case minzoom="16" tag="historic" value="boundary_stone" icon="topo_boundary_stone"/>
				<case minzoom="17" tag="historic" value="milestone" icon="topo_milestone"/>
				<case minzoom="16" tag="historic" value="aircraft" icon="topo_aircraft"/>
				<case minzoom="16" tag="historic" value="tank" icon="topo_tank"/>
			</switch>
			<case minzoom="15" tag="attraction" value="big_wheel" icon="topo_big_wheel"/>

			<switch iconOrder="158">
				<case minzoom="16" tag="historic" value="tomb" icon="topo_tomb" iconOrder="85"/>
				<case minzoom="16" tag="historic" value="wreck" icon="topo_wreck"/>
				<case minzoom="16" tag="historic" value="wayside_shrine" icon="topo__wayside_shrine"/>
			</switch>
			<case minzoom="12" tag="historic" value="castle" icon="topo_castle" iconOrder="77"/>
			<case minzoom="12" tag="building" value="castle" icon="topo_castle" iconOrder="77"/>
			<switch minzoom="14">
				<case tag="man_made" value="cross"/>
				<case minzoom="15" tag="historic" value="wayside_cross"/>
				<apply icon="cross" shield="cross_shield" iconOrder="95"/>
			</switch>
			<case minzoom="14" tag="building" value="pyramid" icon="topo_building_pyramid" iconOrder="5"/>
			<case minzoom="16" tag="historic" value="technical_monument" icon="topo_technical_monument" iconOrder="85"/>
			<case minzoom="14" tag="historic" value="archaeological_site" icon="barrier_block" shield="topo_barrier_block_shield" iconOrder="85"/>
			<case minzoom="15" tag="geological" value="palaeontological_site" icon="topo_palaeontological_site" iconOrder="85"/>
			<case minzoom="16" tag="geological" value="outcrop" icon="topo_outcrop" iconOrder="163"/>
			<apply_if lessDetailed="true" maxzoom="15" icon=""/>
		</switch>
		<case minzoom="14" tag="" value="" >
			<apply_if additional="ruins=yes" icon="osmc_green_l" shield="white_round_small_shield" iconOrder="158"/><!-- icon="building_map" shield="building_shield" -->
		</case>
		<case minzoom="14" tag="historic" value="ruins" icon="osmc_green_l" shield="white_round_small_shield" iconOrder="158"/>
		<case minzoom="13" tag="historic" value="memorial" icon="monument" shield="brown_round_shield" iconOrder="86"/>
		<case minzoom="14" tag="historic" value="monument" icon="monument" shield="brown_round_shield" iconOrder="86"/>
		<case minzoom="13" tag="tourism" value="viewpoint" icon="topo_viewpoint" shield="topo_viewpoint_shield" iconOrder="85"/>
		<case minzoom="17" tag="historic" value="cannon" icon="historic_cannon" iconOrder="70"/>
		<case minzoom="17" tag="historic" value="rune_stone" icon="historic_rune_stone" shield="historic_rune_stone_shield"/>

		<switch minzoom="12" iconVisibleSize="28">
			<case tag="natural" value="wood"/>
			<case tag="landuse" value="forest"/>
			<apply icon="wood" shield="topo_wood_shield"/>
			<apply_if textLength="0" icon=""/>
		</switch>
		<switch minzoom="12" iconVisibleSize="24">
			<case tag="leisure" value="park"/>
			<apply icon="park" shield="topo_park_shield"/>
			<apply_if textLength="0" icon=""/>
		</switch>
		<switch minzoom="14">
			<case tag="leisure" value="garden" iconVisibleSize="24"/>
			<apply icon="garden" shield="topo_garden_shield"/>
			<apply_if textLength="0" icon=""/>
		</switch>

		<!-- Accommodation -->
		<switch iconOrder="85">
			<case minzoom="16" tag="tourism" value="apartment" icon="topo_apartment" shield="topo_apartment_shield"/>
			<case minzoom="14" tag="tourism" value="guest_house" icon="topo_guest_house" shield="green_round_shield"/>
			<case minzoom="16" tag="tourism" value="hostel" icon="topo_hostel" shield="topo_hostel_shield"/>
			<case minzoom="16" tag="tourism" value="hotel" icon="topo_hotel" shield="topo_hotel_shield"/>
			<case minzoom="16" tag="tourism" value="motel" icon="topo_motel" shield="topo_motel_shield"/>
			<switch>
				<case minzoom="14" tag="tourism" value="camp_site" icon="topo_camp_site" shield="green_round_shield"/>
				<case minzoom="14" tag="tourism" value="chalet" icon="topo_chalet" shield="green_round_shield"/>
				<case minzoom="14" tag="tourism" value="alpine_hut" icon="topo_alpine_hut" shield="green_round_shield"/>
				<case minzoom="14" tag="tourism" value="cabin" icon="topo_cabin" shield="green_round_shield"/>
				<case minzoom="14" tag="tourism" value="lean_to" icon="topo_lean_to" shield="green_round_shield"/>
				<case minzoom="14" tag="tourism" value="wilderness_hut" icon="topo_wilderness_hut" shield="green_round_shield"/>
				<case minzoom="14" tag="amenity" value="shelter" icon="topo_shelter" shield="green_round_shield"/>
				<apply_if minzoom="14" additional="drinking_water=yes" icon_2="topo_drinking_water_yes_map"/>
				<apply_if minzoom="16" additional="drinking_water=no" icon_2="topo_drinking_water_no_map"/>
			</switch>
		</switch>

		<case minzoom="15" tag="amenity" value="place_of_worship" iconOrder="40">
			<case additional="religion=christian" icon="topo_christian" shield="topo_christian_shield"/>
			<case additional="religion=jewish" icon="topo_jewish" shield="topo_jewish_shield"/>
			<case additional="religion=muslim" icon="topo_muslim" shield="topo_muslim_shield"/>
			<case additional="religion=sikh" icon="religion_sikh"/>
			<case additional="religion=buddhist" icon="topo_buddhist" shield="topo_buddhist_shield"/>
			<case additional="religion=hindu" icon="topo_hindu" shield="topo_hindu_shield"/>
			<case additional="religion=shinto" icon="religion_shinto"/>
			<case additional="religion=taoist" icon="religion_taoist"/>
			<case icon="topo_christian" shield="topo_christian_shield"/>
		</case>

		<case minzoom="15" tag="amenity" value="toilets" icon="amenity_toilets" shield="gray_round_shield" iconOrder="20" iconVisibleSize="48"/>


		<case minzoom="13" tag="power" value="tower">
			<case lessDetailed="false" maxzoom="13" icon="barrier_small_black_4" iconVisibleSize="2"/>
			<case minzoom="14" maxzoom="14" icon="power_tower_small2" iconVisibleSize="2"/>
			<case minzoom="15" maxzoom="16" icon="power_tower_small" iconVisibleSize="3"/>
			<case minzoom="17" icon="power_tower_square" iconVisibleSize="7"/>
		</case>
		<case minzoom="15" tag="aerialway" value="pylon" icon="aerialway_pylon_small" iconVisibleSize="4">
			<apply_if lessDetailed="true" maxzoom="15" icon=""/>
		</case>
		<case minzoom="16" tag="power" value="pole" icon="barrier_small_black_4"/>
		<switch>
			<case minzoom="16" tag="railway" value="halt"/>
			<case minzoom="17" tag="railway" value="tram_stop"/>
			<apply icon="topo_railway_halt_small" iconVisibleSize="6"/>
		</switch>
		<switch>
			<case minzoom="16" tag="railway" value="station"/>
			<case minzoom="17" tag="railway" value="yard"/>
			<apply icon="topo_railway_station_small" iconVisibleSize="8"/>
		</switch>

		<switch minzoom="10" tag="aeroway" value="aerodrome">
			<case additional="abandoned=yes">
				<case minzoom="14" icon="topo_aerodrome_abandoned" shield="topo_aerodrome_abandoned_shield" iconOrder="100"/>
			</case>
			<switch>
				<case additional="iata"/> 
				<case additional="icao"/>
				<case additional="faa"/>
				<case additional="large_aerodrome" icon="topo_aerodrome" shield="topo_aerodrome_shield" iconOrder="71"/> 
			</switch>
			<case minzoom="14" icon="topo_aerodrome" shield="topo_aerodrome_shield" iconOrder="100"/>
		</switch>
		
		<switch minzoom="12" tag="leisure" value="sports_centre">
			<case additional="aeroway=airstrip"><!-- inconnu -->
				<case icon="topo_aerodrome_abandoned" shield="topo_aerodrome_abandoned_shield" iconOrder="10"/>
			</case>
		</switch>

		<switch minzoom="12" tag="aeroway" value="windsock"><!-- pas d'icone valable 
				<case icon="topo_aerodrome_abandoned" shield="topo_aerodrome_abandoned_shield" iconOrder="10"/>-->
		</switch>

		
		<case minzoom="14" tag="abandoned:aeroway" value="aerodrome">
			<apply icon="topo_aerodrome_abandoned" shield="topo_aerodrome_abandoned_shield" iconOrder="100"/>
		</case>
		<case minzoom="16" tag="aeroway" value="helipad" icon=""/>

		<case minzoom="15" tag="aerialway" value="station" icon="railway_subway_station_small_black" shield="white_round_small_shield" iconOrder="10"/>
		

		<case minzoom="12" tag="building" value="" additional="object_type=node" icon="building_map" shield="building_shield" iconOrder="128" iconVisibleSize="14" intersectionSizeFactor="0.8">
			<apply_if lessDetailed="false" iconVisibleSize="10" intersectionSizeFactor="0.6"/>
		</case>

		<!-- Barrieres -->
		<switch hideAccess="false" ><!--
			<switch lessDetailed="false" >
				<switch  iconOrder="120" iconVisibleSize="24" intersectionSizeFactor="0.9" intersectsWith="any" >
					<case minzoom="12" tag="barrier" value="lift_gate" icon="barrier_lift_gate" shield="barrier_lift_gate_shield"/>
					<case tag="barrier" value="chain" icon="barrier_chain" shield="barrier_chain_shield"/>
					<apply_if minzoom="15" shield="red_round_shield"  intersectionSizeFactor="0.9" intersectsWith=""/>
				</switch>
			</switch>-->
			<switch>
				<switch iconOrder="10" iconVisibleSize="24" intersectionSizeFactor="0.9" intersectsWith="">
					<switch>
						<switch>
							<case minzoom="14" tag="barrier" value="gate" icon="barrier_gate" shield="topo_barrier_gate_shield"/>
							<case minzoom="14" tag="barrier" value="yes" icon="barrier_gate" shield="barrier_gate_shield"/>
							<case minzoom="14" tag="barrier" value="swing_gate" icon="barrier_swing_gate" shield="topo_barrier_swing_gate_shield"/>
							<case minzoom="14" tag="barrier" value="bump_gate" icon="barrier_bump_gate" shield="barrier_bump_gate_shield"/>
							<case minzoom="14" tag="barrier" value="chain" icon="barrier_chain" shield="barrier_chain_shield"/>
							<case minzoom="14" tag="barrier" value="lift_gate" icon="barrier_lift_gate" shield="barrier_lift_gate_shield"/>
							<case minzoom="14" tag="barrier" value="cycle_barrier" icon="barrier_cycle_barrier" shield="barrier_cycle_barrier_shield"/>
							<case minzoom="14" tag="barrier" value="motorcycle_barrier" icon="barrier_motorcycle_barrier" shield="barrier_motorcycle_barrier_shield"/>
							<case minzoom="14" tag="barrier" value="stile" icon="barrier_stile" shield="barrier_stile_shield"/>
							<case minzoom="14" tag="barrier" value="kissing_gate" icon="barrier_kissing_gate" shield="barrier_kissing_gate_shield"/>
							<case minzoom="14" tag="barrier" value="toll_booth" icon="toll_booth" shield="barrier_toll_booth_shield"/>
							<case minzoom="14" tag="military" value="checkpoint" icon="military_checkpoint" shield="military_checkpoint_shield"/>
							<case minzoom="14" tag="barrier" value="border_control" icon="barrier_border_control" shield="gray_round_shield" />
							<case minzoom="14" tag="barrier" value="block" icon="barrier_block" shield="topo_barrier_block_shield"/>
							<apply_if minzoom="14" maxzoom="15" icon="barrier_small_red_bold_1" shield="" />
							<apply_if minzoom="16" shield="red_round_shield" iconOrder="254"/>
						</switch>
						<switch>
							<case minzoom="14" tag="barrier" value="debris" icon="barrier_debris" shield="topo_barrier_debris_shield"/>
							<case minzoom="14" tag="barrier" value="log" icon="barrier_log" shield="topo_barrier_log_shield"/>
							<apply_if minzoom="14" maxzoom="14" icon="barrier_small_brown_bold_2" shield="" iconVisibleSize="0"/>
							<apply_if minzoom="15" maxzoom="15" icon="barrier_small_brown_bold_1" shield="" iconVisibleSize="0"/>
						</switch>
						<case minzoom="16" tag="barrier" value="entrance" icon="barrier_entrance" shield="barrier_entrance_shield"/>
						<case minzoom="17" tag="barrier" value="cattle_grid" icon="barrier_cattle_grid" shield="barrier_cattle_grid_shield"/>
						<case minzoom="16" tag="barrier" value="turnstile" icon="barrier_turnstile" shield="barrier_turnstile_shield" iconOrder="128"/>
						<case minzoom="16" tag="barrier" value="horse_stile" icon="barrier_horse_stile" shield="barrier_horse_stile_shield"/>
						<case minzoom="15" tag="barrier" value="sally_port" icon="barrier_sally_port" shield="barrier_sally_port_shield"/>
					</switch>
					<apply_if hideAccess="false">
						<switch minzoom="14" maxzoom="15">
							<case additional="access=private"/>
							<case additional="access=no"/>
							<apply iconVisibleSize="0" shield=""/>
							<apply_if maxzoom="14" icon="barrier_small_red_bold_2"/>
							<apply_if minzoom="15" maxzoom="15" icon="barrier_small_red_bold_1"/>
						</switch>
					</apply_if>
					<apply_if hideAccess="false" minzoom="16" additional="access=private" icon_2="access_private_red_overlay"/>
					<apply_if hideAccess="false" minzoom="16" additional="access=no" icon_2="access_private_red_overlay"/>
				</switch>
			</switch>
			<switch minzoom="17" iconVisibleSize="10" intersectionSizeFactor="0.8" intersectsWith="">
				<switch tag="entrance" value="main">
					<case maxzoom="17" icon="barrier_small_black_bold_3"/>
					<case minzoom="18" icon="entrance_main_map" shield="barrier_entrance_small_shield"/>
				</switch>
				<switch tag="entrance" value="exit">
					<case maxzoom="17" icon="barrier_small_red_bold_3"/>
					<case minzoom="18" icon="entrance_exit_map" shield="entrance_exit_shield"/>
				</switch>
				<switch tag="entrance" value="yes">
					<case minzoom="18" maxzoom="18" icon="barrier_small_black_bold_3"/>
					<case minzoom="19" icon="entrance_yes" shield="barrier_entrance_small_shield"/>
				</switch>
				<switch tag="entrance" value="service">
					<case minzoom="19" icon="entrance_service" shield="barrier_entrance_small_shield"/>
				</switch>
				<apply iconOrder="129"/>
			</switch>
		</switch>	
	
		<switch minzoom="17">
			<case tag="highway" value="bus_stop"/>
			<case tag="public_transport" value="platform"/>
			<apply_if maxzoom="15" icon="topo_bus_stop_small" shield="topo_bus_stop_small_shield"/>
			<apply_if minzoom="16" icon="topo_bus_stop" shield="topo_bus_stop_shield"/>
		</switch>
		<switch minzoom="16">
			<case tag="amenity" value="bus_station"/>
			<case tag="public_transport" value="station"/>
			<apply icon="topo_bus_stop" shield="white_round_shield"/>
		</switch>

		<switch>
			<case minzoom="16" tag="man_made" value="water_well" icon="topo_water_well" shield="topo_water_well_shield" iconOrder="91"/>
			<case minzoom="14" tag="natural" value="spring" icon="topo_spring" shield="topo_spring_shield" iconVisibleSize="14" iconOrder="40"/>
			<case minzoom="14" tag="amenity" value="drinking_water" icon="topo_drinking_water" shield="topo_drinking_water_shield" iconVisibleSize="14" iconOrder="40"/>
			<apply_if maxzoom="16" additional="drinking_water=no" icon=""/>
			<apply_if minzoom="16" additional="drinking_water=yes" icon_2="topo_drinking_water_yes_map"/>
			<apply_if minzoom="16" additional="drinking_water=no" icon_2="topo_drinking_water_no_map"/>
		</switch>
		<case minzoom="15" tag="waterway" value="waterfall" icon="topo_waterfall" shield="topo_waterfall_shield"/>
		<case minzoom="15" tag="waterway" value="lock_gate" icon="waterway_lock_gate_small"/>

		<switch minzoom="19" tag="natural" value="tree" iconOrder="128">
			<case maxzoom="17" icon="tree_dot" iconVisibleSize="5" intersectionMargin="5"/>
			<switch minzoom="18">
				<case additional="leaf_type=broadleaved" icon="topo_tree_broadleaved" shield="topo_tree_broadleaved_shield"/>
				<case additional="leaf_type=needleleaved" icon="topo_tree_needleleaved" shield="topo_tree_needleleaved_shield"/>
				<case additional="tree:type=palm" icon="topo_tree_palm" shield="topo_tree_palm_shield"/>
				<case icon="topo_tree_broadleaved" shield="topo_tree_broadleaved_shield"/>
				<apply iconVisibleSize="14" intersectionSizeFactor="0.9"/>
			</switch>
		</switch>

		<case minzoom="16" tag="highway" value="via_ferrata" icon="via_ferrata_map" shield="via_ferrata_shield"/>

		<case minzoom="17" tag="highway" value="traffic_signals" icon="highway_traffic_signals_map" shield="traffic_signals_shield"/>
		<!--
		<case minzoom="17" tag="highway" value="crossing" icon="highway_crossing_map" iconVisibleSize="14" shield="highway_crossing_shield">
			<case additional="crossing=uncontrolled" icon="crossing_uncontrolled_map"/>
			<case additional="crossing=traffic_signals" icon="crossing_traffic_signals_map" shield="highway_crossing_traffic_signals_shield"/>
			<case additional="crossing=unmarked" icon="crossing_unmarked_map"/>
		</case>-->

		<case minzoom="12" tag="highway" value="speed_camera" icon="highway_speed_camera" shield="red_round_shield" iconOrder="20"/>



		<switch iconOrder="71">
			<case minzoom="13" tag="building" value="tower" icon="topo_tower" shield="topo_tower_shield" iconVisibleSize="16"/>
			<case minzoom="14" tag="man_made" value="antenna" icon="topo_mast" shield="topo_tower_shield"/>
			<case minzoom="14" tag="man_made" value="mast" icon="topo_mast" shield="topo_tower_shield"/>
			<case minzoom="13" tag="man_made" value="tower" additional="tower:type=communication" icon="topo_communication_tower" shield="topo_communication_tower_shield"/>
			<case minzoom="14" tag="man_made" value="tower" additional="tower:type=lighting" icon="lighting_tower" shield="tower_lighting_shield"/>
			<case minzoom="14" tag="man_made" value="tower" additional="tower:type=observation" icon="observation_tower" shield="observatory_shield"/>
			<case minzoom="13" tag="man_made" value="tower" additional="tower:type=cooling" icon="cooling_tower" shield="topo_tower_cooling_shield"/>
			<case minzoom="14" tag="man_made" value="tower" additional="tower:type=bell_tower" icon="bell_tower" shield="topo_tower_bell_tower_shield"/>
			<case minzoom="14" tag="man_made" value="tower" additional="tower:type=defensive" icon="topo_castle" /><!-- inconnu ! -->
			<case minzoom="14" tag="man_made" value="tower" additional="building=castle" icon="topo_castle" /><!-- non ! -->
			<case minzoom="14" tag="man_made" value="tower" icon="topo_tower" shield="topo_tower_shield"/>
		</switch>
		<case minzoom="15" tag="man_made" value="flare" icon="flare" shield="topo_flare_shield"/>
		<case minzoom="14" tag="natural" value="cave_entrance" icon="topo_cave" shield="topo_cave_shield" iconOrder="85"/>
		<case minzoom="16" tag="man_made" value="cellar_entrance" icon="topo_cellar_entrance" shield="topo_cellar_entrance_shield" iconOrder="85"/>
		<case minzoom="15" tag="tourism" value="picnic_site" icon="topo_picnic_site" shield="topo_picnic_site_shield" iconOrder="85"/>
		<case minzoom="16" tag="tourism" value="picnic_table" icon="topo_picnic_table" shield="topo_picnic_table_shield" iconOrder="85"/>
		<case minzoom="17" tag="leisure" value="firepit" icon="topo_firepit" shield="topo_firepit_shield" iconOrder="86"/>
		<switch minzoom="14">
			<case tag="man_made" value="adit"/>
			<case tag="man_made" value="mineshaft"/>
			<apply icon="topo_mine" shield="topo_mine_shield" iconOrder="60"/>
			<apply_if additional="abandoned=yes" icon="topo_mine_abandoned" shield="topo_mine_abandoned_shield" iconOrder="60"/>
			<apply_if additional="disused=yes" icon="topo_mine_abandoned" shield="topo_mine_abandoned_shield" iconOrder="60"/>
			<apply_if lessDetailed="true" maxzoom="15" icon=""/>
		</switch>
		<case minzoom="17" tag="historic" value="charcoal_pile" icon="topo_charcoal_pile" shield="topo_charcoal_pile_shield"/>
		<case minzoom="15" tag="historic" value="mine" icon="topo_mine_abandoned" shield="topo_mine_abandoned_shield"/>
		<case minzoom="16" tag="man_made" value="kiln" icon="kiln" shield="kiln_shield"/>
		<case minzoom="19" tag="man_made" value="street_cabinet" icon="street_cabinet" shield="street_cabinet_shield"/>
		<case minzoom="15" tag="man_made" value="cairn" icon="cairn" shield="cairn_shield"/>
		<case minzoom="14" tag="amenity" value="hunting_stand" icon="amenity_hunting_stand" shield="hunting_stand_shield"/>
		<case minzoom="14" tag="man_made" value="telescope" icon="telescope" shield="telescope_shield">
			<apply_if additional="telescope:type=optical" icon="telescope_type_optical" shield="telescope_optical_shield"/>
		</case>
		<case minzoom="14" tag="man_made" value="observatory" icon="man_made_observatory" shield="observatory_shield">
			<apply_if additional="observatory:type=astronomical" icon="astronomical_observatory" shield="astronomical_observatory_shield"/>
		</case>
		<case minzoom="15" tag="man_made" value="chimney" icon="topo_chimney" shield="topo_chimney_shield" iconOrder="100"/>
		<case minzoom="18" tag="railway" value="buffer_stop" icon="railway_buffer_stop" shield="railway_buffer_stop_shield" iconOrder="100"/>
		<case minzoom="15" tag="man_made" value="windmill" icon="topo_windmill" shield="topo_windmill_shield"/>
		<case minzoom="16" tag="man_made" value="watermill" icon="topo_watermill" shield="topo_watermill_shield"/>
		<case minzoom="18" tag="man_made" value="water_tap" icon="topo_water_tap" shield="topo_water_tap_shield"/>
		<case minzoom="15" tag="power" value="substation" icon="power_substation" shield="power_substation_shield"/>
		<case minzoom="18" tag="power" value="transformer" icon="topo_transformer" shield="topo_communication_tower_shield"/>
		<case minzoom="16" tag="man_made" value="monitoring_station" icon="radar" shield="monitoring_station_radar_shield"/>
		<case minzoom="15" tag="man_made" value="survey_point" icon="topo_survey_point" shield="topo_survey_point_shield"/>
		<case minzoom="15" tag="man_made" value="water_tower" icon="man_made_water_tower" shield="water_tower_shield"/>
		<case minzoom="15" tag="man_made" value="petroleum_well" icon="man_made_petroleum_well" shield="petroleum_well_shield"/>
		<case minzoom="16" tag="man_made" value="crane" icon="crane" shield="crane_shield"/>
		<case minzoom="18" tag="man_made" value="ventilation_shaft" icon="ventilation_shaft" shield="ventilation_shaft_shield"/>
		<case minzoom="15" tag="man_made" value="pumping_station" icon="pumping_station" shield="pumping_station_shield"/>
		<case maxzoom="15" tag="man_made" value="water_works" icon="building_map" />
		<case minzoom="16" tag="man_made" value="water_works" icon="building_map" shield="blue_round_shield"/>
		<case minzoom="15" tag="military" value="bunker" icon="topo_bunker" shield="topo_bunker_shield"/>
		
		<!-- power -->
		<switch>
			<case minzoom="15" tag="power" value="plant" icon="topo_power_plant" shield="topo_power_plant_shield"/>
			<case minzoom="13" tag="power" value="generator" icon="power_generator" shield="power_generator_shield"/>
			<apply minzoom="13">
				<case  additional="generator:source=wind" icon="generator_source_wind" shield="generator_wind_shield" iconVisibleSize="10" iconOrder="50"/>
			</apply>
			<apply minzoom="16">
				<case additional="generator:source=coal" icon="generator_source_coal" shield="generator_coal_shield"/>
				<case additional="generator:source=gas" icon="generator_source_gas" shield="generator_gas_shield"/>
				<case additional="generator:source=nuclear" icon="generator_source_nuclear" shield="generator_nuclear_shield"/>
				<case additional="generator:source=solar" icon="generator_source_solar" shield="generator_solar_shield"/>
				<case additional="generator:source=hydro" icon="generator_source_hydro" shield="generator_hydro_shield"/>
				<case additional="generator:source=geothermal" icon="generator_source_geothermal" shield="generator_geothermal_shield"/>
				<case additional="generator:source=oil" icon="generator_source_oil" shield="generator_oil_shield"/>
				<case additional="generator:source=diesel" icon="generator_source_diesel" shield="generator_oil_shield"/>
			</apply>
			<apply_if lessDetailed="true" maxzoom="15" icon=""/>
		</switch>

		<switch>
			<case minzoom="13" tag="disused:power" value="substation" icon="building_map" /><!--
			<apply_if lessDetailed="true" maxzoom="15" icon=""/>-->
		</switch>

		<switch minzoom="12">
			<case tag="building" value="castle" >
				<apply_if additional="man_made=tower" icon="topo_castle" iconOrder="77"/>
			</case>
		</switch>


	</point>

	<polygon>
		<!-- Buildings -->
		<switch hideBuildings="false" minzoom="15" color_2="#000000">
			<case tag="building" value="" color="#666666">
				<apply minzoom="16" color="#999999"/>
			</case>
			<switch>
				<case tag="building" value="garage"/>
				<case tag="building" value="industrial"/>
				<case tag="building" value="transportation"/>
				<case tag="building" value="warehouse"/>
				<case tag="building" value="hangar"/>
				<case tag="building" value="factory"/>
				<case tag="building" value="manufacture"/>
				<case tag="building" value="farm_auxiliary"/>
				<case tag="building" value="shed"/>
				<case tag="building" value="barn"/>
				<case tag="building" value="greenhouse"/>
				<case tag="man_made" value="storage_tank"/>
				<case tag="man_made" value="silo"/>
				<case tag="man_made" value="reservoir_covered"/>
				<case tag="man_made" value="chimney"/>
				<apply color="#660000"/>
			</switch>
			<switch>
				<case tag="building" value="residential"/>
				<case tag="building" value="house"/>
				<case tag="building" value="hut"/>
				<case tag="building" value="cabin"/>
				<case tag="building" value="detached"/>
				<case tag="building" value="farm"/>
				<case tag="building" value="hotel"/>
				<apply color="#993300"/>
			</switch>
			<switch>
				<case tag="building" value="hospital"/>
				<apply color="#ff0000"/>
			</switch>
			<switch>
				<case tag="building" value="civic"/>
				<case tag="building" value="hall"/>
				<case tag="building" value="administrative"/>
				<case tag="building" value="public"/>
				<case tag="building" value="school"/>
				<case tag="building" value="kindergarten"/>
				<case tag="building" value="university"/>
				<case tag="building" value="college"/>
				<apply color="#333399"/>
			</switch>
			<switch>
				<case tag="building" value="commercial"/>
				<case tag="building" value="retail"/>
				<apply color="#996600"/>
			</switch>
			<switch>
				<case tag="building" value="place_of_worship"/>
				<case tag="building" value="basilica"/>
				<case tag="building" value="castle_tower"/>
				<case tag="historic" value="city_gate"/>
				<apply strokeWidth_2="1:1" color="#000000" color_2="#ffffff"/>
			</switch>
			<switch>
				<case tag="military" value="bunker"/>
				<case tag="military" value="barracks"/>
				<apply color="#669900"/>
			</switch>
			<apply>
				<switch>
					<case additional="ruins=yes"/>
					<apply strokeWidth_2="3:3" color="#99cc00" color_2="#99cc00"  />
				</switch>
			</apply>

			<switch>
				<case tag="building" value="collapsed"/>
				<case tag="building" value="disused"/>
				<case tag="building" value="ruins"/>
				<case tag="abandoned:building" value=""/>
				<case tag="disused:building" value=""/>
				<apply color="#339900" color_2="#000000" pathEffect_2="9_3" strokeWidth_2="1:1"/>
			</switch>
			<switch><!--
				<case tag="building" value=""/>-->
				<case tag="historic" value="city_gate"/>
				<case tag="man_made" value="storage_tank"/>
				<case tag="man_made" value="silo"/>
				<case tag="man_made" value="reservoir_covered"/>
				<case tag="man_made" value="chimney"/>
				<case tag="man_made" value="tower"/>
				<case tag="military" value="bunker"/>
				<case tag="military" value="barracks"/>
				<apply color="#666666" color_2="#000000"/>
				<apply>
					<switch>
						<case additional="ruins=yes"/>
						<apply color="#99ababab" color_2="#000000" pathEffect_2="9_3"/>
					</switch>
				</apply>
				<apply_if minzoom="16" strokeWidth_2="1:1"/>
			</switch>
			<case tag="building" value="construction" color="#999999" color_2="#666666" pathEffect_2="8_4">
				<apply_if minzoom="16" strokeWidth_2="1:1"/>
			</case>

			<case tag="building" value="pyramid" color="#be865d" color_2="#000000" strokeWidth_2="0.7">
				<apply_if nightMode="true" color="#665228" />
			</case>

			<apply_if minzoom="16" strokeWidth_2="1:1"/>
		</switch>

		<switch noPolygons="false">
			<!-- area: -->
			<switch >
				<switch minzoom="12">
					<case tag="area:highway" value="motorway"/>
					<case tag="area:highway" value="trunk"/>
					<case tag="area:highway" value="primary"/>
					<case tag="area:highway" value="secondary"/>
					<case tag="area:highway" value="tertiary"/>
					<case tag="area:highway" value="road"/>
					<case tag="area:highway" value="unclassified"/>
					<case tag="area:highway" value="residential"/><!--
					<case tag="man_made" value="bridge"/>-->
					<apply color="#E9E9E9" color_2="#000000" strokeWidth_2="1:1"/>
				</switch>
				<switch minzoom="14">
					<case tag="area:highway" value="pedestrian"/>
					<case tag="area:highway" value="footway"/>
					<apply_if minzoom="16" >
						<switch>
							<case additional="surface=sett"/>
							<case additional="surface=cobblestone"/>
							<case additional="surface=paving_stones"/>
							<apply shader="paving_stones"/>
						</switch>
					</apply_if>
					<apply_if minzoom="14">
						<case color="#ececec" color_2="#cccccc" strokeWidth_2="1:1"/>
					</apply_if>
					<apply_if baseAppMode="car" shader="" color="#f0e0d8" color_2="#44aaaaaa"/>
				</switch>
				<switch minzoom="14">
					<case tag="area:highway" value="service"/>
					<case minzoom="16" tag="area:highway" value="cycleway"/>
					<apply color="#ececec" color_2="#000000" strokeWidth_2="1:1"/>
				</switch>
				<switch>
					<case minzoom="16" tag="area:highway" value="track"/>
					<apply color="#e7e7e7" color_2="#444444" pathEffect_2="8_2" strokeWidth_2=":1"/>
				</switch>
			</switch>
			
			<case minzoom="12" tag="landuse" value="cemetery" shader="topo_cemetery_small" strokeWidth_2="0.5" color_2="#222222">
				<case minzoom="13" shader="topo_cemetery">
					<apply_if additional="religion=christian" shader="topo_cemetery_christian"/>
					<apply_if additional="religion=jewish" shader="topo_cemetery_jewish"/>
					<apply_if additional="religion=muslim" shader="topo_cemetery_muslim"/>
				</case>
			</case>
			<case minzoom="14" tag="landuse" value="construction" color="#89eadccf" shader="topo_construction" strokeWidth_2="1" color_2="#222222" pathEffect_2="2_4"/>
			<case minzoom="13" tag="landuse" value="landfill" color="#DEDECF">
				<apply_if minzoom="14" shader="topo_landfill"/>
			</case>
			<case minzoom="13" tag="man_made" value="spoil_heap">
				<apply_if lessDetailed="false" color="#66d9d5d2"/>
				<apply_if lessDetailed="true" minzoom="15" color="#66d9d5d2"/>
			</case>
			<case minzoom="14" tag="landuse" value="logging" color_0="#fbfde6">
				<apply_if minzoom="15" shader="topo_logging"/>
			</case>

			<case minzoom="11" tag="leisure" value="beach_resort" color="#e6d4a9" strokeWidth_2="1" color_2="#ad862b"/>
			<case minzoom="11" tag="leisure" value="resort" color="#88A4E0A6" strokeWidth_2="1" color_2="#97CF99"/>

			<case minzoom="11" tag="natural" value="beach" shader="beach3"/>
			<case minzoom="11" tag="natural" value="sand" shader="topo_sand"/>
			<case minzoom="15" tag="geological" value="outcrop" strokeWidth_2="1" color="#22653f3f" color_2="#886a6a"/>
			<case minzoom="14" tag="natural" value="fell" color_0="#f3ffef"/>

			<switch minzoom="15">
				<case tag="sport" value="climbing" additional="climbing_crag=crag"/>
				<apply_if maxzoom="17" strokeWidth_2="3" pathEffect_2="5_2"/>
				<apply_if minzoom="18" strokeWidth_2="4" pathEffect_2="6_3"/>
				<apply color="$null" color_2="#66903A33"/>
			</switch>

			<case minzoom="6" tag="natural" value="desert" color="#fff7bf"/>

			<!-- bois  -->
			<switch minzoom="6" >
				<case tag="natural" value="wood"/>
				<case tag="landuse" value="forest"/>
				<case tag="natural" value="tree"/>
				<case tag="natural" value="tree_row"/>
				<apply color_0="#dff0e0"  /><!--
				<apply_if minzoom="15" color_0="#dff0e0"  shader="topo_wood_broadleaved"/>-->
			</switch>
			
			<!-- maquis  -->
			<switch minzoom="10">
				<case tag="natural" value="scrub" />
				<case minzoom="15" tag="landuse" value="greenfield"/>
				<case minzoom="15" tag="landuse" value="brownfield"/>
				<apply color_0="#f6ffdc"  />
			</switch>
			<!-- lande -->
			<switch minzoom="10">
				<case tag="natural" value="heath" />
				<apply color_0="#f6ffdc"  shader=""/>
			</switch>
			
			<!-- vigne -->
			<switch minzoom="10">
				<case tag="landuse" value="vineyard" color="#FFF6FC" />
				<apply_if minzoom="12" color_2="#F6ecF0" strokeWidth_2="1:1"/>
			</switch>
			
			
			<!-- cultures -->
			<switch minzoom="6" color="#20ffcc66">
				<case minzoom="10" tag="landuse" value="allotments" />
				<case minzoom="6" tag="landuse" value="farmland" />
				<case minzoom="12" tag="landuse" value="orchard" />
				<case minzoom="12" tag="landuse" value="plant_nursery"/><!--
				<apply_if minzoom="12" color_2="#30ffcc66" strokeWidth_2="2:2"/>-->
			</switch>
			
			<!-- prairie -->
			<switch minzoom="6" color="#f3ffef" >
				<case tag="natural" value="grassland"/>
				<case tag="landuse" value="meadow"/>
			</switch>
			
			<!-- pelouse -->
			<switch minzoom="11">
				<case tag="landuse" value="grass"/>
				<apply color="#f3ffef"/>
			</switch>
			
			<!-- glacier -->
			<switch minzoom="4" tag="natural" value="glacier">
				<case maxzoom="8" strokeWidth_2="1"/>
				<case minzoom="9" maxzoom="11" strokeWidth_2="1.5" pathEffect_2="2_3"/>
				<case minzoom="11" strokeWidth_2="1.5" pathEffect_2="3_5"/>
				<apply color="#E4FDFF" color_2="#99ccff"/>
			</switch>

			<!-- residential -->
			<case minzoom="9" tag="landuse" value="residential" color="#70BBBBBB">
				<apply>
					<switch minzoom="11" additional="residential=rural">
						 <case maxzoom="14" color="#70666666"/>
						 <case minzoom="15" color="#70ABABAB"/>
					</switch>
					<switch minzoom="11" additional="residential=urban">
						 <case maxzoom="14" color="#FFA577"/>
						 <case minzoom="15" color="#70F2D3B6"/>
					</switch>
				</apply>
			</case>
			
			<case minzoom="11" tag="landuse" value="industrial" color="#60f9eff9"/>
			<case minzoom="12" tag="landuse" value="railway" color="#EDE8EB"/>
			<case minzoom="14" tag="landuse" value="garages" color="#EDE8EB"/>

			<case minzoom="13" tag="man_made" value="pier" color="#ffffff"/>
			
			<case minzoom="12" tag="landuse" value="farmyard" color="#ffffef"/>
			
			<!-- parcs -->
			<switch minzoom="12">
				<case tag="landuse" value="recreation_ground" />
				<case tag="landuse" value="village_green" />
				<case tag="leisure" value="garden" />
				<case tag="leisure" value="park" />
				<apply color="#efffef" />
			</switch>
			
			<!-- sport -->
			<switch minzoom="12">
				<case tag="leisure" value="stadium" color_2="#777777"/>
				<case minzoom="15" tag="leisure" value="pitch" color_2="#CCCCCC"/>
				<case minzoom="16" tag="leisure" value="bleachers" color_2="#CCCCCC"/>
				<apply color="#F0F7F0" strokeWidth_2="1"/>
			</switch>
			
			<!-- Tourism -->
			<switch>
				<case minzoom="13" tag="tourism" value="attraction"/>
				<case minzoom="16" tag="tourism" value="artwork"/>
				<case minzoom="15" tag="amenity" value="place_of_worship">
					<apply>
						<switch>
							<case additional="ruins=yes"/>
							<case additional="abandoned=yes"/>
							<apply_if maxzoom="15" pathEffect_2="4_2"/>
							<apply_if minzoom="16" pathEffect_2="9_3"/>
						</switch>
					</apply>
				</case>
				<case minzoom="13" tag="amenity" value="monastery"/>
				<case minzoom="13" tag="historic" value="memorial"/>
				<case minzoom="13" tag="landuse" value="religious"/>
				<case minzoom="13" tag="historic" value="ship"/>
				<case minzoom="16" tag="historic" value="aircraft"/>
				<case minzoom="16" tag="historic" value="tank"/>
				<apply color="#41ffc6a4"/>
			</switch>
			
			<switch minzoom="14" pathEffect_2="10_3">
				<case tag="historic" value="ruins" color="#20c4583a" color_2="#669a3300"/>
				<case tag="historic" value="archaeological_site" color="#20a7783a" color_2="#aaa7783a"/>
				<case tag="geological" value="palaeontological_site" color="#20a7783a" color_2="#aaa79f95"/>
				<apply_if maxzoom="16" strokeWidth_2="1:1"/>
				<apply_if minzoom="17" strokeWidth_2="1.5:1.5"/>
			</switch>

			<case minzoom="8" tag="boundary" value="forestry_compartment">
				<apply strokeWidth_2="1" color_2="#55AFFCAF"/>
			</case>

			<!-- nature_reserve -->
			<switch >
				<switch minzoom="8">
					<case tag="leisure" value="nature_reserve" />
					<!-- redondant, tous les parcs nationaux sont nature-reserve
					<case tag="boundary" value="national_park" />-->
					<apply_if hideAccess="false" color_2="#20ff0000" >
						<case maxzoom="12" color="#20ff0000" strokeWidth_2="3:3"/>
						<case maxzoom="14" color="#15ff0000" strokeWidth_2="5:5"/>
						<case maxzoom="15" color="#10ff0000" strokeWidth_2="7:7"/>
						<case minzoom="16" color="#10ff0000" strokeWidth_2="9:9" />
					</apply_if>
					<apply_if additional="boundary=protected_area" color="#000000" color_2="#000000" />
				</switch>
				<!-- PNR pas interdit aux motorisés tri sur level de protection ne fonctionnent pas-->
				<switch minzoom="8">
					<case  tag="boundary" value="protected_area" >
						<switch>
							<case additional="leisure=nature-reserve"  />
							<apply color="#000000" color_2="#000000"/>
						</switch>
						<switch>
							<case additional="iucn_level=5"  />
							<case additional="protect_class=5"  />
							<apply color_2="#2000ff00">
								<case minzoom="8" maxzoom="11" color="#2000ff00" strokeWidth_2="3:3"/>
								<case minzoom="12" maxzoom="13" color="#1000ff00" strokeWidth_2="5:5"/>
								<case minzoom="14" color="#0500ff00" strokeWidth_2="10:10"/>
							</apply><!---->
						</switch>
						<apply color="#000000ff" color_2="#0000ff00" strokeWidth_2="5:5"/>
					</case>
				</switch>
			</switch>
			
			<!-- carriere -->
			<case minzoom="11" tag="landuse" value="quarry" color_2="#6F6357" strokeWidth_2="2" pathEffect_2="2_2">
				<case additional="resource=peat" shader="topo_quarry_peat"/>
				<case additional="resource=salt" shader="topo_quarry_salt" color_2="#1a7fc7"/>
				<case color="#3398725D"/>
			</case>

			<switch minzoom="11" color="#d4aaaa" color_2="#000000" strokeWidth_2="0.4">
				<case tag="railway" value="station"/>
				<case tag="aerialway" value="station"/>
				<case tag="amenity" value="ferry_terminal"/>
			</switch>

			<case minzoom="10" tag="abandoned:landuse" value="military" shader="diagonal_dustygray_small_shader" color_2="#AD9696" strokeWidth_2="1.5">
				<apply_if minzoom="14" shader="diagonal_dustygray_shader"/>
			</case>

			<switch>
				<case minzoom="12" tag="abandoned:landuse" value="industrial"/>
				<case minzoom="11" tag="abandoned:landuse" value="railway"/>
				<case minzoom="11" tag="abandoned:landuse" value="residential"/>
				<case minzoom="11" tag="abandoned:landuse" value="garages"/>
				<switch>
					<case minzoom="12" tag="abandoned:landuse" value=""/>
					<case minzoom="11" tag="abandoned:place" value=""/>
				</switch>
				<apply shader="diagonal_gray_shader" strokeWidth_2="0.5" color_2="#454545">
					<apply_if minzoom="15" shader="diagonal_gray_large_shader"/>
				</apply>
			</switch>
			<switch minzoom="13">
				<case tag="power" value="plant" color="#bbbbbb"/>
				<case tag="power" value="generator" color="#bbbbbb"/>
				<case tag="power" value="substation" color="#bbbbbb"/>
			</switch>
			<case minzoom="16" tag="man_made" value="reinforced_slope" color="#d6d6d6"/>

			<switch minzoom="14" tag="man_made" value="bunker_silo">
				<case moreDetailed="false" minzoom="15"/>
				<case moreDetailed="true"/>
				<apply color="$defaultColor" color_2="#AAAAAA" strokeWidth_2="1"/>
			</switch>

			<switch minzoom="11">
				<case tag="natural" value="crater"/>
				<case tag="natural" value="volcano"/>
				<case minzoom="15" tag="natural" value="sinkhole"/>
				<apply color="#22653f3f" color_2="#886a6a"/>
				<apply>
					<case maxzoom="11" strokeWidth_2="0.5"/>
					<case maxzoom="12" strokeWidth_2="0.7"/>
					<case maxzoom="13" strokeWidth_2="1:1"/>
					<case maxzoom="14" strokeWidth_2="1.5:1.5"/>
					<case maxzoom="15" strokeWidth_2="2:2"/>
					<case minzoom="16" strokeWidth_2="2.3:2.3"/>
				</apply>
			</switch>
			<case minzoom="15" tag="natural" value="crevasse" color="#22653f3f" color_2="#886a6a" strokeWidth_2="1"/>
			<case minzoom="13" tag="glacial" value="crevasse_zone" color_0="#10653f3f" strokeWidth_2="1">
				<apply_if minzoom="15" shader="topo_crevasse_zone"/>
			</case>

			<!-- Polygon railway -->
			<switch minzoom="11" color="#33888888" color_2="#000000" strokeWidth_2="0.4">
				<case tag="railway" value="station"/>
				<case tag="aerialway" value="station"/>
				<case tag="amenity" value="ferry_terminal"/>
			</switch>
			<case minzoom="11" tag="public_transport" value="station" color="#d4aaaa"/>
			<case minzoom="15" tag="public_transport" value="platform" color="#bababa">
				<apply_if additional="disused=yes" color="#44888888"/>
			</case>

			<case minzoom="11" tag="amenity" value="prison" shader="prison" color_2="#aaaaaa" strokeWidth_2="1:1"/>

			<!-- Aeroway -->
			<switch minzoom="12">
				<case tag="aeroway" value="aerodrome" color="#ECEEF1">
					<apply_if additional="aerodrome:type=military" shader="diagonal_red_small_shader" color_2="#ad0b0b" strokeWidth_2="1.5"/>
				</case>
				<case tag="abandoned:aeroway" value="aerodrome" shader="diagonal_gray_shader"/>
			</switch>
			<case hideBuildings="false" minzoom="14" tag="aeroway" value="terminal" color="#222222"/>
			<case minzoom="13" tag="aeroway" value="apron" color_2="#333333" strokeWidth_2="1"/>
			<switch minzoom="13">
				<case tag="aeroway" value="runway" color_2="#333333" strokeWidth_2="1"/>
				<case tag="abandoned:aeroway" value="runway" color_2="#66333333" strokeWidth_2="1" shader="diagonal_gray_shader"/>
			</switch>
			<case minzoom="18" tag="aeroway" value="helipad" color_2="#333333" strokeWidth_2="1"/>
			
			<!-- marais -->
			<switch minzoom="10">
				<case tag="natural" value="wetland" />
				<apply color_0="#f6ffdc"  shader=""/>
				<apply_if minzoom="11" maxzoom="17"  color_0="#f6ffdc"  shader="marsh"/>
			</switch>
			
			<switch>
				<case minzoom="13" tag="waterway" value="dam" strokeWidth_2="1:1"/>
				<case minzoom="15" tag="waterway" value="weir" strokeWidth_2="1:1"/>
				<apply color="#33444444" color_2="#333333"/>
			</switch>

			<!-- militaire -->
			<switch>
				<case minzoom="10" tag="landuse" value="military"/>
				<case minzoom="10" tag="military" value="danger_area"/>
				<apply shader="diagonal_red_small_shader" color_2="#ad0b0b" strokeWidth_2="1.5"/>
				<apply_if minzoom="14" shader="diagonal_red_shader"/>
			</switch>

			<case minzoom="10" tag="landuse" value="basin" additional="basin=detention" color="#337ad1ed" strokeWidth_2="1:0" color_2="#7479ec" pathEffect_2="7_5"/>
			<case minzoom="4" tag="natural" value="bay"/>

			<!-- water -->
			<switch >
				<switch>
					<case minzoom="1" tag="natural" value="coastline"/>
					<switch>
						<case minzoom="4" tag="natural" value="water"/>
						<case minzoom="10" tag="waterway" value="riverbank"/>
						<case minzoom="7" tag="landuse" value="reservoir"/>
						<case minzoom="7" tag="landuse" value="water"/>
						<case minzoom="10" tag="landuse" value="basin"/>
						<apply color_2="#90c0ff" strokeWidth_2="1"/>
					</switch>
				</switch>
				<switch>
					<case minzoom="15" tag="leisure" value="swimming_pool"/>
					<case minzoom="15" tag="landuse" value="salt_pond"/>
					<case minzoom="16" tag="amenity" value="fountain"/>
					<case minzoom="16" tag="natural" value="hot_spring"/>
					<case minzoom="16" tag="natural" value="geyser"/>
					<apply color_2="#7479ec" strokeWidth_2="1.3:0"/>
				</switch>
				<case minzoom="10" tag="waterway" value="dock" color_2="#aa8387d5" strokeWidth_2="3"/>
				<apply color="#7ad1ed"/>
				<apply_if additional="intermittent=yes" strokeWidth_2="1:0" color_2="#7479ec" pathEffect_2="7_5"/>
			</switch>
			
			<!-- private --><!--
			<apply>
				<switch hideAccess="false" minzoom="18">
					<case additional="access=private"/>
					<case additional="access=no"/>
					<apply color_2="#10ff0000" >
						<case color="#05ff0000" color_2="#15ff6666" strokeWidth_2="15:15" />
					</apply>
				</switch>
			</apply>-->
				
		</switch>
		
		<switch>
			<case tag="place" value="island"/>
			<case tag="place" value="islet"/>
			<case tag="natural" value="land"/>
			<apply color="$defaultColor"/>
		</switch>

		<!-- barrière -->
		<case minzoom="16" tag="barrier" value="hedge" color="#aed1a0" color_2="#aed1a0" strokeWidth_2="1"/>
		<case minzoom="14" tag="barrier" value="city_wall">
			<case minzoom="14" strokeWidth_2="1:1"/>
		</case>
		<case minzoom="14" tag="barrier" value="castle_wall">
			<case maxzoom="14" strokeWidth_2="1"/>
			<case maxzoom="15" strokeWidth_2="1:"/>
			<case maxzoom="16" strokeWidth_2="1.5:1.4"/>
			<case minzoom="17" strokeWidth_2="2.5:2.5"/>
			<apply color="#77999999" color_2="#888888" cap_2="SQUARE"/>
		</case>
		<switch minzoom="16">
			<case tag="barrier" value="wall"/>
			<apply color="#44999999" color_2="#333333" strokeWidth_2="0.7"/>
		</switch>
		<switch minzoom="16">
			<case tag="barrier" value="fence"/>
			<apply color="$null" color_2="#333333" pathEffect="1_5" strokeWidth_2="0.7"/>
		</switch>

	</polygon>

	<line>
		<case minzoom="1" tag="natural" value="coastline_broken" color="#111111" strokeWidth=":1"/>
		<case minzoom="5" tag="natural" value="coastline_line" color="#4580cf" strokeWidth=":1"/>

		<!-- autoroute -->
		<switch minzoom="6" cap="BUTT">
			<case tag="highway" value="motorway" color="#ffff66" shadowColor="#ff0000"/>
			<case tag="highway" value="motorway_link" color="#ffff66" shadowColor="#ff0000"/>
			<case tag="highway" value="trunk" color="#ffffff" shadowColor="#ff0000"/>
			<case tag="highway" value="trunk_link" color="#ffffff" shadowColor="#ff0000"/>
			<apply shadowRadius="2:2">
				<case maxzoom="6" strokeWidth="0.5"/>
				<case maxzoom="8" strokeWidth="1:1"/>
				<case maxzoom="9" strokeWidth="1.2:1.2"/>
				<case maxzoom="10" strokeWidth="1.4:1.4"/>
				<case maxzoom="11" strokeWidth="1.5:1.5"/>
				<case maxzoom="12" strokeWidth="1.6:1.6"/>
				<case maxzoom="13" strokeWidth="1.7:1.7" />
				<case maxzoom="14" strokeWidth="1.8:1.8" />
				<case maxzoom="15" strokeWidth="1.9:1.9" />
				<case maxzoom="16" strokeWidth="2.0:2.0" />
				<case maxzoom="17" strokeWidth="5:5" />
				<case minzoom="18" strokeWidth="8:8" />
			</apply>
			<!-- tunnels -->
			<apply_if additional="tunnel=yes" pathEffect="5_5" />
			<apply_if additional="covered=yes" pathEffect="5_5"/>
			<apply_if additional="bridge=yes" minzoom="13" shadowRadius="0" >
				<case maxzoom="13" strokeWidth_0="3.5:3.5"/>
				<case maxzoom="14" strokeWidth_0="4.5:4.5"/>
				<case maxzoom="15" strokeWidth_0="6:6"/>
				<case maxzoom="16" strokeWidth_0="8:8"/>
				<case maxzoom="17" strokeWidth_0="10:10"/>
				<case minzoom="18" strokeWidth_0="14:14"/>
				<apply color_0="#990000" />
			</apply_if>
		</switch>
		
		<!-- routes -->
		<switch cap="BUTT">
			<!-- primary  -->				
			<switch minzoom="6">
				<switch>
					<case tag="highway" value="primary"/>
					<case tag="highway" value="primary_link"/>
				</switch>
				<apply>
					<case maxzoom="6" strokeWidth="1:1"/>
					<case maxzoom="7" strokeWidth="1.2:1.2"/>
					<case maxzoom="9" strokeWidth="1.6:1.6"/>
					<case maxzoom="10" strokeWidth="2:2"/>
					<case maxzoom="11" strokeWidth="2.5:2.5"/>
					<case maxzoom="12" strokeWidth="3:3"/>
					<case maxzoom="13" strokeWidth="3.5:3.5" strokeWidth_3="3.5:3.5"/>
					<case maxzoom="14" strokeWidth="4:4" strokeWidth_3="4:4"/>
					<case maxzoom="15" strokeWidth="5.5:5.5" strokeWidth_3="5.5:5.5"/>
					<case maxzoom="16" strokeWidth="7:7" strokeWidth_3="7:7"/>
					<case maxzoom="17" strokeWidth="8.5:8.5" strokeWidth_3="8.5:8.5"/>
					<case maxzoom="18" strokeWidth="10:10" strokeWidth_3="10:10"/>
					<case minzoom="19" strokeWidth="11.5:11.5" strokeWidth_3="11.5:11.5"/>
				</apply>
				<apply color="#FF6666" shadowColor="#990000" />
				<apply minzoom="6" shadowRadius="1.2:1.2"/>
				<apply_if cheminfin="true" maxzoom="11" shadowRadius="0.9:1"/>
				<apply_if bluestacks="true" maxzoom="13" shadowRadius="0.5:1"/>
			</switch>

			<!-- secondary -->
			<switch minzoom="9">
				<switch>
					<case tag="highway" value="secondary"/>
					<case tag="highway" value="secondary_link"/>
				</switch>
				<apply>
					<case maxzoom="9" strokeWidth="1.6:1.6"/>
					<case maxzoom="10" strokeWidth="1.7:1.7"/>
					<case maxzoom="11" strokeWidth="1.9:1.9"/>
					<case maxzoom="12" strokeWidth="2.3:2.3"/>
					<case maxzoom="13" strokeWidth="2.5:2.5" />
					<case maxzoom="14" strokeWidth="4:4" />
					<case maxzoom="15" strokeWidth="5.5:5.5" />
					<case maxzoom="16" strokeWidth="7:7" />
					<case maxzoom="17" strokeWidth="8.5:8.5" />
					<case maxzoom="18" strokeWidth="10:10" />
					<case minzoom="19" strokeWidth="11.5:11.5" />
					<apply color="#FFcc00" shadowColor="#000000" />
					<apply minzoom="9"  shadowRadius="1.2:1.2"/>
					<apply_if cheminfin="true" maxzoom="11" shadowRadius="0.9:1"/>
					<apply_if bluestacks="true" maxzoom="13" shadowRadius="0.5:1"/>
				</apply>
			</switch>

			<!-- tertiary -->
			<switch minzoom="11">
				<switch>
					<case tag="highway" value="tertiary"/>
					<case tag="highway" value="tertiary_link"/>
				</switch>
				<apply>
					<case maxzoom="11" strokeWidth="1.9:1.9"/>
					<case maxzoom="12" strokeWidth="2.2:2.2"/>
					<case maxzoom="13" strokeWidth="2.5:2.5"/>
					<case maxzoom="14" strokeWidth="3:3"/>
					<case maxzoom="15" strokeWidth="4:4"/>
					<case maxzoom="16" strokeWidth="5:5"/>
					<case maxzoom="17" strokeWidth="6.75:6.75"/>
					<case maxzoom="18" strokeWidth="9:9" />
					<case minzoom="19" strokeWidth="10.5:10.5"/>
					<apply color="#FFff99" shadowColor="#000000" />
					<apply minzoom="11"  shadowRadius="1.2:1.2"/>
					<apply_if cheminfin="true" maxzoom="11" shadowRadius="0.9:1"/>
					<apply_if bluestacks="true" maxzoom="13" shadowRadius="0.5:1"/>
				</apply>
			</switch>

			<!-- unclassified -->
			<switch minzoom="12">
				<switch>
					<case tag="highway" value="unclassified"/>
				</switch>
				<apply> 
					<case maxzoom="12" strokeWidth="1.7"/>
					<case maxzoom="14" strokeWidth="1.9:1.9"/>
					<case maxzoom="15" strokeWidth="2.5:2.5" />
					<case maxzoom="16" strokeWidth="4.5:4.5"/>
					<case maxzoom="17" strokeWidth="6:6"/>
					<case maxzoom="18" strokeWidth="9:9"/>
					<case minzoom="19" strokeWidth="10.5:10.5"/>
					<apply color="#ffffff" shadowColor="#000000" shadowRadius="1:1" />
					<apply_if cheminfin="true" maxzoom="15" shadowRadius="0.9:1"/>
					<apply_if bluestacks="true" maxzoom="15" shadowRadius="0.6:1"/>
				</apply>
			</switch>
			
			<!-- residential -->
			<switch minzoom="12">
				<switch>
					<case tag="highway" value="residential" />
					<case minzoom="13" tag="highway" value="living_street" />
				</switch>
				<apply> 
					<case maxzoom="12" strokeWidth="1.7"/>
					<case maxzoom="14" strokeWidth="1.9:1.9"/>
					<case maxzoom="15" strokeWidth="2.5:2.5" />
					<case maxzoom="16" strokeWidth="4.5:4.5"/>
					<case maxzoom="17" strokeWidth="6:6"/>
					<case maxzoom="18" strokeWidth="9:9"/>
					<case minzoom="19" strokeWidth="10.5:10.5"/>
					<apply color="#ffffff" shadowColor="#000000" shadowRadius="0.9:1.1" />
					<apply_if cheminfin="true" maxzoom="15" shadowRadius="0.8:1"/>
					<apply_if bluestacks="true" maxzoom="15" shadowRadius="0.6:1"/>
				</apply>
			</switch>

			<!-- voie de service -->
			<switch minzoom="12">					
				<switch>
					<case tag="highway" value="service"  />
					<apply_if layer="-1" disable="true" />
					<apply  >
						<case maxzoom="12" strokeWidth="1.7"/>
						<case maxzoom="14" strokeWidth="1.9:1.9"/>
						<case maxzoom="15" strokeWidth="2.5:2.5" />
						<case maxzoom="16" strokeWidth="4.5:4.5"/>
						<case maxzoom="17" strokeWidth="6:6"/>
						<case maxzoom="18" strokeWidth="9:9"/>
						<case minzoom="19" strokeWidth="10.5:10.5"/>
						<apply color="#fff0e0" shadowColor="#000000" shadowRadius="0.9:1" />
						<apply_if cheminfin="true" maxzoom="15" shadowRadius="0.8:1"/>
						<apply_if bluestacks="true" maxzoom="15" shadowRadius="0.6:1"/>
					</apply>
				</switch>
			</switch>	

			<!-- circuit -->
			<switch minzoom="12">					
				<switch minzoom="14" tag="highway" value="raceway" color_0="#000000">
					<case maxzoom="14" strokeWidth="1:1" shadowRadius="1"/>
					<case maxzoom="15" strokeWidth="1.5:1.5" shadowRadius="1"/>
					<case maxzoom="16" strokeWidth="2.5:2.5" shadowRadius="2"/>
					<case maxzoom="17" strokeWidth="4:4" shadowRadius="2"/>
					<case minzoom="18" strokeWidth="5:5" shadowRadius="2"/>
					<apply color="#ececec" cap="ROUND" shadowColor="#9F4408"/>
					<apply_if bluestacks="true" maxzoom="15" shadowRadius="0.7:1"/>
				</switch>
			</switch>

			<!-- rue pedestre -->					
			<switch minzoom="13">					
				<case tag="highway" value="pedestrian" cap="ROUND"/>
				<apply color="#ccffcc" shadowColor="#006600" color_0="#006600" shadowRadius="0.9:1" >
					<case minzoom="15" maxzoom="15" strokeWidth="2:2"/>
					<case minzoom="16" maxzoom="16" strokeWidth="3:3"/>
					<case minzoom="17" maxzoom="17" strokeWidth="4.5:4.5"/>
					<case minzoom="18" maxzoom="18" strokeWidth="6:6"/>
					<case minzoom="19" strokeWidth="9.5:9.5"/>
					<apply_if bluestacks="true" maxzoom="15" shadowRadius="0.6:1"/>
				</apply>
			</switch>					
				
			<!-- routes abandonnées -->					
			<switch minzoom="12">										
				<switch minzoom="14">
					<case tag="abandoned:highway" value="motorway"/>
					<case tag="abandoned:highway" value="motorway_link"/>
					<case tag="abandoned:highway" value="trunk"/>
					<case tag="abandoned:highway" value="primary"/>
					<case tag="abandoned:highway" value="secondary"/>
					<case tag="abandoned:highway" value="tertiary"/>
					<case tag="abandoned:highway" value="unclassified"/>
					<case tag="abandoned:highway" value="residential"/>
					<case tag="abandoned:highway" value="service"/>
					<apply color="#55ffffff" pathEffect="20_7" shadowRadius="1" shadowColor="#333333" cap="BUTT" color_0="#000000">
						<switch>
							<case minzoom="15" maxzoom="15" strokeWidth="2:2"/>
							<case minzoom="16" maxzoom="16" strokeWidth="3.5:3.5"/>
							<case minzoom="17" maxzoom="17" strokeWidth="5:5"/>
							<case minzoom="18" maxzoom="18" strokeWidth="8:8"/>
							<case minzoom="19" strokeWidth="9.5:9.5"/>
						</switch>
						<apply_if bluestacks="true" maxzoom="15" shadowRadius="0.7:1"/>
					</apply>
				</switch>
			</switch>

			<!-- en construction -->					
			<switch minzoom="12">			
				<apply_if additional="construction=yes" cap="BUTT" shadowRadius="0" color_0="#ffffff">
					<case maxzoom="14" strokeWidth="1:1" strokeWidth_0="1:1" pathEffect="3_4" strokeWidth__1="1.4:1.5"/>
					<case maxzoom="15" strokeWidth="2:2" strokeWidth_0="2:2" pathEffect="3_5" strokeWidth__1="2.4:2.6"/>
					<case maxzoom="16" strokeWidth="3:3" strokeWidth_0="3:3" pathEffect="4_8" strokeWidth__1="3.5:4.2"/>
					<case maxzoom="17" strokeWidth="4:4" strokeWidth_0="4:4" pathEffect="6_10" strokeWidth__1="4.7:5.8"/>
					<case maxzoom="18" strokeWidth="5:5" strokeWidth_0="5:5" pathEffect="7_12" strokeWidth__1="5.7:6.7"/>
					<case minzoom="19" strokeWidth="6:6" strokeWidth_0="6:6" pathEffect="7_12" strokeWidth__1="6.8:7.7"/>
				</apply_if>
			</switch>					
		
			<!-- interdiction -->
			<apply>
				<switch hideAccess="false" minzoom="13" cap_3="BUTT">
					<switch >
						<switch>
							<case additional="vehicle=private"/>
							<case additional="vehicle=no"/>
							<case additional="motor_vehicle=private"/>
							<case additional="motor_vehicle=no"/>
							<case additional="motorcar=private"/>
							<case additional="motorcar=no"/>
							<apply color_3="$accessPrivateColor"/>
						</switch>
						<switch>
							<case additional="vehicle=yes"/>
							<case additional="motor_vehicle=yes"/>
							<case additional="motorcar=yes"/>
						</switch>
					</switch>
					<switch>
						<case additional="access=private" color_3="$accessPrivateColor"/>
						<case additional="access=no" color_3="$accessPrivateColor"/>
						<case additional="access=customers" color_3="$accessCustomersColor"/>
					</switch>
				</switch>
			</apply>

			<!-- tunnels -->
			<apply_if additional="tunnel=yes" pathEffect="5_5" />
			<apply_if additional="covered=yes" pathEffect="5_5"/>

			<!-- Bridges -->
			<apply_if additional="bridge=yes" minzoom="13" shadowRadius="0" cap="SQUARE" >
				<case maxzoom="13" strokeWidth_0="5:5"/>
				<case maxzoom="14" strokeWidth_0="6:6"/>
				<case maxzoom="15" strokeWidth_0="9:9"/>
				<case maxzoom="16" strokeWidth_0="12:12"/>
				<case maxzoom="17" strokeWidth_0="15:15"/>
				<case minzoom="18" strokeWidth_0="18:18"/>
				<apply color_0="#666666" />
			</apply_if>
			
		</switch>

		<!-- chemins -->
		<switch strokeWidth="0.1">
			<!-- chemins surface cricri -->	
			<case tag="highway" value="track" >
				<apply_if lessDetailed="false">
					<!-- facile -->
					<switch >
						<case additional="tracktype=grade1" />
						<case additional="tracktype=grade2" />
						<case additional="smoothness=intermediate" />
						<case additional="smoothness=good" />
						<case additional="smoothness=excellent" />
						<case additional="surface=paved" />
						<case additional="surface=asphalt" />
						<case additional="surface=concrete" />
						<case additional="surface=concrete:lanes" />
						<case additional="surface=concrete:plates" />
						<case additional="surface=paving_stones" />
						<case additional="surface=sett" />
						<case additional="surface=cobblestone" />
						<case additional="surface=compacted" />
						<case additional="surface=fine_gravel" />
						<case additional="mtb:scale=0" />
						<apply minzoom="12" color_5="$trackColor">
							<case maxzoom="12" strokeWidth_5="0.9:1"/> 
							<case maxzoom="13" strokeWidth_5="1.3:1.3"/> 
							<case maxzoom="14" strokeWidth_5="1.75:1.75"/> 
							<case minzoom="15" strokeWidth_5="2:2"/> 
						</apply >
						<apply_if bluestacks="true" minzoom="12" color_5="$trackColor">
							<case maxzoom="12" strokeWidth_5="0.7:1"/>
							<case maxzoom="13" strokeWidth_5="0.9:1"/> 
							<case maxzoom="14" strokeWidth_5="1.5:1.5"/> 
							<case maxzoom="15" strokeWidth_5="1.75:1.75"/> 
						</apply_if>
					</switch>
					<!-- carrossable -->
					<switch >
						<case additional="tracktype=grade3" />
						<case additional="smoothness=bad" />
						<case additional="surface=gravel" />
						<case additional="surface=pebblestone" />
						<case additional="mtb:scale=1" />
						<apply minzoom="13" color_5="$trackColor" pathEffect_5="15_4">
							<case maxzoom="13" strokeWidth_5="1.3:1.3"/> 
							<case maxzoom="14" strokeWidth_5="1.75:1.75"/> 
							<case minzoom="15" strokeWidth_5="2:2"/> 
						</apply>
							<apply_if minzoom="13" bluestacks="true" pathEffect_5="15_4">
								<case maxzoom="13" strokeWidth_5="1:1"/>
								<case maxzoom="14" strokeWidth_5="1.5:1.5"/>
								<case maxzoom="15" strokeWidth_5="1.75:1.75"/> 
							</apply_if>
					</switch>
					<!-- medium -->
					<switch>
						<case additional="tracktype=grade4" />
						<case additional="smoothness=very_bad" />
						<case additional="surface=unpaved" />
						<case additional="surface=ground" />
						<case additional="surface=dirt" />
						<case additional="surface=earth" />
						<case additional="surface=grass" />
						<case additional="mtb:scale=2" />
						<apply minzoom="13" maxzoom="13" strokeWidth_5="1.3:1.3"/> 
						<apply minzoom="14" strokeWidth_5="1.75:1.75"/> 
							<apply_if bluestacks="true" minzoom="13" maxzoom="13" strokeWidth_5="1:1"/>
							<apply color_5="$trackColor_2"/>																
					</switch>
					<!-- hard -->
					<switch >
						<case additional="tracktype=grade5" />
						<case additional="smoothness=very_horrible"/>
						<case additional="smoothness=horrible" />
						<case additional="surface=mud" />
						<case additional="surface=sand" />
						<case additional="mtb:scale=3" />
						<apply minzoom="13" maxzoom="13" pathEffect_5="9_3" strokeWidth_5="1.3:1.3"/> 
						<apply minzoom="14" pathEffect_5="9_3" strokeWidth_5="1.75:1.75"/> 
							<apply_if bluestacks="true" minzoom="13" maxzoom="13" pathEffect_5="9_3" strokeWidth_5="1:1"/>
							<apply color_5="$trackColor_2"/>								
					</switch>
					<!-- impassable-->
					<switch >
						<case additional="smoothness=impassable" />
						<case additional="mtb:scale=5"  />
						<case additional="mtb:scale=4"  />
							<apply minzoom="14" pathEffect_5="6_3" strokeWidth_5="1.3:1.3"/>
							<apply_if bluestacks="true" maxzoom="15" pathEffect_5="6_3" strokeWidth_5="0.8:1"/>
							<apply color_5="#000000" />
					</switch>
					<!-- sans info -->
					<switch >
						<case />
						<apply minzoom="13" maxzoom="13" pathEffect_5="9_3" strokeWidth_5="1.3:1.3"/> 
						<apply minzoom="14" pathEffect_5="9_3" strokeWidth_5="1.75:1.75"/> 
						<apply_if bluestacks="true" minzoom="13" maxzoom="13" pathEffect_5="9_3" strokeWidth_5="1:1"/>
						<apply color_5="$trackColor_2"/>								
						<apply_if track="false">
							<case minzoom="14" color_2="$trackColor_2" strokeWidth_2="1.75:1.75" color_5="#99ffcc" strokeWidth_5="1.75:1.75" pathEffect_5="10_10" /> 
						</apply_if>
					</switch>
				</apply_if>
				<case minzoom="12" color_5="$trackColor_2" additional="smoothness=intermediate" strokeWidth_5="0.7:1" />
				<case minzoom="12" color_5="$trackColor_2" additional="smoothness=good" strokeWidth_5="0.7:1" />
				<case minzoom="12" color_5="$trackColor_2" additional="smoothness=excellent" strokeWidth_5="0.7:1" />
				<case minzoom="12" color_5="$trackColor_2" additional="mtb:scale=0" strokeWidth_5="0.7:1" />
				<case minzoom="12" color_5="$trackColor_2" additional="tracktype=grade1" strokeWidth_5="0.7:1" />
				<case minzoom="12" color_5="$trackColor_2" additional="tracktype=grade2" strokeWidth_5="0.7:1" />
			</case>	
			
			<!-- sentier -->
			<switch minzoom="14" >
				<switch>
					<case tag="highway" value="footway"/>
					<case tag="highway" value="path"/>
					<case tag="highway" value="bridleway"/>
				</switch>
				<apply lessDetailed="false">
					<case color_5="#000000" pathEffect_5="6_3" strokeWidth_5="1.3:1.3" />
				</apply>
				<apply_if additional="tunnel=building_passage"	color_5="#00ff0000" />
				<apply_if additional="indoor=yes"	color_5="#00ff0000" />
				<apply_if additional="covered=yes" color_5="#00ff0000" />
				<apply_if additional="footway=sidewalk" color_5="#00ff0000" />
				<apply_if additional="footway=crossing" color_5="#00ff0000" /><!---->
				<apply_if additional="level=1" color_5="#00ff00ff" />
				<apply_if additional="location=roof" color_5="#00ff00ff" />
				<apply_if bluestacks="true" maxzoom="15" pathEffect_5="6_3" strokeWidth_5="0.8:1"/>
			</switch>					
			<!--difficulté sentier -->
			<apply_if minzoom="14" tag="highway" value="path">
				<apply_if lessDetailed="false">
					<case  strokeWidth_2="7" cap_2="ROUND">
						<!--difficulté mtb -->	
						<case additional="mtb:scale=0" color_2="#00ff00" />
						<case additional="mtb:scale=1" color_2="#00ff00" />
						<case additional="mtb:scale=2" color_2="#ff9933" />
						<case additional="mtb:scale=3" color_2="#ff9933" />
						<case additional="mtb:scale=4" color_2="#ff0000" />
						<case additional="mtb:scale=5" color_2="#000000" />
						<case additional="mtb:scale=6" color_2="#000000" />
						<!-- difficulté alpine	-->
						<case additional="sac_scale=hiking"						color_2="#ff9900" />
						<case additional="sac_scale=mountain_hiking"			color_2="#ff0000" />
						<case additional="sac_scale=demanding_mountain_hiking"	color_2="#000000" />
						<case additional="sac_scale=alpine_hiking"				color_2="#000000" />
						<case additional="sac_scale=demanding_alpine_hiking"	color_2="#000000" />
						<case additional="sac_scale=difficult_alpine_hiking"	color_2="#000000" />
					</case>
					<apply strokeWidth_2="6" pathEffect_2="1_30" />
					<apply_if maxzoom="15" strokeWidth_2="8" pathEffect_2="1_45" />
					<apply_if minzoom="16" strokeWidth_2="10" pathEffect_2="1_60" />
				</apply_if>
			</apply_if>
			
			<!-- rail abandonné -->
			<case minzoom="14" tag="railway" value="abandoned" >
				<apply_if lessDetailed="false">
					<case  strokeWidth_5="0" strokeWidth_4="0"/>
					<apply color_5="#00ff0000" color_4="#00ff00ff"/>
				</apply_if>
			</case>

			<!-- piste cyclable -->															
			<case minzoom="13" tag="highway" value="cycleway">
				<apply_if lessDetailed="false">
					<case color="#ff0000" strokeWidth="1.3:1.3" /> <!--shadowColor="#ff0000" shadowRadius="0.8:1"-->
				</apply_if>
			</case>
			
			<!-- escalier -->
			<case minzoom="16" tag="highway" value="steps" strokeWidth_5="5:5" color_5="#000000" >
				<apply minzoom="18" strokeWidth_5="6:6" pathEffect_5="3_3" />
				<apply_if additional="indoor=yes" color="#0000ff00" />
				<apply_if additional="covered=yes" color="#0000ff00" />
			</case>

			<!-- interdiction-->
			<apply>
				<switch hideAccess="false" >
					<switch >
						<case additional="access=private" color_5="$accessPrivateColor"/>
						<case additional="access=no" color_5="$accessPrivateColor"/>
						<case additional="vehicle=private" color_5="$accessPrivateColor"/>
						<case additional="vehicle=no" color_5="$accessPrivateColor"/>
						<case additional="motor_vehicle=private" color_5="$accessPrivateColor"/>
						<case additional="motor_vehicle=no" color_5="$accessPrivateColor"/>
						<case additional="motorcar=private" color_5="$accessPrivateColor"/>
						<case additional="motorcar=no" color_5="$accessPrivateColor"/>
					</switch>
				</switch>
			</apply> 


			<!-- Tunnels -->
			<apply_if additional="tunnel=yes" minzoom="14" color__1="#999999" color_0="#dfdfdf" color_5="#0000ffff">
				<case maxzoom="15" strokeWidth__1="4:4" strokeWidth_0="2.5:2.5" pathEffect__1="10_10" pathEffect_0="10_10" />
				<case maxzoom="16" strokeWidth__1="6:6" strokeWidth_0="4.5:4.5" pathEffect__1="10_10" pathEffect_0="10_10" />
				<case maxzoom="17" strokeWidth__1="8:8" strokeWidth_0="6.5:6.5" pathEffect__1="15_15" pathEffect_0="15_15" />
				<case minzoom="18" strokeWidth__1="10:10" strokeWidth_0="8:8" pathEffect__1="25_25" pathEffect_0="25_25" />
			</apply_if>
			<apply_if additional="tunnel=building_passage" minzoom="14" color__1="#999999" color_0="#dfdfdf" color_5="#0000ffff">
				<case maxzoom="15" strokeWidth__1="4:4" strokeWidth_0="2.5:2.5" pathEffect__1="10_10" pathEffect_0="10_10" />
				<case maxzoom="16" strokeWidth__1="6:6" strokeWidth_0="4.5:4.5" pathEffect__1="10_10" pathEffect_0="10_10" />
				<case maxzoom="17" strokeWidth__1="8:8" strokeWidth_0="6.5:6.5" pathEffect__1="15_15" pathEffect_0="15_15" />
				<case minzoom="18" strokeWidth__1="10:10" strokeWidth_0="8:8" pathEffect__1="25_25" pathEffect_0="25_25" />
			</apply_if>

			<!-- Bridges -->
			<apply_if additional="bridge=yes" minzoom="14" color__1="#000000" color_0="#ffffff" >
				<case maxzoom="15" strokeWidth__1="4:4" strokeWidth_0="2.5:2.5"/>
				<case maxzoom="16" strokeWidth__1="6:6" strokeWidth_0="4.5:4.5"/>
				<case maxzoom="17" strokeWidth__1="8:8" strokeWidth_0="6.5:6.5"/>
				<case minzoom="18" strokeWidth__1="10:10" strokeWidth_0="8:8"/>
			</apply_if>

			<apply_if arriereplan="true" color="$trackColor" strokeWidth="0.1" shadowColor="#50000000" shadowRadius="4"/>
			<apply_if arriereplan="true" tag="highway" value="path" color="$trackColor" strokeWidth="0.1" shadowColor="#30ffffff" shadowRadius="4"/>

			<apply_if additional="hiking=yes" minzoom="14" color_2="#ffffcc"><!-- ne fonctionne pas -->
					<case maxzoom="15" strokeWidth_2="6:6"/>
					<case minzoom="16" strokeWidth_2="7:7"/>
			</apply_if>

			<apply_if additional="route=hiking" minzoom="14" color_2="#ffffcc">
					<case maxzoom="15" strokeWidth_2="6:6"/>
					<case minzoom="16" strokeWidth_2="7:7"/>
			</apply_if>

		</switch>
		
		<!-- balisage vélo -->
		<switch minzoom="10" color="#0000ffff" >
			<case tag="route_bicycle" value=""/>
			<apply minzoom="10" strokeWidth="12:12" />
		</switch>

		<!-- balisage VTT -->
		<case tag="route_mtb" value="" cap="ROUND">
			<apply_if balisage="false">
				<apply minzoom="13" maxzoom="13" color="#ffffff" strokeWidth="0.1" shadowRadius="4" shadowColor="#dfdfff" />
				<apply minzoom="14" maxzoom="15" color="#ffffff" strokeWidth="0.1" shadowRadius="5" shadowColor="#dfdfff" />
				<apply minzoom="16" color="#ffffff" strokeWidth="0.1" shadowRadius="6" shadowColor="#dfdfff" />
				<apply_if bluestacks="true" >
					<apply minzoom="13" maxzoom="13" color="#ffffff" strokeWidth="0.1" shadowRadius="3" shadowColor="#dfdfff" />
					<apply minzoom="14" maxzoom="15" color="#ffffff" strokeWidth="0.1" shadowRadius="4" shadowColor="#dfdfff" />
					<apply minzoom="16" color="#ffffff" strokeWidth="0.1" shadowRadius="5" shadowColor="#dfdfff" />
				</apply_if>
				<!-- enlève balisage sous tag mtb:scale -->
				<apply_if additional="mtb:scale=0">
					<apply minzoom="12" color="#99cc99ff" strokeWidth="0"/>
				</apply_if>
				<apply_if additional="mtb:scale=1">
					<apply minzoom="12" color="#99cc99ff" strokeWidth="0"/>
				</apply_if>
				<apply_if additional="mtb:scale=2">
					<apply minzoom="12" color="#99cc99ff" strokeWidth="0"/>
				</apply_if>
				<apply_if additional="mtb:scale=3">
					<apply minzoom="12" color="#99cc99ff" strokeWidth="0"/>
				</apply_if>
				<apply_if additional="mtb:scale=4">
					<apply minzoom="12" color="#99cc99ff" strokeWidth="0"/>
				</apply_if>
				<apply_if additional="mtb:scale=5">
					<apply minzoom="12" color="#99cc99ff" strokeWidth="0"/>
				</apply_if>
				<apply_if additional="mtb:scale=6">
					<apply minzoom="12" color="#99cc99ff" strokeWidth="0"/>
				</apply_if>
			</apply_if>
		</case>

		<!-- balisages pedestre -->
		<switch balisage="false" >
			<switch  >
					<case minzoom="14" tag="network_lwn" value="" color="#ffffcc" shadowColor="#ffffcc"  strokeWidth="0.1" shadowRadius="3" >
						<apply>
							<case maxzoom="14" shadowRadius="3" />
							<case maxzoom="15" shadowRadius="4" />
							<case maxzoom="16" shadowRadius="7" />
							<case maxzoom="17" shadowRadius="8" />
							<case maxzoom="18" shadowRadius="10" />
							<case minzoom="19" shadowRadius="12" />
						</apply>
					</case>
					<case minzoom="13" tag="network_rwn" value="" color="#ffffff" shadowColor="#ffeeaa" strokeWidth="0.1" shadowRadius="3" >
						<apply>
								<case maxzoom="13" shadowRadius="3" />
								<case maxzoom="15" shadowRadius="4" />
								<case maxzoom="16" shadowRadius="7" />
								<case maxzoom="17" shadowRadius="8" />
								<case maxzoom="18" shadowRadius="10" />
								<case minzoom="19" shadowRadius="12" />
						</apply>
					</case >
					<case minzoom="12" tag="network_nwn" value="" color="#ffffff" shadowColor="#ffddaa" strokeWidth="0.1" shadowRadius="3">
						<apply>
							<case maxzoom="13" shadowRadius="3" />
							<case maxzoom="15" shadowRadius="4" />
							<case maxzoom="16" shadowRadius="7" />
							<case maxzoom="17" shadowRadius="8" />
							<case maxzoom="18" shadowRadius="10" />
							<case minzoom="19" shadowRadius="12" />
						</apply>
					</case>
					<case minzoom="12" tag="network_iwn" value="" color="#ffffff" shadowColor="#ffddaa"  strokeWidth="0.1" shadowRadius="3" >
						<apply>
							<case maxzoom="13" shadowRadius="3" />
							<case maxzoom="15" shadowRadius="4" />
							<case maxzoom="16" shadowRadius="7" />
							<case maxzoom="17" shadowRadius="8" />
							<case maxzoom="18" shadowRadius="10" />
							<case minzoom="19" shadowRadius="12" />
						</apply>
					</case>
				<case minzoom="14" tag="route_hiking" value="" color="#ffffcc">
					<apply>
						<case maxzoom="15" strokeWidth="6:6"/>
						<case minzoom="16" strokeWidth="7:7"/>
					</apply>
				</case>
			</switch>
		</switch>

		<!-- rail -->
		<switch>
			<switch>
				<switch>
					<case minzoom="12" tag="railway" value="rail"/>
					<case minzoom="12" tag="railway" value="light_rail"/>
					<case minzoom="12" tag="railway" value="monorail"/>
					<case minzoom="12" tag="railway" value="preserved"/>
					<case minzoom="12" tag="railway" value="narrow_gauge"/>
					<apply color="#555555"/>
				</switch>
				<case minzoom="16" tag="railway" value="funicular" color="#777777"/>
				<case minzoom="14" tag="railway" value="disused" color="#669966"/>
				<case minzoom="14" tag="railway" value="construction" color="#669966"/>
				<apply>
					<switch>
						<case minzoom="11" maxzoom="12" strokeWidth="1.5:1.5" pathEffect="2_2" cap="BUTT"/>
						<case minzoom="13" maxzoom="13" strokeWidth="2.5:2.5" pathEffect="1_3" cap="BUTT"/>
						<case minzoom="14" maxzoom="14" strokeWidth="3.5:3.5" pathEffect="1_3" cap="BUTT"/>
						<case minzoom="15" strokeWidth="5:5" pathEffect="1_3" cap="BUTT"/>
					</switch>
				</apply>
			</switch>
			<switch>
				<case tag="railway" value="tram" color="#99444444">
					<apply_if minzoom="14" maxzoom="14" strokeWidth="0.8" strokeWidth__1="1:1"/>
					<apply_if minzoom="15" strokeWidth="1:1" strokeWidth__1="2:2"/>
				</case>
			</switch>
			<apply_if additional="service=spur" color="#666666"/>
			
			<!-- Tunnels -->
			<apply_if additional="tunnel=yes" minzoom="14" color__1="#999999" color_0="#dfdfdf" color="#0000ffff">
				<case maxzoom="15" strokeWidth__1="4:4" strokeWidth_0="2.5:2.5" pathEffect__1="10_10" pathEffect_0="10_10" />
				<case maxzoom="16" strokeWidth__1="6:6" strokeWidth_0="4.5:4.5" pathEffect__1="10_10" pathEffect_0="10_10" />
				<case maxzoom="17" strokeWidth__1="8:8" strokeWidth_0="6.5:6.5" pathEffect__1="15_15" pathEffect_0="15_15" />
				<case minzoom="18" strokeWidth__1="10:10" strokeWidth_0="8:8" pathEffect__1="25_25" pathEffect_0="25_25" />
			</apply_if>

			<!-- Bridges -->
			<apply_if additional="bridge=yes" minzoom="14" color__1="#666666" color_0="#eeeeee" >
				<case maxzoom="15" strokeWidth__1="7:7" strokeWidth_0="5.5:5.5"/>
				<case maxzoom="16" strokeWidth__1="8:8" strokeWidth_0="6.5:6.5"/>
				<case maxzoom="17" strokeWidth__1="9:9" strokeWidth_0="7.5:7.5"/>
				<case minzoom="18" strokeWidth__1="11:11" strokeWidth_0="9:9"/>
			</apply_if>
			
		</switch>
		
		<switch minzoom="13">
			<switch>
				<case tag="aerialway" value="magic_carpet" color="#999999" strokeWidth="1:1"/>
				<case tag="aerialway" value="rope_tow" color="#999999" strokeWidth="1:1" pathEffect="24_3"/>
				<case tag="aerialway" value="zip_line" color="#999999" strokeWidth="1:1" pathEffect="15_3"/>
				<case tag="aerialway" value="chair_lift">
					<apply_if color="#666666" color_2="#333333">
						<case maxzoom="13" strokeWidth="1" strokeWidth_2="1.5:1.5" pathEffect_2="1_2_1_11"/>
						<case maxzoom="14" strokeWidth="1:1" strokeWidth_2="2:2" pathEffect_2="1_2_1_15"/>
						<case maxzoom="15" strokeWidth="1.5:1.5" strokeWidth_2="2.3:2.3" pathEffect_2="1_2_1_19"/>
						<case maxzoom="16" strokeWidth="1.5:1.5" strokeWidth_2="2.5:2.5" pathEffect_2="1_2_1_24"/>
						<case maxzoom="17" strokeWidth="1.9:1.9" strokeWidth_2="2.5:2.5" pathEffect_2="1_2_1_29"/>
						<case minzoom="18" strokeWidth="2:2" strokeWidth_2="3:3" pathEffect_2="1_2_1_37"/>
					</apply_if>
				</case>
			</switch>
			<case minzoom="15" tag="aerialway" value="goods" color="#4e2c07" color_2="#222222" pathEffect_2="1_24" strokeWidth="0.5" strokeWidth_2="1.4:1.4"/>
			<switch>
				<switch>
					<case tag="aerialway" value="drag_lift"/>
					<case tag="aerialway" value="t-bar"/>
					<case tag="aerialway" value="j-bar"/>
					<case tag="aerialway" value="platter"/>
				</switch>
				<case tag="aerialway" value="mixed_lift" cap_2="ROUND"/>
				<case tag="aerialway" value="gondola" cap_2="SQUARE"/>
				<case tag="aerialway" value="cable_car" cap_2="ROUND"/>
				<apply_if color="#666666" color_2="#333333">
					<case maxzoom="13" strokeWidth="1" strokeWidth_2="1.5:1.5" pathEffect_2="1_11"/>
					<case maxzoom="14" strokeWidth="1:1" strokeWidth_2="2:2" pathEffect_2="1_15"/>
					<case maxzoom="15" strokeWidth="1.5:1.5" strokeWidth_2="2.3:2.3" pathEffect_2="1_19"/>
					<case maxzoom="16" strokeWidth="1.5:1.5" strokeWidth_2="2.5:2.5" pathEffect_2="1_24"/>
					<case maxzoom="17" strokeWidth="1.9:1.9" strokeWidth_2="2.5:2.5" pathEffect_2="1_29"/>
					<case minzoom="18" strokeWidth="2:2" strokeWidth_2="3:3" pathEffect_2="1_37"/>
				</apply_if>
			</switch>
			<apply onewayArrowsColor="#ff000000"/>
		</switch>

		<switch>
			<case tag="public_transport" value="platform"/>
			<case tag="railway" value="halt"/>
			<case tag="railway" value="tram_stop"/>
			<apply_if minzoom="16" color="#555555" color_2="#CCCCCC" strokeWidth="2:2" strokeWidth_2="1:1">
				<apply_if minzoom="18" strokeWidth="3:3" strokeWidth_2="2:2"/>
			</apply_if>
			<apply_if additional="disused=yes" color="#aaaaaa" color_2="#bbbbbb"/>
		</switch>

		<case minzoom="12" tag="man_made" value="cutline" color="#90fff0ff" cap="ROUND">
			<switch lessDetailed="false">
				<case maxzoom="12" strokeWidth="0.5:0.5"/>
				<case maxzoom="13" strokeWidth="0.8:0.8"/>
			</switch>
			<case minzoom="14" maxzoom="14" strokeWidth="1.3:1.3"/>
			<case minzoom="15" maxzoom="15" strokeWidth="2:2"/>
			<case minzoom="16" maxzoom="16" strokeWidth="2.5:2.5"/>
			<case minzoom="17" maxzoom="17" strokeWidth="3:3"/>
			<case minzoom="18" strokeWidth="4:4"/>
		</case>
		<switch minzoom="13">
			<case tag="natural" value="valley"/>
			<case minzoom="14" tag="waterway" value="drystream"/>
			<apply_if maxzoom="14" strokeWidth="2"/>
			<apply_if minzoom="15" maxzoom="16" strokeWidth="3"/>
			<apply_if minzoom="16" strokeWidth="4"/>
			<apply color="#55666666"/>
		</switch>

		<switch color="#000000">
			<case minzoom="13" tag="power" value="line" pathEffect="1_2">
				<case maxzoom="14" strokeWidth="0.6"/>
				<case minzoom="15" strokeWidth="0.9"/>
			</case>
			<case minzoom="15" tag="power" value="minor_line" color_2="#999999" strokeWidth="0.3" strokeWidth_2="4" pathEffect="2_5" pathEffect_2="4_40" cap="BUTT"/>
		</switch>
		<case minzoom="16" tag="man_made" value="reinforced_slope" color="#d6d6d6">
			<case maxzoom="17" strokeWidth="2:2"/>
			<case maxzoom="18" strokeWidth="3:3"/>
			<case minzoom="19" strokeWidth="4:4"/>
		</case>

		<!-- Aeroway -->
		<switch minzoom="11" cap="SQUARE">
			<case tag="aeroway" value="runway" color="#ffffff" shadowColor="#333333" shadowRadius="1"/>
			<case tag="abandoned:aeroway" value="runway" color="#ffffff" shadowColor="#66333333" shadowRadius="1"/>
			<apply>
				<case maxzoom="11" strokeWidth="1:1"/>
				<case maxzoom="12" strokeWidth="2:2"/>
				<case maxzoom="13" strokeWidth="3.5:3.5"/>
				<case maxzoom="14" strokeWidth="6:6"/>
				<case minzoom="15" strokeWidth="9:9"/>
			</apply>
			<apply_if layer="1" minzoom="13" color__1="#000000">
				<case maxzoom="13" strokeWidth__1="3.5:5"/>
				<case maxzoom="14" strokeWidth__1="6:8"/>
				<case minzoom="15" strokeWidth__1="9:12"/>
			</apply_if>
		</switch>

		<case minzoom="12" tag="aeroway" value="taxiway" color="#ffffff" shadowColor="#333333" shadowRadius="1">
			<case maxzoom="12" strokeWidth="0.6"/>
			<case maxzoom="13" strokeWidth="0.9"/>
			<case maxzoom="14" strokeWidth="1.5:1.5"/>
			<case minzoom="15" strokeWidth="2.5:2.5"/>
			<apply_if layer="1" minzoom="13" color__1="#000000">
				<case maxzoom="13" strokeWidth__1="0.8:2.5"/>
				<case maxzoom="14" strokeWidth__1="1.5:3"/>
				<case minzoom="15" strokeWidth__1="2.5:4"/>
			</apply_if>
		</case>

		<!-- Barriers -->
		<switch minzoom="13">
			<case tag="barrier" value="yes"/>
			<case tag="barrier" value="fence"/>
			<case tag="barrier" value="jersey_barrier"/>
			<case tag="barrier" value="wall"/>
			<case tag="barrier" value="retaining_wall">
				<apply_if minzoom="16" pathIcon="stroke_darkgreen" pathIconStep="15"/>
			</case>
			<case tag="barrier" value="bollard"/>
			<case tag="barrier" value="cycle_barrier"/>
			<case tag="barrier" value="block"/>
			<case tag="barrier" value="cattle_grid"/>
			<case tag="barrier" value="toll_booth"/>
			<case tag="military" value="checkpoint"/>
			<case tag="barrier" value="entrance"/>
			<case tag="barrier" value="gate"/>
			<case tag="barrier" value="lift_gate" />
			<case tag="barrier" value="stile"/>
			<case tag="barrier" value="horse_stile"/>
			<case tag="barrier" value="kissing_gate"/>
			<case tag="barrier" value="sally_port"/>
			<case tag="barrier" value="turnstile"/>
			<case tag="barrier" value="kent_carriage_gap"/>
			<case tag="waterway" value="rapids" pathEffect="2_2"/>
			<apply>
				<case lessDetailed="false" maxzoom="15" strokeWidth="0.7"/>
				<case minzoom="16" strokeWidth="1"/>
			</apply>
			<apply color="#333333" pathEffect="1_5"/>
			<apply>
				<switch>
					<case additional="access=private"/>
					<case additional="access=no"/>
					<apply color_2="$accessPrivateColor"/>
					<apply_if maxzoom="14" strokeWidth_2="1:1" pathEffect_2="2_2"/>
					<apply_if minzoom="15" strokeWidth_2="2:2" pathEffect_2="4_3"/>
				</switch>
			</apply>
		</switch>
		
		<case minzoom="16" tag="barrier" value="embankment" color="#33ffffff" color_0="#77999999" color__1="#44000000" strokeWidth="0:0" strokeWidth_0="0:0" cap="ROUND" cap_0="ROUND">
			<case maxzoom="16" strokeWidth__1="4:4" pathEffect__1="1_7"/>
			<case maxzoom="17" strokeWidth__1="7:7" pathEffect__1="1_12"/>
			<case minzoom="18" strokeWidth__1="9:9" pathEffect__1="1_16"/>
		</case>

		<case minzoom="16" tag="barrier" value="hedge" color="#aed1a0" strokeWidth="1.5:1.5"/>

		<case minzoom="16" tag="barrier" value="ditch" color="#768c8c" strokeWidth="1:1"/>
		<case minzoom="14" tag="barrier" value="city_wall">
			<case maxzoom="14" strokeWidth="2:2"/>
			<case maxzoom="15" strokeWidth="3:3"/>
			<case minzoom="16" strokeWidth="4.5:4.5"/>
			<apply color="#99cccccc"/>
		</case>
		<case minzoom="14" tag="barrier" value="castle_wall">
			<case maxzoom="14" strokeWidth="1"/>
			<case maxzoom="15" strokeWidth="1:"/>
			<case maxzoom="16" strokeWidth="1.5:1.4"/>
			<case minzoom="17" strokeWidth="2.5:2.5"/>
			<apply color="#888888"/>
		</case>
		<switch minzoom="14" cap="ROUND">
			<case tag="ford" value="yes"/>
			<case tag="ford" value="stepping_stones"/>
			<apply color="#607777ff" strokeWidth="4:4"/>
			<apply color_3="#0000cc" strokeWidth_3="4:4" pathEffect_3="1_5"/>
		</switch>
		<case minzoom="13" tag="man_made" value="pier" color="#ffffff">
			<switch minzoom="15" showAccess="true">
				<case additional="access=no"/>
				<case additional="access=private"/>
				<case baseAppMode="bicycle" additional="bicycle=no"/>
				<apply color_2="$accessPrivateColor" strokeWidth_2="2" pathEffect_2="4_3" cap_2="BUTT"/>
			</switch>
			<apply_if maxzoom="13" strokeWidth="0.6"/>
			<apply_if minzoom="14" maxzoom="15" strokeWidth="1.5:1.5"/>
			<apply_if minzoom="16" strokeWidth="3:3"/>
		</case>
		
		<!-- waterway-->
		<switch color="#90c0ff" shadowColor="#90c0ff" >
		
			<!-- ruisseau -->
			<switch minzoom="13">
				<case  tag="waterway" value="stream" />
				<case tag="waterway" value="wadi"/>
					<apply_if additional="intermittent=yes" >
						<case minzoom="14" pathEffect="6_4" />
					</apply_if>
				<apply maxzoom="14" strokeWidth="0.1" shadowRadius="0.75:1"/>
				<apply minzoom="15" strokeWidth="0.1" shadowRadius="1:1"/>
			</switch>
			
			<!-- riviere -->
			<switch strokeWidth="0.1" shadowRadius="0.8">
				<case tag="waterway" value="river" >
					<case additional="tunnel=flooded" pathEffect="2_5"/>
					<case additional="tunnel=yes" pathEffect="2_5"/>
					<case additional="tunnel=building_passage"  pathEffect="2_5"/>
					<case additional="tunnel=avalanche_protector" pathEffect="2_5"/>
					<case additional="tunnel=culvert" pathEffect="2_5"/>
				</case>	
				<apply minzoom="12" strokeWidth="0.1" shadowRadius="1.0"/>			
				<apply minzoom="13" strokeWidth="0.1" shadowRadius="1.5"/>			
				<apply minzoom="14" strokeWidth="0.1" shadowRadius="2"/>		
			</switch>

			<!-- canal -->
			<switch minzoom="10" strokeWidth="0.1:0.1" shadowRadius="1.4">
				<case tag="waterway" value="canal" >
					<case layer="-1" disable="true"/>
						<case additional="tunnel=flooded" pathEffect="2_5"/>
						<case additional="tunnel=yes" pathEffect="2_5"/>
						<case additional="tunnel=building_passage"  pathEffect="2_5"/>
						<case additional="tunnel=avalanche_protector" pathEffect="2_5"/>
						<case additional="tunnel=culvert" pathEffect="2_5"/>
				</case>
				<apply minzoom="13" shadowRadius="2" />			
			</switch>
			
			<!-- fossé -->
			<switch minzoom="13">
				<case tag="waterway" value="ditch"/>
				<case tag="waterway" value="drain"/>
				<apply strokeWidth="0.1" shadowRendering="1" shadowRadius="0.9"/>
			</switch>
		</switch>
					
		<switch minzoom="13">
			<case tag="natural" value="gorge"/>
			<case tag="natural" value="couloir"/>
			<apply strokeWidth="1" color="$null"/>
		</switch>

		<case minzoom="13" tag="man_made" value="pipeline" cap="BUTT">
			<case maxzoom="17" pathEffect="5_30" strokeWidth="4:4" strokeWidth_2="0.9"/>
			<apply color="#0066ff" color_2="#3399ff"/>
			<apply_if layer="-1" pathEffect_2="10_5" color="#906666ff" color_2="#906666ff"/>
		</case>

		<!-- contour elevation -->
		<switch tag="contour" value="elevation">
			<case minzoom="11" contourLines="11"/>
			<case minzoom="12" contourLines="12"/>
			<case minzoom="13" contourLines="13"/>
			<case minzoom="13" contourLines=""/>
			<case minzoom="14" contourLines="14"/>
			<case minzoom="15" contourLines="15"/>
			<case minzoom="16" contourLines="16"/>
			<apply>
				<switch>
					<case minzoom="14" additional="contourtype=10m" color="$contourLineColor"/>
					<case minzoom="13" additional="contourtype=20m" color="$contourLineColor"/>
					<case additional="contourtype=50m" color="$contourLineColor"/>
					<apply_if minzoom="13" maxzoom="13">
						<case contourWidth="thin" strokeWidth="0.4:0.4"/>
						<case contourWidth="medium" strokeWidth="0.45:0.45"/>
						<case contourWidth="thick" strokeWidth="0.5:0.5"/>
					</apply_if>
					<apply_if minzoom="14" maxzoom="15">
						<case contourWidth="thin" strokeWidth="0.7:0.7"/>
						<case contourWidth="medium" strokeWidth="0.8:0.8"/>
						<case contourWidth="thick" strokeWidth="0.9:0.9"/>
					</apply_if>
					<apply_if minzoom="16">
						<case contourWidth="thin" strokeWidth="0.9:0.9"/>
						<case contourWidth="medium" strokeWidth="1:1"/>
						<case contourWidth="thick" strokeWidth="1.1:1.1"/>
					</apply_if>
				</switch>
				<switch >
					<case additional="contourtype=100m" color="$contourLineColor"/>
					<apply_if minzoom="13" maxzoom="13">
						<case contourWidth="thin" strokeWidth="0.8:0.8"/>
						<case contourWidth="medium" strokeWidth="1:1"/>
						<case contourWidth="thick" strokeWidth="1.2:1.2"/>
					</apply_if>
					<apply_if minzoom="14" maxzoom="15">
						<case contourWidth="thin" strokeWidth="1:1"/>
						<case contourWidth="medium" strokeWidth="1.3:1.3"/>
						<case contourWidth="thick" strokeWidth="1.6:1.6"/>
					</apply_if>
					<apply_if minzoom="16">
						<case contourWidth="thin" strokeWidth="1.6:1.6"/>
						<case contourWidth="medium" strokeWidth="1.9:1.9"/>
						<case contourWidth="thick" strokeWidth="2.2:2.2"/>
					</apply_if>
				</switch>
			</apply>
		</switch>

		<switch strokeWidth="0.5">
			 <case minzoom="14" tag="natural" value="cliff" color="#90dfdfdf" pathIcon="stroke_darkgreen" pathIconStep="10"/>
			 <case minzoom="16" tag="natural" value="slope" color="#44bd6819" pathIcon="stroke_brown_right" pathIconStep="10">
				<apply_if noPolygons="true" color="#44C39F7D"/>
			 </case>
			 <case minzoom="16" tag="natural" value="earth_bank" color="#88949494" pathIcon="stroke_gray" pathIconStep="10"/>
			 <case minzoom="16" tag="man_made" value="embankment" color="#88949494" pathIcon="stroke_gray" pathIconStep="10"/>
		</switch>
		<switch noPolygons="false" minzoom="15" color="#33ffffff" color_0="#77999999" color__1="#44000000" strokeWidth="3:3" strokeWidth_0="4:4" cap="ROUND" cap_0="ROUND">
			<case tag="man_made" value="dyke"/>
			<case tag="man_made" value="embankment"/>
			<case tag="embankment" value="yes"/>
			<apply_if minzoom="15" maxzoom="15" strokeWidth__1="7:7" pathEffect__1="1_11" />
			<apply_if minzoom="16" maxzoom="16" strokeWidth__1="11:11" pathEffect__1="1_16"/>
			<apply_if minzoom="17" maxzoom="17" strokeWidth__1="13:13" pathEffect__1="1_21"/>
			<apply_if minzoom="18" strokeWidth__1="15:15" pathEffect__1="1_25"/>
		</switch>


		<switch minzoom="16">
			<case tag="waterway" value="waterfall"/>
			<apply_if >
				<case maxzoom="16" strokeWidth="3.5:3.5" pathEffect="1_7"/>
				<case maxzoom="17" strokeWidth="4.5:4.5" pathEffect="1_9"/>
				<case minzoom="18" strokeWidth="6.5:6.5" pathEffect="1_13"/>
				<apply color="#6c6ce2" color_2="#3f3f3f" strokeWidth_2="0.3"/>
			</apply_if>
		</switch>
		<case minzoom="15" tag="waterway" value="lock_gate" strokeWidth="2" color="#77999999">
			<case minzoom="17" strokeWidth="3"/>
		</case>

		<switch strokeWidth="1">
			<case minzoom="14" tag="natural" value="cliff" color="#90dfdfdf" color_2="#999999"/>
			<case minzoom="14" tag="natural" value="ridge" color="#90dfdfdf" color_2="#999999"/>
			<case minzoom="16" tag="natural" value="slope" color="$contourLineColor" color_2="$contourLineColor"/>
			<case minzoom="16" tag="natural" value="earth_bank" color="#88949494" color_2="#949494"/>
			<apply maxzoom="15" strokeWidth_2="1.5:1.5" pathEffect_2="1_5"/>
			<apply minzoom="16" maxzoom="16" strokeWidth_2="2:2" pathEffect_2="1_7"/>
			<apply minzoom="17" strokeWidth_2="4:4" pathEffect_2="1_12"/>
		</switch>
		<case noPolygons="false" minzoom="14" tag="natural" value="tree_row" color="#277c27" color_2="#ffffff" cap="ROUND" cap_2="ROUND">
			<case lessDetailed="false" maxzoom="14" strokeWidth="1:1" pathEffect="1_4" strokeWidth_2="0.5:0.5" pathEffect_2="1_5"/>
			<case lessDetailed="false" minzoom="15" maxzoom="15" strokeWidth="1.3:1.3" pathEffect="1_6" strokeWidth_2="0.8:0.8" pathEffect_2="1_6"/>
			<case minzoom="16" maxzoom="16" strokeWidth="1.6:1.6" pathEffect="1_8" strokeWidth_2="0.8:0.8" pathEffect_2="1_8"/>
			<case minzoom="17" maxzoom="17" strokeWidth="2.2:2.2" pathEffect="1_10" strokeWidth_2="1.6:1.6" pathEffect_2="1_10"/>
			<case minzoom="18" strokeWidth="2.8:2.8" pathEffect="1_15" strokeWidth_2="1.8:1.8" pathEffect_2="1_15"/>
		</case>

		<switch>
			<case minzoom="13" tag="waterway" value="dam"/>
			<case minzoom="15" tag="waterway" value="weir"/>
			<apply color="#444444" strokeWidth="2:2"/>
		</switch>

		<switch minzoom="11">
			<case tag="natural" value="crater"/>
			<case tag="natural" value="volcano"/>
			<apply>
				<case maxzoom="11" strokeWidth="0.5"/>
				<case maxzoom="12" strokeWidth="0.7"/>
				<case maxzoom="13" strokeWidth="1:1"/>
				<case maxzoom="14" strokeWidth="1.5:1.5"/>
				<case maxzoom="15" strokeWidth="2:2"/>
				<case minzoom="16" strokeWidth="2.3:2.3"/>
			</apply>
			<apply color="#886a6a"/>
		</switch>
		<case minzoom="15" tag="geological" value="outcrop" strokeWidth="1" color="#886a6a"/>

		<case minzoom="15" tag="natural" value="crevasse" strokeWidth="1" color="#886a6a"/>
		
		<case minzoom="14" tag="highway" value="via_ferrata" color="$null" strokeWidth="0.1" color_2="#ff0000" color_3="#ff0000" pathEffect_2="1_1" pathEffect_3="1_5">
			<apply>
				<switch>
					<case additional="bridge=yes" color="$white" color__1="$black"/>
					<case additional="tunnel=yes" color="$white" color__1="#444444" pathEffect="6_4" pathEffect__1="6_4"/>
				</switch>
			</apply>
		</case>

		<!-- Admin levels (boundaries) -->
		<switch minzoom="2">
			<case tag="admin_level" value="0"/>
			<case tag="admin_level" value="1"/>
			<case tag="admin_level" value="2"/>
			<apply color="#500002B4" color_0="#aa0002B4">
				<case maxzoom="2" strokeWidth="0.7"/>
				<case maxzoom="3" strokeWidth="0.9" strokeWidth_0="0.8"/>
				<case maxzoom="4" strokeWidth="1:1" strokeWidth_0="0.8"/>
				<case maxzoom="5" strokeWidth="2:2" strokeWidth_0="1"/>
				<case maxzoom="6" strokeWidth="3:3" strokeWidth_0="1.3"/>
				<case maxzoom="8" strokeWidth="4:4" strokeWidth_0="1:1"/>
				<case minzoom="9" strokeWidth="6:6" strokeWidth_0="1:1"/>
			</apply>
		</switch>
		
		<!-- frontière région -->
		<switch minzoom="10">
			<case tag="admin_level" value="4" />
			<apply color="#22996600" >
				<case maxzoom="10" strokeWidth="3:3" />
				<case maxzoom="11" strokeWidth="4:4" />
				<case minzoom="12" strokeWidth="6:6" />
			</apply>
		</switch>

		<!-- frontière reserve --><!--
		<switch minzoom="10" color="#6000ff00" >
			<case tag="boundary" value="protected_area" />
			<case tag="boundary" value="national_park"/>
			<case tag="leisure" value="nature_reserve"/>
			<apply_if noPolygons="true">
				<case maxzoom="13" strokeWidth="5:5" />
				<case minzoom="14" strokeWidth="10:10" />
			</apply_if>
		</switch>-->

		<case tag="osmand_change" value="delete"/> <!-- OSMC will break if delete-->
		
	</line>

</renderingStyle>