<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="osmarender.xsl"?>

<!-- ISOM Rules File. 1:15000-->
<rules
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:svg="http://www.w3.org/2000/svg"
    data="map.osm"
	symbolsDir="isom"
    svgBaseProfile="full"
    scale="15000"
    symbolScale="1"
    minimumMapWidth="1"
    minimumMapHeight="1"
    withOSMLayers="yes"
    withUntaggedSegments="no"
    showScale="yes"
    showGrid="no"
    showBorder="no"
    showLicense="no"
    interactive="no">

<!--	<rule e="*" k="iof" v="*">
	 <rule e="*" k="isom" v="~">
		<!-- Handle all elements that have an iof tag, but not an isom tag -->
-->	
	
		<!-- Areas for open land and vegetagion -->
		
		<rule e="way" k="iof|isom" v="open_land">
			<rule e="way" k="surface" v="sand">
				<area class="land-open-sandy" />
			</rule>
			<else>
				<rule e="way" k="surface" v="rough">
					<rule e="way" k="trees" v="scattered">
						<!-- Rough open land with scattered trees -->
						<area class="land-open-rough-scattered"/>
					</rule>
					<else>
						<!-- Rough open land -->
						<area class="land-open-rough" />
					</else>
				</rule>
				<else>
					<!-- Normal surface -->
					<rule e="way" k="trees" v="scattered">
						<!-- Open land with scattered trees -->
						<area class="land-open-scattered"/>					
					</rule>
					<else>
						<rule e="way" k="cultivated" v="yes|1|true">
							<!-- Cultivated land -->
							<area class="land-cultivated" />
						</rule>
						<else>
							<!-- Open land -->
							<area class="land-open"/>						
						</else>
					</else>
				</else>
			</else>
		</rule>
		
		<rule e="way" k="iof|isom" v="forest">
			<rule e="way" k="running" v="slow">
				<rule e="way" k="one_direction" v="yes|true|1">
					<area class="forest-slow-onedirection" fill="url(#pattern-forest-slow-onedirection)" />			
				</rule>
				<else>
					<area class="forest-slow" />				
				</else>
			</rule>
			<else>
			 <rule e="way" k="running" v="difficult">
				<rule e="way" k="one_direction" v="yes|true|1">
					<area class="forest-slow-onedirection" fill="url(#pattern-forest-difficult-onedirection)" />
				</rule>
				<else>
					<area class="forest-difficult" />
				</else>				
			 </rule>
			 <else>
			  <rule e="way" k="running" v="very_difficult|impassable">
				<rule e="way" k="one_direction" v="yes|true|1">
					<area class="forest-slow-onedirection" fill="url(#pattern-forest-very-difficult-onedirection)" />
				</rule>
				<else>
					<area class="forest-very-difficult" />
				</else>			  
			  </rule>
			  <else>
				<!-- Easy (normal) running forest -->
				<area class="forest-easy" />
			  </else>
			 </else>
			</else>
		</rule>
		<rule e="way" k="iof|isom" v="undergrowth">
			<rule e="way" k="running" v="slow">
				<!-- undergrowth, slow running -->
				<area class="undergrowth-slow"/>
			</rule>
			<rule e="way" k="running" v="difficult">
				<!-- Undergrowth, difficult to run -->
				<area class="undergrowth-difficult" />			 
			</rule>
		</rule> 
		
		<rule e="way" k="iof" v="orchard">
			<!-- Orchard -->
			<area class="orchard" fill="url(#pattern-orchard)" />
		</rule>
		<rule e="way" k="iof" v="vineyard">
			<!-- Vineyard -->
			<area class="vineyard" fill="url(#pattern-vineyard)" />
		</rule>
		
		<rule e="way" k="iof|isom" v="settlement">
			<!-- Settlement. TODO: alternative render with black lines -->
			<area class="settlement" />
		</rule>		
			 
		<!-- Water casing -->
		<rule e="way" k="iof|isom" v="water">
			<rule e="way" k="bank_line" v="no|0|false">
				<!-- do nothing -->
			</rule>
			<else>
				<area class="water_bank_line"/>
			</else>		
		</rule>
		<rule e="way" k="iof|isom" v="river">
			<line smart-linecap="no" class="river_bank_line" />
		</rule>
		<rule e="way" k="iof|isom" v="water">
			<area class="water" />
		</rule>
		<rule e="way" k="iof|isom" v="river">
			<line smart-linecap="no" class="river line" />
		</rule>
		<rule e="way" k="iof|isom" v="bank_line">
			<line smart-linecap="no" class="bank_line line" />
		</rule>

		<rule e="way" k="iof|isom" v="watercourse">
			<!-- watercourse -->
			<rule e="way" k="size" v="minor">
				<!-- Minor water channel/course -->
				<line smart-linecap="no" class="watercourse-minor line" />
			</rule>
			<else>
				<rule e="way" k="size" v="small">
					<!-- Small watercourse -->
					<line smart-linecap="no" class="watercourse-small line" />		
				</rule>
				<else>
					<line smart-linecap="no" class="watercourse line" />
				</else>
			</else>
		</rule>
		<rule e="way" k="iof|isom" v="narrow_marsh">
			<!-- Narrow marsh -->
			<lineMarker startOffset="0" distance="1.7855" class="narrow-marsh" />
		</rule>
		<rule e="way" k="iof|isom" v="marsh">
			<!-- Marsh -->
			<rule e="way" k="type" v="impassable">
				<area class="marsh-uncrossable" />
			</rule>
			<else>
				<rule e="way" k="type" v="indistinct">
					<area class="marsh-indistinct" />				
				</rule>
				<else>
					<area class="marsh" />				
				</else>
			</else>
		</rule>

				
		<rule e="way" k="iof" v="boundary">
			<rule e="way" k="type" v="distinct_cultivation">
				<!-- Distinct cultivation boundary -->
				<line smart-linecap="no" class="boundary-cultivation-distinct" />
			</rule>
			<else>
			 <rule e="way" k="type" v="distinct_vegetation">
				<!-- Distinct vegetation boundary -->
				<lineMarker startOffset="0" distance="1.7855" class="boundary-vegetation-distinct" />			 
			 </rule>
			</else>
		</rule>


        <rule e="way" k="iof|isom" v="contour">
			<!-- Contours -->
			<rule e="way" k="type" v="index">
				<line smart-linecap="no" class="contour-index line"/>
			</rule>
			<else>
			 <rule e="way" k="type" v="form">
				<line smart-linecap="no" class="contour-form line"/>
			 </rule>
			 <else>
				<!-- Normal contours -->
				<line smart-linecap="no" class="contour-normal line"/>
			 </else>
			</else>
		</rule>
		<rule e="node" s="way" k="iof|isom" v="contour">
			<rule e="node" k="iof|isom" v="slope_line">
				<wayMarker class="slope-line" />
			</rule>
		</rule>
		
		<rule e="way" k="iof|isom" v="earth_bank">
			<!-- Earth bank -->
			<rule e="way" k="size" v="high">
				<line smart-linecap="no" class="earth-bank-high line"/>
			</rule>
			<else>
				<line smart-linecap="no" class="earth-bank line"/>
			</else>
			<lineMarker startOffset="0.25" distance="1.7855" class="earth-bank-tag" />
		</rule>
		
		<rule e="way" k="iof|isom" v="earth_wall">
			<!-- Earth wall -->
			<rule e="way" k="size" v="small">
				<line smart-linecap="no" class="wall-earth wall-earth-small line"/>
				<lineMarker startOffset="4.0174" distance="8.9276" class="wall-earth-marker" />
			</rule>
			<else>
				<line smart-linecap="no" class="wall-earth line"/>
				<lineMarker startOffset="4.464" distance="8.928" class="wall-earth-marker" />			
			</else>

		</rule>

		<rule e="way" k="iof|isom" v="erosion_gully">
			<!-- Erosion gully -->
			<rule e="way" k="size" v="small">
				<lineMarker startOffset="0" distance="1.7855" class="erosion-gully-small" />
			</rule>
			<else>
				<area class="erosion-gully" />
			</else>
		</rule>

		
		<rule e="way" k="iof|isom" v="cliff">
			<!-- Impassable and passable cliffs -->
			<rule e="way" k="passable" v="no|0|false">
				<line smart-linecap="no" class="cliff-impassable line"/>
				<rule e="way" k="tags" v="no|0|false">
					<!-- Do nothing (this doen't make sense?-->
				</rule>
				<else>
					<lineMarker startOffset="0.214" distance="2.14" class="cliff-impassable-tag" />
				</else>
			</rule>
			<else>
			<rule e="way" k="tags" v="no|0|false">
				<!-- Without tags -->
				<line smart-linecap="no" class="cliff-passable-notag line" />
			</rule>
			<else>
				<!-- With tags -->
				<line smart-linecap="no" class="cliff-passable line" />
				<lineMarker startOffset="0.214" distance="1.786" class="cliff-passable-tag" />
			</else>				
			</else>
		</rule>
		<rule e="way" k="iof|isom" v="rock_pillars">
			<!-- Rock pillars -->
			<area class="rock-pillars" />
		</rule>	


		<rule e="way" k="iof|isom" v="bare_rock">
			<!-- bare rock -->
			<area class="bare-rock"/>
		</rule>
				
		<!-- Ways with casing/core, First draw casing -->
		<rule e="way" k="iof|isom" v="paved_area">
			<!-- Paved areas -->
			<area class="paved-area-casing" />
		</rule>
		<rule e="way" k="iof|isom" v="road">
		 <rule e="way" k="type" v="minor">
			<!-- Minor road -->
			<rule e="way" k="construction" v="yes|true|1">
				<line smart-linecap="no" class="road-minor-casing road-construction way-general-casing" />
			</rule>
			<else>
				<line smart-linecap="no" class="road-minor-casing way-general-casing" />
			</else>			
		 </rule>
		 <rule e="way" k="type" v="major">
			<!-- Major road -->
			<rule e="way" k="area" v="yes|true|1">
				<area class="road-major-area-casing" />
			</rule>
			<else>
			  <rule e="way" k="construction" v="yes|true|1">
				<line smart-linecap="no" class="road-major-casing way-general-casing road-construction" />
			  </rule>
			  <else>
				<line smart-linecap="no" class="road-major-casing way-general-casing" />
			  </else>
			</else>
		 </rule>
		 <rule e="way" k="type" v="motorway">
			<!-- Motorway -->
			<rule e="way" k="area" v="yes|true|1">
				<area class="road-motorway-area-casing" />
			</rule>
			<else>
			  <rule e="way" k="construction" v="yes|true|1">
				<line smart-linecap="no" class="motorway-casing road-construction way-general-casing" />
			  </rule>
			  <else>
				<line smart-linecap="no" class="motorway-casing way-general-casing" />
			  </else>
			</else>
		 </rule>
		</rule>
		
		<rule e="way" k="iof|isom" v="road">
			<rule e="way" k="type" v="narrow">
				<line smart-linecap="no" class="road line" />
			</rule>
			<else>
			 <rule e="way" k="type" v="track">
				<line smart-linecap="no" class="path-vehicle line" />
			 </rule>
			</else>
		</rule>
		
		<rule e="way" k="iof|isom" v="path">
		 <rule e="way" k="type" v="large">
			<line smart-linecap="no" class="path-large line" />
		 </rule>
		 <rule e="way" k="type" v="small">
			<line smart-linecap="no" class="path-small line" />
		 </rule>
		 <rule e="way" k="type" v="indistinct">
			<!-- Less distinct path -->
			<line smart-linecap="no" class="path-indistinct line" />
		 </rule>
		</rule>
		<rule e="way" k="iof|isom" v="narrow_ride">
			<line smart-linecap="no" class="narrow-ride line" />
		</rule>		
		
		<!-- Now draw core -->
		<rule e="way" k="iof|isom" v="paved_area">
			<!-- Paved areas -->
			<area class="paved-area-core" />
		</rule>
		<rule e="way" k="iof|isom" v="road">				
		 <rule e="way" k="type" v="minor">
			<!-- Minor road -->
			<rule e="way" k="construction" v="yes|true|1">
				<line smart-linecap="no" class="road-minor-core road-construction way-general-core" />
			</rule>
			<else>
				<line smart-linecap="no" class="road-minor-core way-general-core" />
			</else>			
		 </rule>
		 <rule e="way" k="type" v="major">
			<!-- Major road -->
			<rule e="way" k="area" v="yes|true|1">
				<area class="road-major-area-core" />
			</rule>
			<else>			
			  <rule e="way" k="construction" v="yes|true|1">
				<line smart-linecap="no" class="road-major-core way-general-core road-construction" />
			  </rule>
			  <else>
				<line smart-linecap="no" class="road-major-core way-general-core" />
			  </else>
			</else>
		 </rule>
		 <rule e="way" k="type" v="motorway">
			<!-- Motorway -->
			<rule e="way" k="area" v="yes|true|1">
				<area class="road-motorway-area-core" />
			</rule>
			<else>
			  <rule e="way" k="construction" v="yes|true|1">
				<line smart-linecap="no" class="motorway-core road-construction way-general-core" />
				<line smart-linecap="no" class="motorway-middle road-construction way-general-core" />
			  </rule>
			  <else>
				<line smart-linecap="no" class="motorway-core way-general-core" />
				<line smart-linecap="no" class="motorway-middle way-general-core" />
			  </else>
			</else>
		 </rule>
		</rule>
		

		

		<rule e="way" k="iof|isom" v="railway">
			<lineMarker startOffset="5.36" distance="10.713" class="railway-marker" />
			<line smart-linecap="no" class="railway line" />
		</rule>
		<rule e="way" k="iof" v="power_line">
			<!-- Major powerlines?? -->
			
			<line smart-linecap="no" class="powerline line" />
		</rule>

		<rule e="way" k="iof|isom" v="tunnel">
			<rule e="way" k="part" v="opening">
				<line smart-linecap="no" class="tunnel-opening line" />
			</rule>
			<else>
			 <rule e="way" k="part" v="edge">
				<!-- Not shown on ISOM -->
			 </rule>
			 <else>
				<line smart-linecap="no" class="tunnel-extent line" />
			 </else>
			</else>
		</rule>
		
		<rule e="way" k="iof|isom" v="stone_wall">
			<rule e="way" k="size" v="ruined">
				<!-- Ruined stone wall -->
				<lineMarker startOffset="4.0174" distance="8.9276" class="wall-stone-marker" />
				<line smart-linecap="no" class="wall-stone wall-stone-ruined line" />
			</rule>
			<else>
			 <rule e="way" k="size" v="high">
				<!-- High stone wall -->
				<lineMarker startOffset="4.464" distance="11.427" class="wall-stone-high-marker" />
				<lineMarker startOffset="6.964" distance="11.427" class="wall-stone-high-marker" />
				<line smart-linecap="no" class="wall-stone-high line" />
			 </rule>
			 <else>
				<lineMarker startOffset="4.464" distance="8.928" class="wall-stone-marker" />
				<line smart-linecap="no" class="wall-stone line"/>			 
			 </else>
			</else>
		</rule>
		
		<rule e="way" k="iof|isom" v="fence">
			<rule e="way" k="size" v="ruined">
				<!-- Ruined fence -->
				<lineMarker startOffset="4.0174" distance="8.9276" class="fence-marker" />
				<line smart-linecap="no" class="fence fence-ruined line" />
			</rule>
			<else>
			 <rule e="way" k="size" v="high">
				<!-- High fence -->
				<lineMarker startOffset="4.464" distance="11.070" class="fence-marker" />
				<lineMarker startOffset="6.606" distance="11.070" class="fence-marker" />
				<line smart-linecap="no" class="fence-high line" />							 </rule>
			 <else>
<!-- Fence -->
				<lineMarker startOffset="4.464" distance="8.9276" class="fence-marker" />
				<line smart-linecap="no" class="fence line" />
			 </else>
			</else>
		</rule>
		
		<rule e="way" k="iof|isom" v="crossing_point">
			<line smart-linecap="no" class="crossing-point line" />
		</rule>

		<rule e="way" k="iof|isom" v="building">
			<!-- Building -->
			<area class="building" />
		</rule>

		

		<rule e="way" k="iof|isom" v="permanent_out_of_bounds">
			<!-- Permanently out of bounds -->
			<area class="out_of_bounds_permanently" />
			<rule e="way" k="boundary" v="yes|true|1">
				<line smart-linecap="no" class="boundary_out_of_bounds_permanently" />
			</rule>
		</rule>
		<rule e="way" k="iof|isom" v="boundary">
			<rule e="way" k="type" v="permanently_forbidden">
				<line smart-linecap="no" class="boundary_permanently_out_of_bounds" />			
			</rule>
		</rule>

		<rule e="way" k="iof|isom" v="ruin">
			<!-- Ruin. How to add dashes? -->
			<area class="ruin" />
		</rule>
		<rule e="way" k="iof|isom" v="firing_range">
			<line smart-linecap="no" class="firing-range"/>
		</rule>
		<rule e="way" k="iof|isom" v="pipeline">
			<rule e="way" k="passable" v="no">
				<!-- Uncrossable pipeline -->
				<lineMarker startOffset="4.464" distance="11.070" class="pipeline-marker" />
				<lineMarker startOffset="6.606" distance="11.070" class="pipeline-marker" />
				<line smart-linecap="no" class="pipeline-uncrossable line" />			
			</rule>
			<else>
				<!-- pipeline -->
				<lineMarker startOffset="4.464" distance="8.9276" class="pipeline-marker" />
				<line smart-linecap="no" class="pipeline line" />
			</else>
		</rule>
		
		<!-- BELOW: SYMBOLS (placed in front of everything else)
		-->
		<rule e="node" k="iof|isom" v="earth_bank">
			<!-- Earth bank, node -->
			<rule e="node" k="size" v="high">
				<symbol ref="earth_bank_high" position="center" />		
			</rule>
			<else>
				<symbol ref="earth_bank" position="center" />
			</else>
		</rule>
		
		<rule e="node" k="iof|isom" v="waterhole">
			<!-- Waterhole -->
			<symbol ref="waterhole" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="marsh">
			<rule e="node" k="type" v="indistinct">
				<!-- indistinct marsh -->
				<symbol ref="marsh_indistinct" position="center" />	
			</rule>
			<else>
				<!-- marsh, node -->
				<symbol ref="marsh" position="center" />
			</else>
		</rule>

		<rule e="node" k="iof|isom" v="well">
			<!-- well -->
			<symbol ref="well" position="center" />
		</rule>
		
		<rule e="node" s="way" k="iof|isom" v="watercourse">
			<!-- All nodes on watercourses, choose spring -->
			<rule e="node" k="iof" v="spring">
				<!-- Spring, make orientation automatically downwards stream -->
				<wayMarker class="spring-on-watercourse" />
			</rule>
		</rule>
		<else>
			<rule e="node" k="iof|iosm" v="spring">
				<!-- Spring that not are on a watercourse -->
				 <symbol ref="spring" position="center" />
			</rule>
		</else>
		<rule e="node" k="iof|isom" v="special_water">
			<!-- Special water feature -->
			<symbol ref="special_water" position="center" />
		</rule>
		<rule e="node" k="iof" v="special_vegetation">
			<!-- Special vegetation feature -->
			<rule e="node" k="display" v="dot">
				<symbol ref="special_vegetation_2" position="center" />					</rule>
			<else>
			 <rule e="node" k="display" v="circle">
				<symbol ref="special_vegetation_1" position="center" />
			 </rule>
			 <else>
				<symbol ref="special_vegetation_3" position="center" />		 
			 </else>
			</else>
		</rule>
		<rule e="node" k="iof|isom" v="small_knoll">
			<!-- Small knolls -->
			<rule e="node" k="elongated" v="1|yes|true">
					<symbol ref="knoll_elongated" position="center"/>
			</rule>
			<else>
				<symbol ref="knoll_small" position="center"/>
			</else>
		</rule>		

		<rule e="node" k="iof|isom" v="small_depression">
			<!-- Small depression -->
			<symbol ref="depression_small" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="pit">
			<!-- Pit -->
			<symbol ref="pit" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="broken_ground">
			<rule e="node" k="size" v="large">
				<symbol ref="broken_ground_large" position="center" />
			</rule>
			<else>
			 <rule e="node" k="size" v="medium">
				<symbol ref="broken_ground_medium" position="center" />
			 </rule>
			 <else>
				<symbol ref="broken_ground_small" position="center" />
			 </else>
			</else>
		</rule>
		<rule e="node" k="iof|isom" v="special_landform">
			<!-- Special land form feature -->
			<symbol ref="special_landform" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="cliff">
			<!-- Impassable and passable cliff, node -->
			<rule e="node" k="passable" v="no|0|false">
			<symbol ref="cliff_impassable" position="center" />
			</rule>
			<else>
				<rule e="node" k="tags" v="no|0|false">
					<!-- Without tags -->
					<symbol ref="cliff_passable_notag" position="center" />
				</rule>
				<else>
					<!-- With tags -->
					<symbol ref="cliff_passable" position="center" />
				</else>			
			</else>
		</rule>
		<rule e="node" k="iof|isom" v="rocky_pit">
			<!-- Rocky pit -->
			<symbol ref="pit_rocky" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="cave">
			<!-- Cave. Same symbol as rocky pit (but can have an direction) -->
			<symbol ref="pit_rocky" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="boulder">
			<!-- Boulder. -->
			<rule e="node" k="size" v="large">
				<symbol ref="boulder_large" position="center" />			
			</rule>
			<else>
			  <rule e="node" k="size" v="medium">
				<symbol ref="boulder_medium" position="center" />			  
			  </rule>
			  <else>
				<symbol ref="boulder" position="center" />
			  </else>
			</else>
		</rule>

		<rule e="node" k="iof|isom" v="boulder_field">
			<!-- Boulder field -->
			<rule e="node" k="size" v="large">
				<symbol ref="boulder_field_large" position="center" />
			</rule>
			<else>
				<symbol ref="boulder_field" position="center" />
			</else>
		</rule>
		<rule e="node" k="iof|isom" v="boulder_cluster">
			<!-- Boulder cluster -->
			<rule e="node" k="size" v="large">
				<symbol ref="boulder_cluster_large" position="center" />
			</rule>
			<else>
				<symbol ref="boulder_cluster" position="center" />
			</else>
		</rule>
		<rule e="node" k="iof|isom" v="stony_ground">
			<rule e="node" k="size" v="large">
				<symbol ref="stony_ground_large" position="center" />
			</rule>
			<else>
			 <rule e="node" k="size" v="medium">
				<symbol ref="stony_ground_medium" position="center" />
			 </rule>
			 <else>
				<symbol ref="stony_ground_small" position="center" />
			 </else>
			</else>
		</rule>
		<rule e="node" s="way" k="iof|isom" v="watercourse">
			<!-- All nodes on watercourses, choose footbridge -->
			<rule e="node" k="iof" v="footbridge">
				<!-- Spring, make orientation automatically downwards stream -->
				<wayMarker class="footbridge-on-watercourse" />
			</rule>
		</rule>
		<else>
			<rule e="node" k="iof|iosm" v="footbridge">
				<!-- Spring that not are on a watercourse -->
				 <symbol ref="footbridge" position="center" />
			</rule>
		</else>
		
		<rule e="node" k="iof|isom" v="building">
			<!-- Building, node -->
			<symbol ref="building" position="center" />
		</rule>				

		<rule e="node" k="iof|isom" v="ruin">
			<!-- Ruin, node. -->
			<symbol ref="ruin" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="grave">
			<!-- grave -->
			<symbol ref="grave" position="center" />
		</rule>

		<rule e="node" k="iof|isom" v="tower">
			<rule e="node" k="size" v="high">
				<!-- High tower -->
				<symbol ref="tower_high" position="center" />
			</rule>
			<else>
				<!-- Small tower -->
				<symbol ref="tower_small" position="center" />
			</else>
		</rule>
		<rule e="node" k="iof|isom" v="cairn">
			<!-- Cairn -->
			<symbol ref="cairn" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="fodder_rack">
			<!-- Fodder rack -->
			<symbol ref="fodder_rack" position="center" />
		</rule>
		<rule e="node" k="iof|isom" v="special_manmade">
			<rule e="node" k="display" v="circle">
				<!-- Special man-made 1 -->
				<symbol ref="special_manmade_1" position="center" />
			</rule>
			<else>
				<!-- Special man-made 2 -->
				<symbol ref="special_manmade_2" position="center" />
			</else>
		</rule>
<!--
	 </rule>
	</rule> 
-->
	<rule e="*" k="isom" v="*">-->
		<!-- Handle all isom elements. -->
		<!-- Copy from iof tag rendering rules -->
	
	</rule> <!-- End of isom-tags -->

    <!-- SVG Definitions - markers, symbols etc go here -->
    <defs>
        <style xmlns="http://www.w3.org/2000/svg" id="styles" type="text/css">
			/* DO NOT DELETE - Used by osmarender.xsl */
			.untagged-segments {
			stroke-width: 0.5px;
			stroke-linejoin: round;
			stroke-linecap: butt;
			stroke: #e0e0e0;
			stroke-dasharray: 0.5,0.5;
			}
 
           .debug {
                stroke-width: 0.1px;
                stroke-linecap: round;
                stroke: gray;
                /* marker-end: url(#segment-direction); */
            }

			.line {
				fill: none;
				stroke-linejoin: round;
			}
			
            .contour-normal {
				stroke-width: 0.500px;
                stroke-linecap: butt;
				stroke: #d15c00;
	        }
			.contour-index {
				stroke-width: 0.893px;
				stroke-linecap: butt;
				stroke: #d15c00;
			}
			.contour-form {
				stroke-width: 0.500px;
				stroke-linecap: butt;
				stroke: #d15c00;
				stroke-dasharray: 4.724,0.945;
			}
			.slope-line {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#slope_line);
			}
			
			.earth-bank {
				stroke-width: 0.643px;
				stroke-linecap: butt;
				stroke: #d15c00;
			}
			.earth-bank-high {
				stroke-width: 0.893px;
				stroke-linecap: butt;
				stroke: #d15c00;
			}
			.earth-bank-tag {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#earth_bank_tag);
			}
			
			.wall-earth {
				stroke: #d15c00;
				stroke-width: 0.500;
				stroke-linecap: butt;
			}
			.wall-earth-marker {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#wall_earth_marker);
			}
			.wall-earth-small {
				stroke-dasharray: 8.0348, 0.8928;
				stroke-dashoffset: 0;
			}
			.erosion-gully {
				fill: #d15c00;
				stroke: none;
			}
			.erosion-gully-small {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#erosion_gully_small_marker)
			}
			
			.cliff-impassable {
				stroke-width: 1.250px;
				stroke-linecap: butt;
				stroke: #000000;
			}
			.cliff-impassable-tag {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#cliff_impassable_tag);
			}
			.rock-pillars {
				fill: #000000;
				stroke: none;
			}
			.cliff-passable {
				<!-- Line for passable cliff with tags -->
				stroke: #000000;
				stroke-width: 0.643px;
				stroke-linecap: butt;
			}
			.cliff-passable-tag {
				<!-- tag marker -->
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#cliff_passable_tag);
			}
			.cliff-passable-notag {
				stroke: #000000;
				stroke-width: 0.893px;
				stroke-linecap: butt;
			}
			.land-open-sandy {
				fill: url(#pattern-land-open-sandy);
				stroke: none;
			}
			.bare-rock {
				fill: #b2b2b2;
				stroke:none;
			}
			
			.water_bank_line {
				<!-- doubled stroke width -->
				stroke: #000000;
				stroke-width: 1.286;
				stroke-linecap: butt;
			}
			.river_bank_line {
				stroke: #000000;
				stroke-width: 2.000;
				stroke-linecap: butt;
			}
			.water {
				fill: #21d1ff;
				stroke: none;		
			}
			.river {
				stroke: #21d1ff;
				stroke-width: 0.714;
				stroke-linecap: butt;
			}
			.bank-line {
				stroke: #000000;
				stroke-linecap: butt;
				stroke-width: 0.643;
			}
			
			.watercourse {
				stroke: #21d1ff;
				stroke-width: 0.893;
				stroke-linecap: butt;
			}
			.watercourse-small {
				stroke: #21d1ff;
				stroke-width: 0.500;
				stroke-linecap: butt;
			}
			.watercourse-minor {
				stroke: #21d1ff;
				stroke-width: 0.500;
				stroke-linecap: butt;
				stroke-dasharray: 4.464, 0.893;
			}
			.narrow-marsh {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#narrow_marsh_marker);
			}
			.marsh-uncrossable {
				fill: url(#pattern-marsh-uncrossable);
				stroke: #000000;
				stroke-width: 0.643;
				stroke-linecap: butt;
			}
			.marsh {
				fill: url(#pattern-marsh);
				stroke: none;
			}
			.marsh-indistinct {
				fill: url(#pattern-marsh-indistinct);
				stroke: none;
			}
			.spring-on-watercourse {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-start: url(#spring_marker);
			}
			
			.land-open {
				fill: #ffba36;
				stroke: none;
			}
			.land-open-scattered {
				fill: url(#pattern-land-open-scattered);
				stroke: none;
			}
			.land-open-rough {
				fill: #FFC745;
				stroke: none;
			}
			.land-open-rough-scattered {
				fill: url(#pattern-land-open-rough-scattered);
				stroke: none;
			}
			.forest-slow {
				fill: #c5ffb9;
				stroke: none;
			}
			.forest-slow-onedirection {
				stroke: none;
			}
			.undergrowth-slow {
				fill: url(#pattern-undergrowth-slow);
				stroke: none;
			}
			.forest-difficult {
				fill: #8bff74;
				stroke: none;
			}
			.undergrowth-difficult {
				fill: url(#pattern-undergrowth-difficult);
				stroke: none;
			}
			.forest-very-difficult {
				fill: #3DFF17;
				stroke: none;
			}
			.forest-easy {
				fill: #ffffff;
				stroke: none;
			}
			
			.orchard {
				stroke: none;
			}
			.vineyard {
				stroke: none;
			}
			
			.boundary-cultivation-distinct {
				stroke: #000000;
				stroke-width: 0.4285;
				stroke-linecap: butt;
				fill: none;
			}
			.land-cultivated {
				stroke: none;
				fill: url(#pattern-land-cultivated);
			}
			.boundary-vegetation-distinct {
				stroke: #000000;
				stroke-width: 0px;
				fill: none;
				marker-mid: url(#boundary_vegetation_distinct_marker);
			}
			
			.paved-area-casing {
				<!-- Doubled stroke size needed -->			
				fill: #000000;
				stroke: #000000;
				stroke-width: 0.8570;	
			}
			.paved-area-core {
				fill: #e8a774;
				stroke: none;		
			}
			.road-construction {
				stroke-dasharray: 9.820, 0.893;
			}
			.way-general-casing {
				stroke-linecap: butt;
				stroke-linejoin: round;
				fill: none;
			}
			.way-general-core {
				stroke-linecap: butt;
				stroke-linejoin: round;
				fill: none;
			}
			.motorway-casing {
				stroke: #000000;
				stroke-width: 4.0709px;
			}
			.motorway-core {
				stroke: #e8a774;
				stroke-width: 2.785px;
			}
			.motorway-middle {
				stroke: #000000;
				stroke-width: 0.643px;
			}
			.motorway-area-casing {
				<!-- Motorway areas are same as major road areas -->
				<!-- Doubled stroke size needed -->
				fill: #000000;
				stroke: #000000;
				stroke-width: 1.286;
			}
			.motorway-area-core {
				fill: #e8a774;
				stroke: none;
			}
			.road-major-casing {
				stroke: #000000;
				stroke-width: 3.071px;
			}
			.road-major-core {
				stroke: #e8a774;
				stroke-width: 1.786px;
			}
			.road-major-area-casing {
				<!-- Doubled stroke size needed -->
				fill: #000000;
				stroke: #000000;
				stroke-width: 1.286;			
			}
			.road-major-area-core {
				fill: #e8a774;
				stroke: none;			
			}
			.road-minor-casing {
				stroke: #000000;
				stroke-width: 2.357px;
			}
			.road-minor-core {
				stroke: #e8a774;
				stroke-width: 1.071px;
			}
			.road {
				stroke: #000000;
				stroke-width: 1.250;
				stroke-linecap: butt;
			}
			.path-vehicle {
				stroke: #000000;
				stroke-width: 1.250;
				stroke-linecap: butt;
				stroke-dasharray: 9.820, 0.893;
			}
			.path-large {
				stroke: #000000;
				stroke-width: 0.893;
				stroke-linecap: butt;
				stroke-dasharray: 6.249, 0.893;
			}
			.path-small {
				stroke: #000000;
				stroke-width: 0.643;
				stroke-linecap: butt;
				stroke-dasharray: 2.678, 0.893;
			}
			.path-indistinct {
				stroke: #000000;
				stroke-width: 0.643;
				stroke-linecap: butt;
				stroke-dasharray: 2.678, 0.893, 2.678, 3.571;
			}
			.narrow-ride {
				stroke: #000000;
				stroke-width: 0.500;
				stroke-linecap: butt;
				stroke-dasharray: 10.713, 1.786;
			}
			.footbridge-on-watercourse {
				stroke: #000000;
				stroke-width: 0;
				fill: none;
				marker-mid: url(#footbridge_marker);
			}
			.railway {
				stroke: #000000;
				stroke-width: 1.250;
				stroke-linecap: butt;
			}
			.railway-marker {
				stroke: #000000;
				stroke-width: 0px;
				fill: none;
				marker-mid: url(#railway_marker);			
			}
			.powerline {
				stroke: #000000;
				stroke-width: 0.500;
				stroke-linecap: butt;
				marker-start: url(#powerline_marker);
				marker-mid: url(#powerline_marker);
				marker-end: url(#powerline_marker);
			}
			.tunnel-opening {
				stroke: #000000;
				stroke-width: 0.643;
				stroke-linecap: butt;
				marker-start: url(#tunnel_opening_start_marker);
				marker-end: url(#tunnel_opening_end_marker);
			}
			.tunnel-extent {
				stroke: #000000;
				stroke-width: 0px;
				marker-start: url(#tunnel_start_marker);
				marker-end: url(#tunnel_end_marker);
			}
			.wall-stone {
				stroke: #000000;
				stroke-width: 0.500;
				stroke-linecap: butt;
			}
			.wall-stone-marker {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#wall_stone_marker);
			}
			.wall-stone-ruined {
				stroke-dasharray: 8.0348, 0.8928;
				stroke-dashoffset: 0;
			}			
			.wall-stone-high {
				stroke: #000000;
				stroke-width: 0.643;
				stroke-linecap: butt;
			}
			.wall-stone-high-marker {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#wall_stone_high_marker);
			}
			.fence {
				stroke: #000000;
				stroke-width: 0.500;
				stroke-linecap: butt;
			}
			.fence-ruined {
				stroke-dasharray: 8.0348, 0.8928;
				stroke-dashoffset: 0;
			}
			.fence-high {
				stroke: #000000;
				stroke-width: 0.643;
				stroke-linecap: butt;
			}
			.fence-marker {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#fence_marker);
			}
			.crossing-point {
				stroke: black;
				stroke-width: 0px;
				marker-start: url(#crossing_marker);
				marker-end: url(#crossing_marker);
			}
			.building {
				fill: #000000;
				stroke: none;
			}
			.settlement {
				fill: #a1a133;
				stroke: none;
			}
			.out_of_bounds_permanently {
				fill: url(#pattern-out-of-bounds-permanently);
				stroke: none;
			}
			.boundary_permanently_out_of_bounds {
				stroke: #000000;
				stroke-width: 1.250;
				stroke-linecap: butt;
				fill: none;
			}

			.ruin {
				fill: none;
				stroke: #000000;
				stroke-width: 0.571;
				stroke-linecap: butt;
			}
			.firing-range {
				fill: none;
				stroke: #000000;
				stroke-width: 1.250;
				stroke-linecap: butt;
				marker-end: url(#firing_range_arrow);
			}
			.pipeline {
				stroke: #000000;
				stroke-width: 0.500;
				stroke-linecap: butt;
			}
			.pipeline-uncrossable {
				stroke: #000000;
				stroke-width: 0.643;
				stroke-linecap: butt;
			}
			.pipeline-marker {
				fill: none;
				stroke: black;
				stroke-width: 0px;
				marker-mid: url(#pipeline_marker);
			}
			
            /* Map decoration */
            .map-grid-line {
                fill: none;
                stroke: #8080ff;
                stroke-width: 0.1px;
                stroke-opacity: 0.5;
            }

            .map-border-casing {
                fill: none;
                stroke: #8080ff;
                stroke-width: 3px;
                stroke-miterlimit: 4;
                stroke-dasharray: none;
                stroke-opacity: 1;
                stroke-linecap: round;
            }

            .map-border-core {
                fill: none;
                fill-opacity: 1;
                fill-rule: nonzero;
                stroke: #ffffff;
                stroke-width: 2px;
                stroke-miterlimit: 0;
                stroke-dashoffset: -0.5px;
                stroke-opacity: 1;
            }

            .map-scale-casing {
                fill: none;
                stroke: #8080ff;
                stroke-width: 4px;
                stroke-linecap: butt;
            }

            .map-scale-core {
                fill: none;
                stroke: #ffffff;
                stroke-width: 3px;
                stroke-linecap: butt;
            }

            .map-scale-bookend {
                fill: none;
                stroke: #8080ff;
                stroke-width: 1px;
                stroke-linecap: butt;
            }

            .map-scale-caption {
                font-family: "DejaVu Sans",sans-serif;
                font-size: 10px;
                fill: #8080ff;
            }

            .map-background {
                fill: #ffffff;
                stroke: none;
            }

            .map-title {
                font-family: "DejaVu Sans",sans-serif;
                font-size: 20px;
                text-anchor: middle;
                fill: black;
            }

            .map-title-background {
                fill: white;
            }

            .map-marginalia-background {
                fill: white;
            }
        </style>
		
		<!-- Markers used on paths -->
		<svg:marker id="slope_line" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M 0 0 l0 1.786" stroke="#d15c00" stroke-width="0.500" stroke-linecap="butt" stroke-linejoin="miter" fill="none" />
		</svg:marker>
		
		<svg:marker id="earth_bank_tag" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M 0 0 l0 1.786" stroke="#d15c00" stroke-width="0.500" stroke-linecap="butt" stroke-linejoin="miter" fill="none" />
		</svg:marker>
		<svg:marker id="wall_earth_marker" markerUnits="userSpaceOnUse" orient="0">
			<svg:circle cx="0" cy="0" r="0.7142" stroke="none" fill="#d15c00"/>
		</svg:marker>
		<svg:marker id="erosion_gully_small_marker" markerUnits="userSpaceOnUse" orient="0">
			<svg:circle cx="0" cy="0" r="0.4464" stroke="none" fill="#d15c00" />
		</svg:marker>
		
		<svg:marker id="cliff_impassable_tag" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M 0 0 l0 1.786" stroke="#000000" stroke-width="0.429" stroke-linecap="butt" stroke-linejoin="miter" fill="none" />
		</svg:marker>
		<svg:marker id="cliff_passable_tag" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M 0 0 l0 1.786" stroke="#000000" stroke-width="0.429" stroke-linecap="butt" stroke-linejoin="miter" fill="none" />
		</svg:marker>
		
		<svg:marker id="narrow_marsh_marker" markerUnits="userSpaceOnUse" orient="0">
			<svg:circle cx="0" cy="0" r="0.4464" stroke="none" fill="#21d1ff" />
		</svg:marker>
		<svg:marker id="spring_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:g transform="translate(-0.7142,0)">-->
			<svg:g transform="rotate(90)">
			<svg:path d="M -1.4284 -0.6062 a1.4284,1.4284 0 1,0 2.8568 0" stroke="#21d1ff" stroke-width="0.6803" stroke-linecap="butt"
 fill="none"/>
			</svg:g>
			</svg:g>
		</svg:marker>
		
		<svg:marker id="boundary_vegetation_distinct_marker" markerUnits="userSpaceOnUse" orient="0">
			<svg:circle cx="0" cy="0" r="0.3928" stroke="none" fill="#000000" />
		</svg:marker>
		
		<svg:marker id="footbridge_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M0 -2.232 l0 4.464" stroke="#000000" stroke-width="0.893" stroke-linecap="butt" fill="none" />			
		</svg:marker>
		
		<svg:marker id="railway_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M0 -1.875l0 3.750" stroke="#000000" stroke-width="1.250" stroke-linecap="butt" fill="none" />
		</svg:marker>
		<svg:marker id="powerline_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M0 -1.196l0 2.392" stroke="#000000" stroke-width="0.500" stroke-linecap="butt" fill="none" />
		</svg:marker>
		<svg:marker id="tunnel_opening_start_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M0.01 0L0 0l-1.07 2.14" stroke="#000000" stroke-width="0.643" stroke-linecap="butt" stroke-linejoin="miter" fill="none" />
		</svg:marker>
		<svg:marker id="tunnel_opening_end_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M-0.01 0L0 0l1.07 2.14" stroke="#000000" stroke-width="0.643" stroke-linecap="butt" stroke-linejoin="miter" fill="none" />
		</svg:marker>
		<svg:marker id="tunnel_start_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M-2.14 -1.07L0 0L-2.14 1.07" stroke="#000000" stroke-width="0.643" stroke-linecap="butt" stroke-linejoin="miter" fill="none" />
		</svg:marker>
		<svg:marker id="tunnel_end_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M2.14 -1.07L0 0L2.14 1.07" stroke="#000000" stroke-width="0.643" stroke-linecap="butt" stroke-linejoin="miter" fill="none" />
		</svg:marker>
				
		<svg:marker id="wall_stone_marker" markerUnits="userSpaceOnUse" orient="0">
			<svg:circle cx="0" cy="0" r="0.7142" stroke="none" fill="#000000"/>
		</svg:marker>
		<svg:marker id="wall_stone_high_marker" markerUnits="userSpaceOnUse" orient="0">
			<svg:circle cx="0" cy="0" r="0.893" stroke="none" fill="#000000"/>
		</svg:marker>		
		<svg:marker id="fence_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M0 0l0.893 1.546" fill="none" stroke="#000000" stroke-width="0.500" stroke-linecap="butt" />
		</svg:marker>
		<svg:marker id="crossing_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M0 -1.7855l0 3.571" fill="none" stroke="#000000" stroke-width="0.643" stroke-linecap="butt" />
		</svg:marker>
		<svg:marker id="firing_range_arrow" markerUnits="userSpaceOnUse" orient="auto">
			<svg:g transform="rotate(180)">
			<svg:path d="M0 -2.500l0 5.000" fill="none" stroke="#000000" stroke-width="0.893" stroke-linecap="butt" />
			<svg:path d="M0 0l7.142 -2.143l-0.893 2.143l0.893 2.143z" stroke="none" fill="#000000" />
			</svg:g>
		</svg:marker>
		<svg:marker id="pipeline_marker" markerUnits="userSpaceOnUse" orient="auto">
			<svg:path d="M0 0l-1.263 1.263M0 0l-1.263 -1.263" fill="none" stroke="#000000" stroke-width="0.500" stroke-linecap="butt" />
		</svg:marker>
		
		<!-- Patterns for areas -->
		<svg:pattern id="pattern-land-open-sandy" x="0" y="0" width="1.607" height="1.607" patternUnits="userSpaceOnUse">
			<svg:path d="M0 0L1.607 0 L1.607 1.607 L0 1.607 z" stroke="none" fill="#FFC745"/> 
			<svg:circle cx="0" cy="0" r="0.3214" stroke="none" fill="#000000"/>
			<svg:circle cx="0" cy="1.607" r="0.3214" stroke="none" fill="#000000"/>
			<svg:circle cx="1.607" cy="0" r="0.3214" stroke="none" fill="#000000"/>
			<svg:circle cx="1.607" cy="1.607" r="0.3214" stroke="none" fill="#000000"/>
			<svg:circle cx="0.8035" cy="0.8035" r="0.3214" stroke="none" fill="#000000"/>
		</svg:pattern>
		
		<svg:pattern id="pattern-marsh-uncrossable" x="0" y="0" width="1.7855" height="1.7855" patternUnits="userSpaceOnUse">
			<svg:path d="M0 0.4464l1.7855 0" stroke="#21d1ff" stroke-width="0.8928" stroke-linecap="butt" fill="none" />
		</svg:pattern>
		
		<svg:pattern id="pattern-marsh" x="0" y="0" width="1.0713" height="1.0713" patternUnits="userSpaceOnUse">
			<svg:path d="M0 0.1786ll1.0713 0" stroke="#21d1ff" stroke-width="0.3571" stroke-linecap="butt" fill="none" />
		</svg:pattern>
		
		<svg:pattern id="pattern-marsh-indistinct" x="0" y="0" width="4.1067" height="2.1426" patternUnits="userSpaceOnUse">
			<svg:path d="M0 0l3.2139 0M0 2.1426l3.2139 0M0 1.0713l1.1606 0m0.8928 0l2.5034 0" stroke="#21d1ff" stroke-width="0.3571" stroke-linecap="butt" fill="none" />
		</svg:pattern>
		
		<svg:pattern id="pattern-land-open-scattered" x="0" y="0" width="2.525" height="2.525" patternUnits="userSpaceOnUse">
			<svg:circle cx="1.2625" cy="0" r="0.714" stroke="none" fill="#ffba36"/>
			<svg:circle cx="0" cy="1.2625" r="0.714" stroke="none" fill="#ffba36"/>
			<svg:circle cx="1.2625" cy="2.525" r="0.714" stroke="none" fill="#ffba36"/>
			<svg:circle cx="2.525" cy="1.2625" r="0.714" stroke="none" fill="#ffba36"/>
		</svg:pattern>
		<svg:pattern id="pattern-land-open-rough-scattered" x="0" y="0" width="3.535" height="3.535" patternUnits="userSpaceOnUse">
			<svg:path d="M0 0L3.54 0L3.54 3.54L0 3.54 z" stroke="none" fill="#ffba36"/>
			<svg:circle cx="1.7675" cy="0" r="0.982" stroke="none" fill="#ffffff"/>
			<svg:circle cx="0" cy="1.7675" r="0.982" stroke="none" fill="#ffffff"/>
			<svg:circle cx="1.7675" cy="3.535" r="0.982" stroke="none" fill="#ffffff"/>
			<svg:circle cx="3.535" cy="1.7675" r="0.982" stroke="none" fill="#ffffff"/>		
		</svg:pattern>
		
		<svg:pattern id="pattern-undergrowth-slow" x="0" y="0" width="3.000" height="3.000" patternUnits="userSpaceOnUse" >
			<svg:path d="M0.214 0l0 3.010" stroke="#3DFF17" stroke-width="0.429" stroke-linecap="butt"  fill="none" />
		</svg:pattern>
		<svg:pattern id="pattern-undergrowth-difficult" x="0" y="0" width="1.500" height="1.500" patternUnits="userSpaceOnUse" >
			<svg:path d="M0.214 0l0 1.510" stroke="#3DFF17" stroke-width="0.429" stroke-linecap="butt" fill="none" />
		</svg:pattern>
		<svg:pattern id="pattern-forest-slow-onedirection" x="0" y="0" width="5.357" height="5.357" patternUnits="userSpaceOnUse" >
			<svg:path d="M1.964 0l0 5.37" stroke="#c5ffb9" stroke-width="3.928" stroke-linecap="butt" fill="none" />
		</svg:pattern>
		<svg:pattern id="pattern-forest-difficult-onedirection" x="0" y="0" width="5.357" height="5.357" patternUnits="userSpaceOnUse" >
			<svg:path d="M1.964 0l0 5.37" stroke="#8bff74" stroke-width="3.928" stroke-linecap="butt" fill="none" />
		</svg:pattern>		
		<svg:pattern id="pattern-forest-very-difficult-onedirection" x="0" y="0" width="5.357" height="5.357" patternUnits="userSpaceOnUse" >
			<svg:path d="M1.964 0l0 5.37" stroke="#3DFF17" stroke-width="3.928" stroke-linecap="butt" fill="none" />
		</svg:pattern>

		<svg:pattern id="pattern-orchard" x="0" y="0" width="2.857" height="2.857" patternUnits="userSpaceOnUse">
			<svg:path d="M0 0L2.87 0L2.87 2.87L0 2.87 z" stroke="none" fill="#FFBA36"/>
			<svg:circle cx="1.4285" cy="1.4285" r="0.804" stroke="none" fill="#3DFF17"/>
		</svg:pattern>
		<svg:pattern id="pattern-vineyard" x="0" y="0" width="6.0707" height="6.7849" patternUnits="userSpaceOnUse" >
			<svg:path d="M0 0L6.08 0L6.08 6.80L0 6.80 z" stroke="none" fill="#FFBA36"/>
			<svg:path d="M0 0l0 4.6423 M6.0707 0l0 4.6423 M3.0354 0l0 1.250 M3.0354 3.3925l0 3.40" stroke="#3DFF17" stroke-width="0.7142" stroke-linecap="butt" fill="none" />
		</svg:pattern>
		<svg:pattern id="pattern-land-cultivated" x="0" y="0" width="2.8568" height="2.8568" patternUnits="userSpaceOnUse" >
			<svg:path d="M0 0L2.8568 0L2.8568 2.8568L0 2.8568 z" stroke="none" fill="#FFBA36"/>
			<svg:circle cx="1.4284" cy="1.4284" r="0.3571" stroke="none" fill="#000000"/>
		</svg:pattern>
		
		<svg:pattern id="pattern-out-of-bounds-permanently" x="0" y="0" width="2.678" height="2.678" patternUnits="userSpaceOnUse">
			<svg:path d="M0.4464 0l0 2.678" fill="none" stroke="#000000" stroke-width="0.8928" stroke-linecap="butt"/>
		</svg:pattern>

		
    </defs>
</rules>

