Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3703 lines (3565 sloc) 208 KB
<?xml version="1.0" encoding="utf-8"?>
<renderingStyle name="nautical" depends="" defaultColor="#fddb8f" version="1">
<!-- <renderingProperty attr="appMode" name="Rendering mode" description="Map optimization for respective User Profile"
type="string" possibleValues="browse map,car,bicycle,pedestrian"/>-->
<renderingProperty attr="noAdminboundaries" name="Hide boundaries" description="Suppress display of admin levels 5-9"
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="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="16,15,14,13,12,11" defaultValueDescription="default" category="details"/>
<renderingProperty attr="currentTrackColor" name="Current GPX color" description="Color of the currently recording track"
type="string" possibleValues="red,orange,yellow,lightgreen,green,lightblue,blue,purple,translucent_red,translucent_orange,translucent_yellow,translucent_lightgreen,translucent_green,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"/>
<renderingAttribute name="gpxColor"> <!-- deprecated -->
<case attrColorValue="#b400ffff"/>
</renderingAttribute>
<renderingAttribute name="route">
<case color="#ccaa0088" strokeWidth="7:6" color_3="#ffffff" strokeWidth_3="7:6">
<apply_if nightMode="true" color="#ccff4400" strokeWidth="7:6"/>
</case>
</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>
<renderingAttribute name="route">
<case color="#ccaa0088" strokeWidth="11:8" color_3="#ffde5b" strokeWidth_3="5:7">
<apply_if nightMode="true" color="#ccff4400"/>
</case>
</renderingAttribute>
<renderingAttribute name="gpx">
<switch>
<case currentTrackColor="red" color="#ff0000"/>
<case currentTrackColor="orange" color="#ff7200"/>
<case currentTrackColor="yellow" color="#edc300"/>
<case currentTrackColor="lightgreen" color="#6cb52b"/>
<case currentTrackColor="green" color="#00842b"/>
<case currentTrackColor="lightblue" color="#2ec6ff"/>
<case currentTrackColor="blue" color="#4e4eff"/>
<case currentTrackColor="purple" color="#a71de1"/>
<case currentTrackColor="translucent_red" color="#aaff0000"/>
<case currentTrackColor="translucent_orange" color="#aaff7200"/>
<case currentTrackColor="translucent_yellow" color="#aaedc300"/>
<case currentTrackColor="translucent_lightgreen" color="#aa6cb52b"/>
<case currentTrackColor="translucent_green" color="#aa00842b"/>
<case currentTrackColor="translucent_lightblue" color="#aa00ffff"/>
<case currentTrackColor="translucent_blue" color="#aa4e4eff"/>
<case currentTrackColor="translucent_purple" color="#aaa71de1"/>
<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"/>
</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"/>
</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"/>
</case>
<case>
<apply_if minzoom="3" maxzoom="5" strokeWidth="1"/>
<apply_if minzoom="6" strokeWidth="2"/>
</case>
</apply>
<apply_if additional="routePoints=true" pathEffect="6_2"/>
</switch>
</renderingAttribute>
<renderingProperty attr="engine_v1" type="boolean"/>
<renderingAttribute name="waterwayArrows">
<case attrIntValue="1"/>
</renderingAttribute>
<renderingAttribute name="noHighwayOnewayArrows">
<case attrIntValue="1"/>
</renderingAttribute>
<renderingAttribute name="defaultColor">
<!-- next line should should make background transparent for underlays to be visible, but this curretnly does not work as desired -->
<!-- <case noPolygons="true" attrColorValue="#00555555"/>-->
<case attrColorValue="#fddb8f">
<apply_if nightMode="true" attrColorValue="#464234"/>
</case>
</renderingAttribute>
<renderingAttribute name="polygonMinSizeToDisplay">
<!-- Minimum polygon size in pixels -->
<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 attrIntValue="12"/>
</renderingAttribute>
<renderingAttribute name="defaultSymbolPathSpacing">
<case attrFloatValue="5"/>
</renderingAttribute>
<renderingAttribute name="defaultBlockPathSpacing">
<case attrFloatValue="100"/>
</renderingAttribute>
<renderingAttribute name="globalPathPadding">
<case attrFloatValue="0"/>
</renderingAttribute>
<renderingConstant name="waterwayColorDay" value="#76cbea"/>
<renderingConstant name="waterwayStrokeColorDay" value="#86c0e4"/>
<renderingConstant name="waterwayColorNight" value="#1c0f5e"/>
<renderingAttribute name="waterwayStrokeColorNight">
<switch>
<case publicTransportMode="true"/>
<case tramTrainRoutes="true"/>
<case subwayMode="true"/>
<apply attrColorValue="#2a3d50"/>
</switch>
<case attrColorValue="#511db8"/>
</renderingAttribute>
<renderingAttribute name="boundaryColorInner">
<case attrColorValue="#2Affffff">
<apply_if nightMode="true" attrColorValue="#16ffffff"/>
</case>
</renderingAttribute>
<renderingAttribute name="boundaryColorOuter">
<case attrColorValue="#30ffffff">
<apply_if nightMode="true" attrColorValue="#25ffffff"/>
</case>
</renderingAttribute>
<renderingAttribute name="placeCountryTextColor">
<case attrColorValue="#635700">
<apply_if nightMode="true" attrColorValue="#fffccc"/>
</case>
</renderingAttribute>
<renderingAttribute name="placeCountryTextHaloColor">
<case attrColorValue="#aaf7ebf7">
<apply_if nightMode="true" attrColorValue="#77777545"/>
</case>
</renderingAttribute>
<renderingConstant name="placeCityVillageTextColorDay" value="#000000"/>
<renderingConstant name="placeCityVillageTextHaloColorDay" value="$defaultColor"/>
<renderingConstant name="placeSuburbLocalityTextColorDay" value="#222222"/>
<renderingConstant name="placeTextHaloRadiusDay" value=":1"/>
<renderingConstant name="placeTextHaloColorDay" value="#bbfddb8f"/>
<renderingConstant name="textHaloRadiusDay" value=":1"/>
<renderingConstant name="textHaloRadiusNight" value=":2"/>
<renderingConstant name="defaultTextHaloColorDay" value="#bbfddb8f"/>
<renderingConstant name="black" value="#000000"/>
<renderingConstant name="white" value="#ffffff"/>
<renderingConstant name="null" value="#00000000"/>
<renderingAttribute name="motorwayRoadColor">
<case attrColorValue="#fdf2d9">
<apply_if nightMode="true" attrColorValue="#93916d"/>
</case>
</renderingAttribute>
<renderingAttribute name="trunkRoadColor">
<case attrColorValue="#fdf2d9">
<apply_if nightMode="true" attrColorValue="#93916d"/>
</case>
</renderingAttribute>
<renderingAttribute name="motorwayRoadShadowColor">
<case attrColorValue="#9c7136">
<apply_if nightMode="true" attrColorValue="#b7b07b"/>
</case>
</renderingAttribute>
<renderingAttribute name="trunkRoadShadowColor">
<case attrColorValue="#9c7136">
<apply_if nightMode="true" attrColorValue="#b7b07b"/>
</case>
</renderingAttribute>
<renderingAttribute name="primaryRoadColor">
<case attrColorValue="#fdebc4">
<apply_if nightMode="true" attrColorValue="#797759"/>
</case>
</renderingAttribute>
<renderingAttribute name="secondaryRoadColor">
<case attrColorValue="#fdebc4">
<apply_if nightMode="true" attrColorValue="#797759"/>
</case>
</renderingAttribute>
<renderingAttribute name="tertiaryRoadColor">
<case attrColorValue="#fde4ac">
<apply_if nightMode="true" attrColorValue="#595842"/>
</case>
</renderingAttribute>
<renderingAttribute name="tunnelColor">
<case attrColorValue="#33fde4ac">
<apply_if nightMode="true" attrColorValue="#88595842"/>
</case>
</renderingAttribute>
<renderingConstant name="residentialRoadColor" value="#fddb8f"/>
<renderingConstant name="residentialRoadColorNight" value="#464234"/>
<renderingAttribute name="residentialRoadShadowColor">
<case attrColorValue="#969696">
<apply_if nightMode="true" attrColorValue="#77b7b07b"/>
</case>
</renderingAttribute>
<renderingConstant name="serviceRoadColorNight" value="#727272"/>
<renderingAttribute name="serviceRoadColor">
<case attrColorValue="#fddb8f">
<apply_if nightMode="true" attrColorValue="#464234"/>
</case>
</renderingAttribute>
<renderingConstant name="roadRoadColor" value="#fddb8f"/>
<renderingConstant name="roadRoadColorNight" value="#464234"/>
<renderingConstant name="serviceDrivewayRoadColor" value="#fddb8f"/>
<renderingConstant name="serviceDrivewayRoadColorNight" value="#464234"/>
<renderingConstant name="pedestrianRoadModeColorDay" value="#fddb8f"/>
<renderingConstant name="pedestrianRoadModeColorNight" value="#464234"/>
<renderingConstant name="pedestrianRoadShadowColorDay" value="#777d6212"/>
<renderingConstant name="pedestrianRoadShadowColorNight" value="#8a7f5e"/>
<renderingAttribute name="trackColor">
<case attrColorValue="#998100">
<apply_if nightMode="true" attrColorValue="#cbc896"/>
</case>
</renderingAttribute>
<renderingConstant name="trackStrokeWidth" value="1:1"/>
<renderingConstant name="trackLowZoomStrokeWidth" value="0.8"/>
<renderingConstant name="trackBridgeWidth" value="3:3"/>
<renderingConstant name="trackBridgeInnerWidth" value="2:2"/>
<renderingConstant name="trackTunnelPathEffect" value="6_4"/>
<renderingAttribute name="pathColor">
<case nightMode="true" attrColorValue="#645638"/>
<case attrColorValue="#787878"/>
</renderingAttribute>
<renderingConstant name="pathStrokeWidth" value="0.9"/>
<renderingConstant name="pathPathEffect" value="4_2"/>
<renderingAttribute name="footwayColor">
<case nightMode="true" attrColorValue="#dadada"/>
<case attrColorValue="#645638"/>
</renderingAttribute>
<renderingConstant name="footwayStrokeWidth" value="0.9"/>
<renderingConstant name="bridgeColorNight" value="#ffe9b5"/>
<renderingConstant name="railwayRailColorDay" value="#97957d"/>
<renderingConstant name="railwayRailColorNight" value="#665f45"/>
<renderingConstant name="buildingColorDay" value="#a3a3a3"/>
<renderingConstant name="buildingColorNight" value="#685454"/>
<renderingAttribute name="pierColor">
<case attrColorValue="#e9ca84">
<apply_if nightMode="true" attrColorValue="#67614c"/>
</case>
</renderingAttribute>
<renderingAttribute name="accessPrivateColor">
<case nightMode="true" attrColorValue="#cc4747"/>
<case attrColorValue="#fe5757"/>
</renderingAttribute>
<renderingAttribute name="woodColor">
<case nightMode="true" attrColorValue="#3d5030"/>
<case attrColorValue="#e3d07b"/>
</renderingAttribute>
<renderingAttribute name="naturalTextColor">
<case nightMode="true" attrColorValue="#dae09f"/>
<case attrColorValue="#3a4c00"/>
</renderingAttribute>
<renderingConstant name="buildingTextHaloRadiusDay" value="1"/>
<renderingConstant name="buildingTextHaloColorDay" value="#ddfddb8f"/>
<renderingConstant name="landuseIndustrialColorDay" value="#dfd1d6"/>
<renderingConstant name="landuseIndustrialColorNight" value="#3b3b3b"/>
<renderingConstant name="landuseResidentialColorDay" value="#e3c580"/>
<renderingConstant name="landuseResidentialColorNight" value="#52513d"/>
<renderingConstant name="landuseResidentialRuralColorDay" value="#cdd5cd"/>
<renderingConstant name="landuseManmadeTextHaloRadiusDay" value=":1"/>
<renderingConstant name="landuseManmadeTextColorDay" value="#000000"/>
<renderingConstant name="landuseManmadeTextHaloColorDay" value="#aafddb8f"/>
<renderingConstant name="waterTextHaloRadiusDay" value="1"/>
<renderingConstant name="waterTextColorDay" value="#2375aa"/>
<renderingConstant name="waterTextColorNight" value="#95e7ff"/>
<renderingConstant name="waterTextHaloColorDay" value="#99ddf1fd"/>
<renderingConstant name="textHaloRadiusDay" value=":1"/>
<renderingConstant name="textHaloRadiusNight" value=":2"/>
<renderingConstant name="defaultTextColorNight" value="#ffe9b5"/>
<renderingConstant name="highwayResidentialTextHaloColorDay" value="#ffffff"/>
<renderingConstant name="highwayServiceTextHaloColorDay" value="#ffffff"/>
<renderingConstant name="highwayResidentialServiceTextColorNight" value="#ffe9b5"/>
<renderingConstant name="highwayTrackTextHaloRadiusDay" value=":1"/>
<renderingConstant name="highwayTrackTextHaloColorDay" value="#aaf1eae4"/>
<renderingAttribute name="fairwayColor">
<case nightMode="true" attrColorValue="#7700ff00"/>
<case attrColorValue="#76f17b"/>
</renderingAttribute>
<renderingAttribute name="contourLineColor">
<case engine_v1="false" attrColorValue="#15ff7c00"/>
<case attrColorValue="#2aff7c00"/>
</renderingAttribute>
<renderingAttribute name="contourLineColor50m">
<case engine_v1="false" attrColorValue="#15ea7300"/>
<case attrColorValue="#2aea7300"/>
</renderingAttribute>
<renderingAttribute name="whiteColor">
<case attrColorValue="#88ffffff"/>
</renderingAttribute>
<renderingAttribute name="redColor">
<case attrColorValue="#88ff0000"/>
</renderingAttribute>
<renderingAttribute name="orangeColor">
<case nightMode="true" attrColorValue="#88ffb631"/>
<case attrColorValue="#88ff7200"/>
</renderingAttribute>
<renderingAttribute name="brownColor">
<case nightMode="true" attrColorValue="#88b46100"/>
<case attrColorValue="#88ba7007"/>
</renderingAttribute>
<renderingAttribute name="darkyellowColor">
<case nightMode="true" attrColorValue="#88737812"/>
<case attrColorValue="#88afb61c"/>
</renderingAttribute>
<renderingAttribute name="yellowColor">
<case attrColorValue="#88edc300"/>
</renderingAttribute>
<renderingAttribute name="lightgreenColor">
<case nightMode="true" attrColorValue="#8895ff79"/>
<case attrColorValue="#886cb52b"/>
</renderingAttribute>
<renderingAttribute name="greenColor">
<case nightMode="true" attrColorValue="#8838c012"/>
<case attrColorValue="#8800842b"/>
</renderingAttribute>
<renderingAttribute name="lightblueColor">
<case nightMode="true" attrColorValue="#887fe5ff"/>
<case attrColorValue="#882ec6ff"/>
</renderingAttribute>
<renderingAttribute name="blueColor">
<case nightMode="true" attrColorValue="#886d74ff"/>
<case attrColorValue="#884e4eff"/>
</renderingAttribute>
<renderingAttribute name="purpleColor">
<case nightMode="true" attrColorValue="#88cd5efb"/>
<case attrColorValue="#88a71de1"/>
</renderingAttribute>
<renderingAttribute name="grayColor">
<case nightMode="true" attrColorValue="#aa999999"/>
<case attrColorValue="#aa999999"/>
</renderingAttribute>
<renderingAttribute name="blackColor">
<case nightMode="true" attrColorValue="#aa666666"/>
<case attrColorValue="#aa000000"/>
</renderingAttribute>
<renderingAttribute name="textOrderPopulation">
<case additional="population_rounded=1500000000" attrIntValue="6"/>
<case additional="population_rounded=400000000" attrIntValue="7"/>
<case additional="population_rounded=200000000" attrIntValue="8"/>
<case additional="population_rounded=100000000" attrIntValue="9"/>
<case additional="population_rounded=50000000" attrIntValue="10"/>
<case additional="population_rounded=25000000" attrIntValue="11"/>
<case additional="population_rounded=20000000" attrIntValue="12"/>
<case additional="population_rounded=15000000" attrIntValue="13"/>
<case additional="population_rounded=12000000" attrIntValue="14"/>
<case additional="population_rounded=9000000" attrIntValue="15"/>
<case additional="population_rounded=7000000" attrIntValue="16"/>
<case additional="population_rounded=5000000" attrIntValue="17"/>
<case additional="population_rounded=3000000" attrIntValue="18"/>
<case additional="population_rounded=2000000" attrIntValue="19"/>
<case additional="population_rounded=1000000" attrIntValue="20"/>
<case additional="population_rounded=700000" attrIntValue="21"/>
<case additional="population_rounded=400000" attrIntValue="22"/>
<case additional="population_rounded=200000" attrIntValue="32"/>
<case additional="population_rounded=100000" attrIntValue="33"/>
<case additional="population_rounded=70000" attrIntValue="34"/>
<case additional="population_rounded=40000" attrIntValue="35"/>
<case additional="population_rounded=20000" attrIntValue="36"/>
<case additional="population_rounded=10000" attrIntValue="37"/>
<case additional="population_rounded=5000" attrIntValue="38"/>
<case additional="population_rounded=2500" attrIntValue="39"/>
<case additional="population_rounded=1000" attrIntValue="40"/>
<case additional="population_rounded=500" attrIntValue="41"/>
<case additional="population_rounded=200" attrIntValue="42"/>
<case additional="population_rounded=100" attrIntValue="43"/>
</renderingAttribute>
<order>
<!-- Point -->
<switch area="false" point="true" objectType="1" order="128">
<case tag="" value=""/>
<case tag="natural" value=""/>
<case tag="waterway" value="waterfall"/>
<case tag="waterway" value="rapids"/>
<case tag="waterway" value="lock_gate"/>
<case tag="waterway" value=""/>
<case tag="natural" value="strait"/>
<case tag="natural" value="fjord"/>
<case tag="natural" value="hot_spring"/>
<case tag="natural" value="geyser"/>
<case tag="aeroway" value=""/>
<case tag="place" value=""/>
<case tag="railway" value="station"/>
<case tag="railway" value=""/>
<case tag="power" value=""/>
<case tag="osmand" value="file_waypoint"/>
<case tag="seamark:type" value="anchorage"/>
<case tag="seamark:type" value="anchor_berth"/>
<case tag="seamark:type" value="berth"/>
<case tag="seamark:type" value="gate"/>
<case tag="seamark:type" value="production_area"/>
<case tag="seamark:type" value="harbour"/>
<case tag="seamark:type" value="hulk"/>
<case tag="seamark:type" value="marine_farm"/>
<case tag="seamark:type" value="rapids"/>
<case tag="seamark:type" value="waterfall"/>
<case tag="seamark:type" value="seabed_area"/>
<case tag="seamark" value=""/>
<case tag="seamark:type" value="fishing_facility"/>
</switch>
<!-- Polygon -->
<switch area="true" point="false" addPoint="true" objectType="3" order="5">
<switch layer="-1" order="3">
<case tag="natural" value="coastline"/>
<case tag="natural" value="land"/>
<case tag="place" value="island"/>
<case tag="" value=""/>
</switch>
<case tag="military" value="danger_area" order="8"/>
<case tag="railway" value="" order="4"/>
<case tag="historic" value="ship"/>
<case tag="barrier" value="city_wall"/>
<case tag="seamark:type" value="fortified_structure"/>
<case tag="seamark:type" value="inshore_traffic_zone"/>
<case tag="seamark:type" value="military_area"/>
<case tag="man_made" value="breakwater"/>
<case tag="man_made" value="groyne"/>
<case tag="man_made" value="bridge"/>
</switch>
<switch cycle="true" point="false" addPoint="true" objectType="3" order="5">
<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="highway" value="rest_area"/>
<case tag="area:highway" value="residential"/>
<case tag="area:highway" value="footway"/>
<case tag="leisure" value="nature_reserve" order="9"/>
<case tag="landuse" value="military" order="8"/>
<case tag="military" value="danger_area" order="8"/>
<case tag="waterway" value="dock"/>
<case tag="waterway" value="wadi"/>
<case tag="seamark:type" value="anchorage"/>
<case tag="seamark:type" value="anchor_berth"/>
<case tag="seamark:type" value="berth"/>
<case tag="seamark:type" value="fairway"/>
<case tag="seamark:type" value="fishing_facility"/>
<case tag="seamark:type" value="production_area"/>
<case tag="seamark:type" value="restricted_area" order="6"/>
<case tag="seamark:type" value="obstruction" order="6"/>
<case tag="seamark:type" value="harbour" ignorePolygonArea="true" ignorePolygonAsPointArea="true"/>
<case tag="seamark:type" value="hulk"/>
<case tag="seamark:type" value="inshore_traffic_zone"/>
<case tag="seamark:type" value="marine_farm"/>
<case tag="seamark:type" value="military_area"/>
<case tag="seamark:type" value="pipeline_area"/>
<case tag="seamark:type" value="seabed_area"/>
<case tag="natural" value="cliff"/>
<case tag="natural" value="crater"/>
<case tag="natural" value="hot_spring"/>
<case tag="natural" value="geyser"/>
<case tag="natural" value="wetland" order="6"/>
<case tag="man_made" value="bridge" order="10"/>
<case tag="man_made" value="pier" order="10"/>
<case tag="building" value="no" order="-1"/>
<switch>
<case tag="military" value="bunker"/>
<case tag="military" value="barracks"/>
<case tag="man_made" value="chimney"/>
<case tag="building" value="" order="41"/>
</switch>
<case tag="waterway" value="dam" order="10"/>
<case tag="waterway" value="weir" order="10"/>
<!-- <case tag="waterway" value="rapids"/>-->
<switch order="5">
<case tag="natural" value="water"/>
<case tag="waterway" value="riverbank"/>
<case tag="aeroway" value="runway"/>
<case tag="aeroway" value="aerodrome"/>
<case tag="aeroway" value="apron"/>
<case tag="aeroway" value="terminal"/>
<case tag="aeroway" value="helipad"/>
</switch>
<case tag="landuse" value="basin" additional="basin=detention" order="-1"/>
<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="power" value="line" order="96"/>
<case tag="power" value="minor_line" order="96"/>
<case tag="railway" value="" order="58">
<case layer="-1" order="-1"/>
<case additional="service=spur" order="-1"/>
</case>
<case layer="1" tag="railway" value="" order="88"/>
<case tag="amenity" value="ferry_terminal"/>
<case tag="natural" value="cliff"/>
<case tag="natural" value="crater"/>
<case tag="natural" value="strait"/>
<case tag="natural" value="fjord"/>
<switch order="40">
<case tag="seamark:type" value="lock_basin"/>
<case tag="seamark:type" value="lock_basin_part"/>
</switch>
<case tag="barrier" value="city_wall"/>
<case tag="seamark:type" value="fortified_structure"/>
<case tag="seamark:type" value="fairway"/>
<case tag="seamark:type" value="fishing_facility"/>
<case tag="seamark:type" value="gate"/>
<case tag="seamark:type" value="inshore_traffic_zone"/>
<case tag="seamark:type" value="pipeline_area"/>
<case tag="seamark:type" value="rapids"/>
<case tag="seamark:type" value="waterfall"/>
<case tag="waterway" value="dam"/>
<case tag="waterway" value="weir" order="19"/>
<case tag="waterway" value="lock_gate"/>
<case tag="waterway" value="wadi" order="35"/>
<case tag="waterway" value="waterfall" order="35"/>
<case tag="waterway" value="rapids" order="35"/>
<case tag="waterway" value="" order="9">
<apply_if layer="1" order="68"/>
</case>
<case tag="admin_level" value="" order="62"/>
<case tag="administrative" value="" order="62"/>
<case tag="boundary" value="" order="62"/>
<!-- Highways: 35-57, bridges 70-88 -->
<case tag="highway" value="motorway" order="57">
<apply_if layer="1" order="87"/>
<apply_if layer="-1" order="33"/>
</case>
<case tag="highway" value="motorway_link" order="44">
<apply_if layer="1" order="74"/>
<apply_if layer="-1" order="32"/>
</case>
<case tag="highway" value="trunk" order="56">
<apply_if layer="1" order="86"/>
<apply_if layer="-1" order="31"/>
</case>
<case tag="highway" value="trunk_link" order="43">
<apply_if layer="1" order="73"/>
<apply_if layer="-1" order="30"/>
</case>
<case tag="highway" value="primary" order="55">
<case layer="1" order="85"/>
<case maxzoom="13" order="-1"/>
<apply_if layer="-1" order="29"/>
</case>
<case tag="highway" value="primary_link" order="42">
<case layer="1" order="72"/>
<case maxzoom="13" order="-1"/>
<apply_if layer="-1" order="28"/>
</case>
<case tag="highway" value="secondary" order="54">
<case layer="1" order="84"/>
<case maxzoom="14" order="-1"/>
<apply_if layer="-1" order="27"/>
</case>
<case tag="highway" value="secondary_link" order="41">
<case layer="1" order="71"/>
<case maxzoom="14" order="-1"/>
<apply_if layer="-1" order="26"/>
</case>
<case tag="highway" value="tertiary" order="53">
<case layer="1" order="83"/>
<case maxzoom="15" order="-1"/>
<apply_if layer="-1" order="25"/>
</case>
<case tag="highway" value="tertiary_link" order="40">
<case layer="1" order="70"/>
<case maxzoom="15" order="-1"/>
<apply_if layer="-1" order="24"/>
</case>
<case tag="highway" value="road" order="52">
<case layer="1" order="82"/>
<case layer="-1" order="-1"/>
<case maxzoom="15" order="-1"/>
</case>
<case tag="highway" value="unclassified" order="52">
<case layer="1" order="82"/>
<case layer="-1" order="-1"/>
<case maxzoom="15" order="-1"/>
</case>
<case tag="highway" value="residential" order="51">
<case layer="1" order="81"/>
<case layer="-1" order="-1"/>
<case maxzoom="15" order="-1"/>
</case>
<case tag="highway" value="service" order="51">
<case layer="1" order="81"/>
<case layer="-1" order="-1"/>
<case maxzoom="15" order="-1"/>
</case>
<case tag="highway" value="living_street" order="50">
<case layer="1" order="80"/>
<case layer="-1" order="-1"/>
<case maxzoom="15" order="-1"/>
</case>
<case tag="highway" value="pedestrian" order="50">
<case layer="1" order="80"/>
<case layer="-1" order="-1"/>
<case maxzoom="15" order="-1"/>
</case>
<case tag="highway" value="track" order="37">
<case layer="1" order="90"/>
<case layer="-1" order="-1"/>
<case maxzoom="16" order="-1"/>
</case>
<switch>
<switch>
<case tag="highway" value="path" order="37">
<case layer="1" order="90"/>
<case maxzoom="16" order="-1"/>
</case>
<case tag="highway" value="footway" order="37">
<case layer="1" order="90"/>
<case maxzoom="16" order="-1"/>
</case>
<apply_if maxzoom="15" layer="1" order="40"/>
</switch>
<case tag="highway" value="steps" order="38">
<case layer="1" order="91">
<apply_if maxzoom="15" order="40"/>
</case>
<case maxzoom="16" order="-1"/>
</case>
<apply_if layer="-1" order="-1"/>
</switch>
<case tag="route" value="ferry" order="35"/>
<case tag="aeroway" value="" order="32"/>
<case tag="aeroway" value="runway"/>
<case tag="contour" value="" order="15"/>
<case tag="barrier" value="" order="20"/>
<case tag="man_made" value="embankment" order="11"/>
<case tag="embankment" value="yes" order="11"/>
<case tag="osmand" value="file_trackline"/>
<case tag="osmand" value="file_routeline"/>
</switch>
</order>
<text>
<case minzoom="11" tag="osmand" value="file_waypoint"> <!-- for new OpenGL engine -->
<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"/>
<apply_if nightMode="true" textColor="#dddddd" textHaloColor="#5f0000"/>
</case>
</case>
<!-- Location names -->
<switch minzoom="3">
<case tag="natural" value="coastline"/>
<case tag="natural" value="land"/>
<apply textSize="14" textColor="#883287" textWrapWidth="35" textHaloRadius="$textHaloRadiusDay" textHaloColor="$defaultTextHaloColorDay"/>
<apply_if nightMode="true" textColor="#ffb9fe" textHaloColor="#77333333"/>
</switch>
<!-- continent not really useful here: filter minzoom="2" maxzoom="2" textSize="14" textColor="#9d6c9d" textWrapWidth="20" tag="place" value="continent"/ -->
<case minzoom="1" maxzoom="2" tag="place" value="continent" textSize="13" textColor="$placeCountryTextColor" textHaloColor="$placeCountryTextHaloColor" textHaloRadius="3" textBold="true" textWrapWidth="15" textOrder="1"/>
<case minzoom="3" tag="place" value="country" nameTag="" textColor="$placeCountryTextColor" textHaloColor="$placeCountryTextHaloColor" 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="33"/>
<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="#9d6c9d" textWrapWidth="20" textHaloRadius="$textHaloRadiusDay" textHaloColor="#88ffffff">
<switch engine_v1="true">
<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" textWrapWidth="15"/>
<apply_if textColor="#635700" textHaloRadius="$textHaloRadiusDay" textHaloColor="$defaultTextHaloColorDay">
<apply_if nightMode="true" textColor="#fffccc" textHaloColor="#77777545"/>
</apply_if>
</switch>
<switch minzoom="3" textColor="$placeCityVillageTextColorDay" textWrapWidth="20" textHaloRadius="$placeTextHaloRadiusDay" textHaloColor="$placeCityVillageTextHaloColorDay" textBold="true" textDy="-4">
<case minzoom="5" tag="place" value="city" nameTag="" intersectionMargin="25" textOrder="32">
<case minzoom="6" maxzoom="7" textSize="17"/>
<case minzoom="8" textSize="20"/>
<!-- <apply_if additional="population_rounded=" textOrder="$textOrderPopulation"/>-->
<apply>
<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="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>
<apply_if additional="capital=yes" textOrder="15">
<switch>
<case maxzoom="5" textSize="13" textOrder="25" textDy="0"/>
<case maxzoom="7" textSize="20"/>
<case minzoom="8" textSize="22"/>
<apply>
<case additional="population_rounded=20000000" textOrder="15"/>
<case additional="population_rounded=15000000" textOrder="15"/>
<case additional="population_rounded=12000000" textOrder="16"/>
<case additional="population_rounded=9000000" textOrder="16"/>
<case additional="population_rounded=7000000" textOrder="17"/>
<case additional="population_rounded=5000000" textOrder="17"/>
<case additional="population_rounded=3000000" textOrder="18"/>
<case additional="population_rounded=2000000" textOrder="18"/>
<case additional="population_rounded=1000000" textOrder="19"/>
<case additional="population_rounded=700000" textOrder="20"/>
<case additional="population_rounded=400000" textOrder="21"/>
<case additional="population_rounded=200000" textOrder="22"/>
<case additional="population_rounded=100000" textOrder="23"/>
<case additional="population_rounded=70000" textOrder="23"/>
<case additional="population_rounded=40000" textOrder="23"/>
<case additional="population_rounded=20000" textOrder="23"/>
</apply>
</switch>
</apply_if>
</case>
<switch>
<case minzoom="8" tag="place" value="town" textSize="16" textOrder="36" nameTag="" intersectionMargin="15"/>
<case minzoom="11" tag="place" value="village" textSize="14" textOrder="40" nameTag="" intersectionMargin="15">
<apply_if minzoom="16" textSize="16"/>
<apply_if minzoom="17" textSize="17"/>
</case>
<!-- <apply_if additional="population_rounded=" textOrder="$textOrderPopulation"/>-->
<apply>
<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>
</switch>
<apply_if nightMode="true" textColor="#ffffff" textHaloRadius="$textHaloRadiusNight" textHaloColor="#77444444"/>
<apply_if engine_v1="false" textDy="-3"/>
</switch>
<switch textColor="$placeSuburbLocalityTextColorDay" textWrapWidth="20" textHaloRadius="$placeTextHaloRadiusDay" textHaloColor="$placeTextHaloColorDay" intersectionMargin="15">
<case minzoom="12" maxzoom="17" tag="place" value="suburb" nameTag="" textSize="15" textItalic="true" textOrder="37" intersectionMargin="25">
<apply_if minzoom="16" textSize="17"/>
</case>
<switch>
<case minzoom="13" tag="place" value="neighbourhood" nameTag="" textOrder="39"/>
<case minzoom="17" tag="place" value="quarter" textOrder="38"/>
<case minzoom="12" tag="place" value="hamlet" nameTag="" textOrder="42"/>
<case minzoom="13" tag="place" value="farm" nameTag="" textOrder="109"/>
<case minzoom="13" tag="place" value="allotments" nameTag="" textOrder="110"/>
<case minzoom="13" tag="place" value="isolated_dwelling" nameTag="" textOrder="111"/>
<case minzoom="13" tag="place" value="locality" nameTag="" textOrder="112"/>
<apply textSize="13"/>
<apply_if minzoom="16" textSize="15"/>
<apply_if minzoom="17" textSize="16"/>
</switch>
<case minzoom="11" tag="place" value="island" nameTag="" textSize="14" textOrder="113">
<apply_if minzoom="16" textSize="16"/>
</case>
<apply_if nightMode="true" textColor="$defaultTextColorNight" textHaloRadius="$textHaloRadiusNight" textHaloColor="#77777777"/>
<apply_if engine_v1="false" textDy="-5"/>
<apply_if additional="population_rounded=" textOrder="$textOrderPopulation"/>
<apply_if engine_v1="false"> <!-- Workaround for bug in OpenGL engine. Delete when fixed https://trello.com/c/WjuVi6UC/502-population-case-additional-renderingattribute-opengl -->
<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>
</switch>
<switch textHaloRadius="$buildingTextHaloRadiusDay">
<switch minzoom="17">
<case tag="military" value="barracks"/>
<case tag="military" value="bunker"/>
<case tag="man_made" value="storage_tank"/>
<case tag="man_made" value="silo"/>
<case tag="man_made" value="chimney"/>
<case tag="man_made" value="gasometer"/>
<case tag="aeroway" value="terminal"/>
<case tag="building" value="" nameTag="" nameTag2="addr:housenumber"/>
<apply_if maxzoom="17" textSize="13" textMinDistance="40"/>
<apply_if minzoom="18" textSize="15"/>
<apply textDy="7" textWrapWidth="20" textOrder="66"/>
<apply textColor="#404040" textHaloColor="$buildingTextHaloColorDay">
<apply_if nightMode="true" textColor="$defaultTextColorNight" textHaloRadius="$textHaloRadiusNight" textHaloColor="#77666666"/>
</apply>
</switch>
<switch minzoom="18">
<case tag="addr:housenumber" value="" nameTag="addr:housenumber"/>
<case tag="addr:housenumber" value="" nameTag=""/>
<apply textColor="#404040" textWrapWidth="25" textOrder="67" textDy="7" textSize="15" intersectionSizeFactor="1.4"/>
<apply textColor="#404040" textHaloColor="$buildingTextHaloColorDay">
<apply_if nightMode="true" textColor="$defaultTextColorNight" textHaloRadius="$textHaloRadiusNight" textHaloColor="#77666666"/>
</apply>
</switch>
</switch>
<case minzoom="16" tag="man_made" value="pier" textSize="11" textColor="#1f62ae" textHaloRadius="$textHaloRadiusDay" textHaloColor="#ccffffff" textOnPath="true" textWrapWidth="30">
<apply_if nightMode="true" textColor="#a3c8ff" textHaloRadius="$textHaloRadiusNight" textHaloColor="#66002357"/>
</case>
<!-- Highway text -->
<switch textHaloRadius="$textHaloRadiusDay" textOnPath="true" nameTag="">
<case tag="highway" value="motorway" textHaloColor="$motorwayRoadColor" textOrder="100"/>
<case tag="highway" value="motorway_link" textHaloColor="$motorwayRoadColor" textOrder="101"/>
<case tag="highway" value="trunk" textHaloColor="$trunkRoadColor" textOrder="103"/>
<case tag="highway" value="trunk_link" textHaloColor="$trunkRoadColor" textOrder="104"/>
<case tag="highway" value="primary" textHaloColor="$primaryRoadColor" textOrder="106"/>
<case tag="area:highway" value="primary" textHaloColor="$primaryRoadColor" textWrapWidth="25" textOrder="107"/>
<case tag="highway" value="primary_link" textHaloColor="$primaryRoadColor" textOrder="108"/>
<case tag="highway" value="secondary" textHaloColor="$secondaryRoadColor" textOrder="110"/>
<case tag="area:highway" value="secondary" textHaloColor="$secondaryRoadColor" textWrapWidth="25" textOrder="111"/>
<case tag="highway" value="secondary_link" textHaloColor="$secondaryRoadColor" textOrder="112"/>
<apply_if minzoom="13">
<case maxzoom="13" textSize="12"/>
<case maxzoom="14" textSize="13"/>
<case maxzoom="15" textSize="14"/>
<case maxzoom="16" textSize="15"/>
<case maxzoom="17" textSize="17"/>
<case minzoom="18" textSize="19"/>
</apply_if>
<apply_if nightMode="true" textColor="$defaultTextColorNight" textBold="true"/>
</switch>
<switch textHaloRadius="$textHaloRadiusDay" textOnPath="true" textHaloColor="$tertiaryRoadColor" nameTag="">
<case tag="highway" value="tertiary" textOrder="144"/>
<case tag="area:highway" value="tertiary" textWrapWidth="25" textOrder="145"/>
<case tag="highway" value="tertiary_link" textOrder="146"/>
<apply_if minzoom="14">
<case maxzoom="14" textSize="12"/>
<case maxzoom="15" textSize="13"/>
<case maxzoom="16" textSize="14"/>
<case maxzoom="17" textSize="16"/>
<case minzoom="18" textSize="18"/>
</apply_if>
<apply_if nightMode="true" textColor="$defaultTextColorNight" textBold="true"/>
</switch>
<switch>
<switch>
<switch textHaloRadius="$textHaloRadiusDay" textOrder="175">
<case tag="highway" value="road"/>
<case tag="area:highway" value="road" textWrapWidth="25"/>
<case tag="highway" value="unclassified"/>
<case tag="area:highway" value="unclassified" textWrapWidth="25"/>
<case tag="highway" value="residential"/>
<case tag="area:highway" value="residential" textWrapWidth="25"/>
<case tag="man_made" value="bridge"/>
<apply_if nightMode="true" textBold="true"/>
</switch>
<switch textHaloRadius="$textHaloRadiusDay">
<case tag="highway" value="service" textOrder="178"/>
<case tag="area:highway" value="service" textOrder="179" textWrapWidth="25"/>
<case tag="highway" value="living_street" textOrder="180"/>
<apply_if nightMode="true"/>
</switch>
<apply textColor="#222222" textHaloColor="$residentialRoadColor">
<apply_if nightMode="true" textColor="$highwayResidentialServiceTextColorNight" textHaloColor="#464234" textHaloRadius="$textHaloRadiusNight"/>
</apply>
</switch>
<switch textHaloRadius="$textHaloRadiusDay" textHaloColor="$pedestrianRoadModeColorDay">
<case tag="highway" value="pedestrian" textOrder="176"/>
<case tag="area:highway" value="pedestrian" textWrapWidth="25" textOrder="113"/>
<apply textColor="#000000">
<apply_if nightMode="true" textColor="$defaultTextColorNight" textHaloRadius="$textHaloRadiusNight" textHaloColor="$pedestrianRoadModeColorNight"/>
</apply>
</switch>
<apply minzoom="14" textOnPath="true" nameTag="">
<case maxzoom="14" textSize="12"/>
<case maxzoom="15" textSize="13"/>
<case maxzoom="16" textSize="14"/>
<case maxzoom="17" textSize="16"/>
<case minzoom="18" textSize="18"/>
</apply>
</switch>
<switch minzoom="14">
<switch nameTag="">
<case tag="highway" value="track" textOrder="238"/>
<case tag="highway" value="steps" textOrder="244"/>
</switch>
<case tag="highway" value="path" nameTag="" textOrder="243"/>
<case tag="highway" value="footway" nameTag="" textOrder="240"/>
<apply nameTag="" textColor="#000000" textHaloRadius="$highwayTrackTextHaloRadiusDay" textHaloColor="#fddb8f" textOnPath="true"/>
<apply_if minzoom="15">
<case maxzoom="15" textSize="13"/>
<case maxzoom="16" textSize="14"/>
<case maxzoom="17" textSize="16"/>
<case minzoom="18" textSize="18"/>
<apply_if nightMode="true" textColor="$defaultTextColorNight" textHaloRadius="$textHaloRadiusNight" textHaloColor="#77777777"/>
</apply_if>
</switch>
<switch minzoom="15" textOrder="65" nameTag="">
<case tag="area:highway" value="footway" textOrder="241" textWrapWidth="25"/>
<apply>
<case maxzoom="15" textSize="13"/>
<case maxzoom="16" textSize="14"/>
<case maxzoom="17" textSize="16"/>
<case minzoom="18" textSize="18"/>
</apply>
<apply textColor="#000000" textHaloRadius="$highwayTrackTextHaloRadiusDay" textHaloColor="$pedestrianRoadModeColorDay" textOnPath="true"/>
<apply_if nightMode="true" textColor="$defaultTextColorNight" textHaloRadius="$textHaloRadiusNight" textHaloColor="$pedestrianRoadModeColorNight"/>
</switch>
<switch textSize="12" textColor="$landuseManmadeTextColorDay" textHaloRadius="$landuseManmadeTextHaloRadiusDay" textHaloColor="$landuseManmadeTextHaloColorDay" textWrapWidth="20" textOrder="250">
<switch>
<case minzoom="15" tag="landuse" value="industrial"/>
<case minzoom="15" tag="landuse" value="garages"/>
<case minzoom="13" tag="landuse" value="railway"/>
<case minzoom="13" tag="landuse" value="residential"/>
<case minzoom="13" tag="landuse" value="quarry"/>
</switch>
<case minzoom="17" textSize="12" tag="man_made" value="windmill"/>
<case minzoom="17" tag="man_made" value="tower"/>
<case minzoom="17" tag="man_made" value="mast"/>
<case minzoom="17" tag="man_made" value="monitoring_station"/>
<case minzoom="16" tag="man_made" value="petroleum_well"/>
<case minzoom="18" tag="man_made" value="crane"/>
<case minzoom="15" tag="man_made" value="observatory"/>
<case minzoom="17" tag="man_made" value="survey_point"/>
<case minzoom="17" tag="seamark:type" value="control_point"/>
<case minzoom="17" tag="man_made" value="water_tower"/>
<case minzoom="15" tag="power" value="generator" nameTag="">
<apply_if additional="generator:source=wind" nameTag2="height"/>
</case>
<apply_if engine_v1="true" textDy="5"/>
<apply_if nightMode="true" textColor="$defaultTextColorNight" textHaloColor="#77464234"/>
</switch>
<switch>
<case minzoom="15" tag="landuse" value="military"/>
<case minzoom="15" tag="seamark:type" value="military_area"/>
<apply textSize="12" textColor="#990d2a" textHaloRadius="$textHaloRadiusDay" textHaloColor="#ffd9e6" textWrapWidth="20" textOrder="60"/>
<apply_if nightMode="true" textColor="#ffd3dc" textHaloRadius="$textHaloRadiusNight" textHaloColor="#77724456"/>
</switch>
<switch textHaloRadius="$textHaloRadiusDay" textSize="13" textColor="#ff0255" textBold="true" textWrapWidth="20">
<case minzoom="13" tag="military" value="danger_area"/>
<apply_if nightMode="true" textColor="#f6dada" textHaloRadius="$textHaloRadiusNight" textHaloColor="#88a20035"/>
</switch>
<switch textSize="12" textColor="$naturalTextColor" textWrapWidth="20" textHaloRadius="$textHaloRadiusDay" textHaloColor="#ccfddb8f" nameTag="">
<switch textItalic="true">
<case minzoom="16" tag="natural" value="wood" textOrder="60"/>
<case minzoom="17" tag="natural" value="wetland" textOrder="70"/>
<case minzoom="16" tag="landuse" value="forest" textOrder="60"/>
<case minzoom="12" tag="leisure" value="nature_reserve" textOrder="60"/>
<case minzoom="12" tag="boundary" value="national_park" textOrder="61" textOnPath="true"/>
<case minzoom="9" tag="natural" value="reef"/>
<case minzoom="14" textSize="12" tag="natural" value="ridge" textOnPath="true" textDy="0"/>
</switch>
<apply_if nightMode="true" textColor="$naturalTextColor" textHaloRadius="$textHaloRadiusNight" textHaloColor="#88464234"/>
</switch>
<switch tag="contour" value="" textOnPath="true">
<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="15" additional="contourtype=50m" textColor="#777777" textSize="10" textMinDistance="600">
<apply_if nightMode="true" textColor="#aaaaaa" textHaloRadius=":1" textHaloColor="#66777777"/>
</case>
<case minzoom="16" additional="contourtype=20m" textColor="#777777" textSize="10" textMinDistance="700">
<apply_if nightMode="true" textColor="#999999" textHaloRadius=":1" textHaloColor="#22777777"/>
</case>
<case minzoom="17" additional="contourtype=10m" textColor="#888888" textSize="9" textMinDistance="800">
<apply_if nightMode="true" textColor="#888888" textHaloRadius=":1" textHaloColor="#22777777"/>
</case>
<case additional="contourtype=100m" textColor="#444444" textSize="12" textMinDistance="240">
<apply_if nightMode="true" textColor="#bbbbbb" textHaloRadius=":1" textHaloColor="#77777777"/>
</case>
</apply>
</switch>
<switch textColor="#000000" textWrapWidth="20">
<case tag="osmand_legend" value="header" textOrder="1" nameTag="" textBold="true" textDy="-11" textHaloRadius=":1" textHaloColor="$defaultTextHaloColorDay">
<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="$textHaloRadiusDay" textHaloColor="$defaultTextHaloColorDay" nameTag="">
<case minzoom="17" maxzoom="17" textSize="11"/>
<case minzoom="18" textSize="12" textWrapWidth="30"/>
</case>
<apply_if nightMode="true" textColor="#ffffff" textHaloRadius="$textHaloRadiusNight" textHaloColor="#77777777"/>
</switch>
<switch textColor="#654321" textDy="7" textWrapWidth="25" textHaloColor="#aafddb8f" textHaloRadius="$textHaloRadiusDay" textItalic="true">
<switch>
<case minzoom="12" tag="natural" value="peak">
<case maxzoom="13" nameTag="ele" textSize="11" textOrder="60"/>
<case maxzoom="14" nameTag="" nameTag2="ele" textSize="12" textOrder="60"/>
<case maxzoom="16" nameTag="" nameTag2="ele" textSize="13" textOrder="65"/>
<case minzoom="17" nameTag="" nameTag2="ele" textSize="16" textOrder="65"/>
</case>
<case minzoom="14" textSize="12" tag="natural" value="ridge" textOnPath="true" textDy="0"/>
<case minzoom="13" textSize="14" tag="natural" value="crater" textColor="#4e0d0d" textDy="-4"/>
<apply_if nightMode="true" textHaloRadius="$textHaloRadiusNight" textColor="#ffcc9b" textHaloColor="#77464234"/>
</switch>
<case minzoom="11" tag="natural" value="volcano" nameTag2="ele" textOrder="53" textHaloColor="#99ffd6c0">
<case maxzoom="12" textSize="12"/>
<case minzoom="13" textSize="13"/>
<apply_if nightMode="true" textColor="#ffcc9b" textHaloColor="#77464234"/>
</case>
<apply_if engine_v1="false" textDy="0"/>
</switch>
<case minzoom="9" tag="natural" value="cape" textSize="12" textColor="#510060" textHaloColor="#55fbe2ff" textDy="7" textWrapWidth="25" textHaloRadius="$textHaloRadiusDay" textItalic="true" textOrder="140">
<apply_if nightMode="true" textHaloRadius="$textHaloRadiusNight" textColor="#fadcff" textHaloColor="#55570067"/>
</case>
<!-- Water -->
<switch textColor="$waterTextColorDay" textHaloRadius="$waterTextHaloRadiusDay" textHaloColor="$waterTextHaloColorDay" textSize="12" textItalic="true">
<case minzoom="2" tag="place" value="ocean" textWrapWidth="20" textOrder="53"/>
<case minzoom="5" tag="place" value="sea" textWrapWidth="20" textOrder="83"/>
<case minzoom="6" tag="natural" value="water" textWrapWidth="17" textOrder="228" intersectionSizeFactor="1.4">
<case engine_v1="true" textDy="13"/>
</case>
<case minzoom="8" tag="seamark:type" value="sea_area" textWrapWidth="20" textOrder="228"/>
<case minzoom="8" tag="natural" value="bay" textWrapWidth="17" textOrder="229"/>
<case minzoom="8" tag="natural" value="strait" textOnPath="true" textWrapWidth="25" textOrder="230"/>
<case minzoom="11" tag="natural" value="fjord" textOnPath="true" textWrapWidth="25" textOrder="231"/>
<case minzoom="13" tag="waterway" value="stream" textOnPath="true" textOrder="256"/>
<case minzoom="13" tag="waterway" value="wadi" textOnPath="true" textOrder="263"/>
<case minzoom="11" tag="waterway" value="river" textOnPath="true" textMinDistance="80" textOrder="234"/>
<case minzoom="13" tag="waterway" value="canal" textOnPath="true" textMinDistance="80" textOrder="235"/>
<case minzoom="15" tag="waterway" value="ditch" textOnPath="true" textOrder="260"/>
<case minzoom="15" tag="waterway" value="drain" textOnPath="true" textOrder="261"/>
<!-- <case minzoom="15" tag="waterway" value="lock_gate" textDy="7" textWrapWidth="30" textOrder="15"/>-->
<!-- not a conventional tag: case minzoom="15" textDy="7" textWrapWidth="30" tag="waterway" value="lock" textOrder="15"/ -->
<case minzoom="16" tag="natural" value="spring" textDy="7" textWrapWidth="20" textOrder="254"/>
<case minzoom="16" tag="natural" value="hot_spring" textDy="7" textWrapWidth="20" textOrder="254"/>
<case minzoom="16" tag="natural" value="geyser" textDy="7" textWrapWidth="20" textOrder="254"/>
<case minzoom="17" tag="man_made" value="breakwater" textWrapWidth="20" textOnPath="true" textOrder="255"/>
<case minzoom="17" tag="man_made" value="groyne" textWrapWidth="20" textOnPath="true" textOrder="255"/>
<switch minzoom="15">
<case tag="waterway" value="waterfall" nameTag2="height"/>
<case tag="seamark:type" value="waterfall" nameTag2="height"/>
<apply textDy="7" textWrapWidth="20" textOnPath="true" textOrder="255"/>
</switch>
<switch minzoom="17">
<case tag="waterway" value="rapids"/>
<case tag="seamark:waterway" value="rapids"/>
<apply textSize="11" textOnPath="true"/>
<apply_if engine_v1="true" textDy="6"/>
</switch>
<case minzoom="13" tag="landuse" value="water" textWrapWidth="20"/>
<case minzoom="13" tag="landuse" value="reservoir" textWrapWidth="20"/>
<case minzoom="13" tag="landuse" value="basin" textWrapWidth="20"/>
<case minzoom="17" tag="leisure" value="swimming_pool" textWrapWidth="20"/>
<case minzoom="16" tag="landuse" value="salt_pond" textWrapWidth="20"/>
<case minzoom="13" tag="natural" value="glacier" textWrapWidth="20" textDy="-9"/>
<apply_if nightMode="true" textHaloRadius="$textHaloRadiusNight" textColor="$waterTextColorNight" textHaloColor="#994563a7"/>
</switch>
<!-- Seamarks -->
<switch minzoom="11" textColor="#0400ab" textWrapWidth="19" textHaloColor="#5576cbea" textHaloRadius="2">
<switch nameTag="seamark:name" nameTag2="seamark:light:character">
<switch textItalic="true">
<case minzoom="15" tag="seamark:type" value="buoy_lateral"/>
<case minzoom="15" tag="seamark:type" value="buoy_cardinal"/>
<case minzoom="14" tag="seamark:type" value="buoy_isolated_danger"/>
<case minzoom="14" tag="seamark:type" value="buoy_safe_water"/>
<case minzoom="15" tag="seamark:type" value="buoy_special_purpose"/>
<case minzoom="15" tag="seamark:type" value="buoy_installation"/>
</switch>
<case minzoom="15" tag="seamark:type" value="beacon_lateral"/>
<case minzoom="15" tag="seamark:type" value="beacon_cardinal"/>
<case minzoom="14" tag="seamark:type" value="beacon_isolated_danger"/>
<case minzoom="14" tag="seamark:type" value="beacon_safe_water"/>
<case minzoom="15" tag="seamark:type" value="beacon_special_purpose"/>
<case minzoom="17" tag="seamark:type" value="rock"/>
<case minzoom="17" tag="seamark:type" value="wreck"/>
<case minzoom="15" tag="seamark:type" value="light_float"/>
<case minzoom="15" tag="seamark:type" value="light_vessel"/>
<case minzoom="17" tag="seamark:type" value="radar_reflector"/>
<case minzoom="17" tag="seamark:type" value="waterway_gauge"/>
<case minzoom="17" tag="seamark:type" value="notice" nameTag="seamark:notice:information"/>
<case minzoom="17" tag="seamark:type" value="notice" nameTag="seamark:notice:1:information"/>
<case minzoom="18" tag="seamark:type" value="mooring" nameTag="name"/>
<case minzoom="18" tag="seamark:type" value="mooring" nameTag="seamark:name"/>
<case minzoom="18" tag="seamark:type" value="pile" nameTag="seamark:name"/>
<switch minzoom="16" textOnPath="true" textOrder="130">
<case tag="seamark:type" value="lock_basin"/>
<case tag="seamark:type" value="lock_basin_part"/>
<case minzoom="17" tag="seamark:type" value="gate"/>
</switch>
<apply_if engine_v1="true" textDy="9">
<apply_if engine_v1="false" textDy="7"/>
</apply_if>
</switch>
<switch> <!-- for big icons -->
<switch>
<case minzoom="11" tag="seamark:type" value="light_major" nameTag="name" nameTag2="seamark:light:character" textOrder="60"/>
<case minzoom="11" tag="seamark:type" value="light_major" nameTag="seamark:name" nameTag2="seamark:light:character" textOrder="60"/>
<case minzoom="13" tag="seamark:type" value="light_minor" textOrder="65"/>
<case minzoom="13" tag="man_made" value="lighthouse" textOrder="70"/>
</switch>
<case minzoom="12" tag="seamark:type" value="fog_signal" textOrder="70"/>
<case minzoom="12" tag="seamark:type" value="radar_transponder" textOrder="71"/>
<case minzoom="12" tag="seamark:type" value="radio_station" textOrder="71"/>
<case minzoom="12" tag="seamark:type" value="radar_station" textOrder="71"/>
<case minzoom="17" tag="seamark:type" value="signal_station_traffic" nameTag="seamark:name" nameTag2="seamark:signal_station_traffic:category_name" textOrder="71"/>
<case minzoom="17" tag="seamark:type" value="signal_station_traffic" nameTag="seamark:signal_station_traffic:category_name" textOrder="71"/>
<case minzoom="17" tag="seamark:type" value="signal_station_warning" nameTag="seamark:name" nameTag2="seamark:signal_station_warning:category_name" textOrder="71"/>
<case minzoom="17" tag="seamark:type" value="signal_station_warning" nameTag="seamark:signal_station_warning:category_name" textOrder="71"/>
<case minzoom="12" tag="seamark:type" value="platform" textOrder="72"/>
<apply_if engine_v1="true" textDy="19"/>
<apply_if engine_v1="false" textDy="-10"/>
</switch>
<switch textBold="true">
<switch minzoom="10" tag="seamark:type" value="harbour" textOrder="52" textHaloColor="#88d4ecff">
<case nameTag="seamark:name"/>
<case nameTag=""/>
<apply_if minzoom="11" textOrder="5"/>
</switch>
<case minzoom="12" tag="waterway" value="dock" textOrder="59"/>
<case minzoom="16" tag="seamark:type" value="building" textOrder="63" textBold="false"/>
<case minzoom="16" tag="seamark:type" value="rescue_station" textOrder="63" textBold="false"/>
<case minzoom="16" tag="seamark:type" value="hulk" textOrder="64" textBold="false"/>
<apply_if engine_v1="true" textDy="15"/>
</switch>
<apply>
<case maxzoom="12" textSize="12"/>
<case maxzoom="14" textSize="12"/>
<case minzoom="15" textSize="13"/>
</apply>
<apply_if nightMode="true" textColor="#eaf6ff" textHaloColor="#5545a5e2"/>
</switch>
<switch>
<switch textColor="#222222" textWrapWidth="19" textHaloColor="#aaffffff" textHaloRadius="2" textOnPath="true" textBold="true">
<case minzoom="13" tag="seamark:type" value="recommended_track"/>
<case minzoom="13" tag="seamark:type" value="recommended_traffic_lane"/>
<case minzoom="13" tag="seamark:type" value="navigation_line"/>
<case minzoom="8" tag="route" value="ferry" nameTag2="ref"/>
<case minzoom="15" tag="seamark:type" value="dam" nameTag="seamark:name"/>
<case minzoom="15" tag="seamark:type" value="dam" nameTag=""/>
<case minzoom="15" tag="waterway" value="dam"/>
<case minzoom="16" tag="waterway" value="weir"/>
<apply_if nightMode="true" textColor="#dddddd" textHaloColor="#99333333"/>
</switch>
<switch minzoom="15" textColor="#444444" textWrapWidth="19" textHaloColor="#33ffffff" textHaloRadius="2" textOnPath="true">
<case tag="seamark:type" value="cable_submarine" nameTag="seamark:name"/>
<case tag="seamark:type" value="cable_submarine" nameTag=""/>
<case tag="seamark:type" value="pipeline_submarine" textOnPath="true" nameTag="seamark:name"/>
<case tag="seamark:type" value="pipeline_area" textDy="8" nameTag="seamark:name"/>
<apply_if nightMode="true" textColor="#999999" textHaloColor="#55333333"/>
<apply_if engine_v1="false" textDy="0"/>
</switch>
<switch minzoom="11" textColor="#0400ab" textWrapWidth="19" textHaloColor="#88ffffff" textHaloRadius="2">
<case minzoom="13" tag="seamark:type" value="landmark" textOrder="59" nameTag="seamark:name"/>
<case minzoom="13" tag="seamark:type" value="landmark" textOrder="59" nameTag=""/>
<case minzoom="17" tag="seamark:type" value="pylon" textOrder="59"/>
<case minzoom="13" tag="seamark:type" value="production_area" textOrder="59"/>
<case minzoom="16" tag="seamark:type" value="marine_farm" textOrder="59"/>
<apply_if engine_v1="true" textDy="8"/>
<apply_if nightMode="true" textColor="#eaf6ff" textHaloColor="#5545a5e2"/>
</switch>
<switch textColor="#8c0000" textWrapWidth="19" textHaloColor="#99ffc9c9" textHaloRadius="2" textOrder="61">
<case minzoom="13" tag="seamark:type" value="restricted_area" nameTag="seamark:name" nameTag2="seamark:restricted_area:information"/>
<case minzoom="13" tag="seamark:type" value="restricted_area" nameTag="seamark:restricted_area:information" nameTag2="seamark:name"/>
<case minzoom="13" tag="seamark:type" value="obstruction" nameTag="seamark:name"/>
<case minzoom="13" tag="seamark:type" value="cable_area" nameTag="seamark:name"/>
<case minzoom="13" tag="seamark:type" value="precautionary_area" nameTag="seamark:name"/>
<case minzoom="15" tag="seamark:type" value="seaplane_landing_area" nameTag="seamark:name"/>
<case minzoom="11" tag="seamark:type" value="inshore_traffic_zone" nameTag="seamark:name" textOnPath="true"/>
<apply_if nightMode="true" textColor="#ffe4e4" textHaloColor="#55971515"/>
<apply_if maxzoom="15" additional="seamark:restricted_area:restriction" disable="true"/>
<apply_if engine_v1="true" textDy="11"/>
</switch>
<apply>
<case maxzoom="12" textSize="12"/>
<case maxzoom="14" textSize="12"/>
<case minzoom="15" textSize="13"/>
</apply>
</switch>
<switch>
<switch>
<case minzoom="11" tag="seamark:type" value="separation_zone" textBold="true"/>
<case minzoom="14" tag="seamark:type" value="separation_roundabout" textBold="true"/>
<case minzoom="14" tag="seamark:type" value="separation_crossing" textBold="true"/>
<case minzoom="14" tag="seamark:type" value="turning_basin" textBold="true" textDy="10"/>
<case minzoom="11" tag="seamark:type" value="fairway" textOnPath="true"/>
<case minzoom="11" tag="waterway" value="fairway" textOnPath="true"/>
<case minzoom="12" tag="seamark:type" value="anchorage" textDy="10" textBold="true"/>
<case minzoom="16" tag="seamark:type" value="anchor_berth" textDy="10"/>
<case minzoom="17" tag="seamark:type" value="small_craft_facility" textDy="10">
<case additional="seamark:small_craft_facility:category=slipway" textOnPath="true"/>
</case>
<case minzoom="17" tag="seamark:type" value="fishing_facility" textDy="10"/>
<switch minzoom="16" tag="seamark:type" value="berth" textDy="10">
<case nameTag="seamark:name" nameTag2="seamark:berth:information"/>
<case nameTag="" nameTag2="seamark:berth:information"/>
</switch>
<apply_if engine_v1="false" textDy="-7"/>
</switch>
<switch>
<case minzoom="16" tag="seamark:type" value="pilot_boarding" textDy="14"/>
<case minzoom="16" tag="seamark:type" value="bridge" textDy="14" textOrder="55" intersectionSizeFactor="0.5">
<case additional="seamark:bridge:category=opening" nameTag="seamark:name" nameTag2="seamark:bridge:clearance_height_closed"/>
<case additional="seamark:bridge:category=lifting" nameTag="seamark:name" nameTag2="seamark:bridge:clearance_height_closed"/>
<case nameTag="seamark:name" nameTag2="seamark:bridge:clearance_height"/>
</case>
<apply_if engine_v1="false" textDy="-1"/>
</switch>
<apply textColor="#471c62" textWrapWidth="26" textHaloColor="#aae8d5ee" textHaloRadius="2">
<case maxzoom="12" textSize="12"/>
<case maxzoom="14" textSize="13"/>
<case minzoom="16" textSize="14"/>
</apply>
<apply_if nightMode="true" textColor="#f3e1ff" textHaloColor="#5545a5e2"/>
</switch>
<switch minzoom="17" textSize="10" textColor="#5a0461" textWrapWidth="7" textHaloColor="#33ffffff" textHaloRadius="1" textDy="10" textOrder="150">
<case tag="seamark:type" value="distance_mark" nameTag="seamark:distance_mark:distance" nameTag2="seamark:distance_mark:units"/>
<case minzoom="18" tag="seamark:type" value="seabed_area" nameTag="seamark:name" nameTag2="name"/>
<case minzoom="18" tag="seamark:type" value="seabed_area" nameTag="name" nameTag2="seamark:name"/>
<apply_if nightMode="true" textColor="#e4d0e3"/>
</switch>
<switch textSize="12" textColor="#ffffff" textHaloRadius="$textHaloRadiusDay" textHaloColor="#7b7463" textWrapWidth="20" textOnPath="true" textDy="0">
<case minzoom="17" tag="barrier" value="city_wall"/>
<case minzoom="17" tag="seamark:type" value="fortified_structure"/>
<apply_if nightMode="true" textHaloRadius="$textHaloRadiusNight" textColor="#ffe7c2" textHaloColor="#88644e2c"/>
</switch>
</text>
<point>
<case minzoom="5" tag="osmand" value="file_waypoint"> <!-- for new OpenGL engine -->
<case additional="file_has_waypoints=true" icon="osmand_waypoint" iconVisibleSize="5" iconOrder="1">
<case additional="color=orange" shield="waypoint_orange_shield"/>
<case additional="color=yellow" shield="waypoint_yellow_shield"/>
<case additional="color=green" shield="waypoint_green_shield"/>
<case additional="color=lightblue" shield="waypoint_lightblue_shield"/>
<case additional="color=blue" shield="waypoint_blue_shield"/>
<case additional="color=purple" shield="waypoint_purple_shield"/>
<case additional="color=gray" shield="waypoint_gray_shield"/>
<case shield="waypoint_red_shield"/>
</case>
</case>
<!-- Seamarks -->
<switch>
<!-- Buoys -->
<switch iconVisibleSize="9" intersectionSizeFactor="0.6" iconOrder="100" icon_shift_py="-0.8">
<case minzoom="12" tag="seamark:type" value="buoy_lateral" icon="seamark_buoy_red_pillar">
<case additional="seamark:buoy_lateral:colour=red" icon="seamark_buoy_red_pillar">
<case additional="seamark:buoy_lateral:shape=conical" icon="seamark_buoy_red_conical"/>
<case additional="seamark:buoy_lateral:shape=barrel" icon="seamark_buoy_red_barrel"/>
<case additional="seamark:buoy_lateral:shape=can" icon="seamark_buoy_red_can"/>
<case additional="seamark:buoy_lateral:shape=pillar" icon="seamark_buoy_red_pillar"/>
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_red_spar"/>
<case additional="seamark:buoy_lateral:shape=spherical" icon="seamark_buoy_red_spherical"/>
</case>
<case additional="seamark:buoy_lateral:colour=green" icon="seamark_buoy_green_pillar">
<case additional="seamark:buoy_lateral:shape=conical" icon="seamark_buoy_green_conical"/>
<case additional="seamark:buoy_lateral:shape=barrel" icon="seamark_buoy_green_barrel"/>
<case additional="seamark:buoy_lateral:shape=can" icon="seamark_buoy_green_can"/>
<case additional="seamark:buoy_lateral:shape=pillar" icon="seamark_buoy_green_pillar"/>
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_green_spar"/>
<case additional="seamark:buoy_lateral:shape=spherical" icon="seamark_buoy_green_spherical"/>
</case>
<case additional="seamark:buoy_lateral:colour=yellow" icon="seamark_buoy_yellow_can">
<case additional="seamark:buoy_lateral:shape=conical" icon="seamark_buoy_yellow_conical"/>
<case additional="seamark:buoy_lateral:shape=can" icon="seamark_buoy_yellow_can"/>
<case additional="seamark:buoy_lateral:shape=barrel" icon="seamark_buoy_yellow_barrel"/>
<case additional="seamark:buoy_lateral:shape=pillar" icon="seamark_buoy_yellow_pillar"/>
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_yellow_spar"/>
<case additional="seamark:buoy_lateral:shape=spherical" icon="seamark_buoy_yellow_spherical"/>
</case>
<case additional="seamark:buoy_lateral:colour=white" icon="seamark_buoy_white_conical">
<case additional="seamark:buoy_lateral:shape=conical" icon="seamark_buoy_white_conical"/>
</case>
<case additional="seamark:buoy_lateral:colour=red;green;red" icon="seamark_buoy_redgreenred_pillar_horizontal">
<case additional="seamark:buoy_lateral:colour_pattern=horizontal">
<case additional="seamark:buoy_lateral:shape=can" icon="seamark_buoy_redgreenred_can_horizontal"/>
<case additional="seamark:buoy_lateral:shape=pillar" icon="seamark_buoy_redgreenred_pillar_horizontal"/>
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_redgreenred_spar_horizontal"/>
<case additional="seamark:buoy_lateral:shape=spherical" icon="seamark_buoy_redgreenred_spherical_horizontal"/>
</case>
</case>
<case additional="seamark:buoy_lateral:colour=red;white;red;white" icon="seamark_buoy_redwhiteredwhite_spar_horizontal">
<case additional="seamark:buoy_lateral:colour_pattern=horizontal">
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_redwhiteredwhite_spar_horizontal"/>
<case additional="seamark:buoy_lateral:shape=can" icon="seamark_buoy_redwhiteredwhite_can_horizontal"/>
</case>
</case>
<case additional="seamark:buoy_lateral:colour=white;red;white;red" icon="seamark_buoy_whiteredwhitered_spar_horizontal">
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_whiteredwhitered_spar_horizontal"/>
</case>
<case additional="seamark:buoy_lateral:colour=green;white;green;white" icon="seamark_buoy_greenwhitegreenwhite_conical_horizontal">
<case additional="seamark:buoy_lateral:colour_pattern=horizontal">
<case additional="seamark:buoy_lateral:shape=conical" icon="seamark_buoy_greenwhitegreenwhite_conical_horizontal"/>
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_greenwhitegreenwhite_spar_horizontal"/>
</case>
</case>
<case additional="seamark:buoy_lateral:colour=white;green;white;green" icon="seamark_buoy_whitegreenwhitegreen_spar_horizontal">
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_whitegreenwhitegreen_spar_horizontal"/>
</case>
<case additional="seamark:buoy_lateral:colour=green;red;green" icon="seamark_buoy_greenredgreen_pillar_horizontal">
<case additional="seamark:buoy_lateral:colour_pattern=horizontal">
<case additional="seamark:buoy_lateral:shape=conical" icon="seamark_buoy_greenredgreen_conical_horizontal"/>
<case additional="seamark:buoy_lateral:shape=can" icon="seamark_buoy_greenredgreen_can_horizontal"/>
<case additional="seamark:buoy_lateral:shape=pillar" icon="seamark_buoy_greenredgreen_pillar_horizontal"/>
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_greenredgreen_spar_horizontal"/>
<case additional="seamark:buoy_lateral:shape=spherical" icon="seamark_buoy_greenredgreen_spherical_horizontal"/>
</case>
</case>
<case additional="seamark:buoy_lateral:colour=red;white" icon="seamark_buoy_redwhite_spar_horizontal">
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_redwhite_spar_horizontal"/>
</case>
<case additional="seamark:buoy_lateral:colour=green;white" icon="seamark_buoy_greenwhite_spar_horizontal">
<case additional="seamark:buoy_lateral:shape=spar" icon="seamark_buoy_greenwhite_spar_horizontal"/>
</case>
<case additional="seamark:buoy_lateral:colour=orange" icon="seamark_buoy_orange_spherical"/>
</case>
<case minzoom="12" tag="seamark:type" value="buoy_cardinal" icon="seamark_buoy_blackyellowblack_pillar">
<case additional="seamark:buoy_cardinal:colour=yellow;black;yellow" icon="seamark_buoy_yellowblackyellow_pillar">
<case additional="seamark:buoy_cardinal:shape=spar" icon="seamark_buoy_yellowblackyellow_spar"/>
<case additional="seamark:buoy_cardinal:shape=pillar" icon="seamark_buoy_yellowblackyellow_pillar"/>
<case additional="seamark:buoy_cardinal:shape=can" icon="seamark_buoy_yellowblackyellow_can"/>
<case additional="seamark:buoy_cardinal:shape=conical" icon="seamark_buoy_yellowblackyellow_conical"/>
</case>
<case additional="seamark:buoy_cardinal:colour=black;yellow;black" icon="seamark_buoy_blackyellowblack_pillar">
<case additional="seamark:buoy_cardinal:shape=spar" icon="seamark_buoy_blackyellowblack_spar"/>
<case additional="seamark:buoy_cardinal:shape=pillar" icon="seamark_buoy_blackyellowblack_pillar"/>
<case additional="seamark:buoy_cardinal:shape=can" icon="seamark_buoy_blackyellowblack_can"/>
<case additional="seamark:buoy_cardinal:shape=conical" icon="seamark_buoy_blackyellowblack_conical"/>
</case>
<case additional="seamark:buoy_cardinal:colour=yellow;black" icon="seamark_buoy_yellowblack_pillar">
<case additional="seamark:buoy_cardinal:shape=spar" icon="seamark_buoy_yellowblack_spar"/>
<case additional="seamark:buoy_cardinal:shape=pillar" icon="seamark_buoy_yellowblack_pillar"/>
<case additional="seamark:buoy_cardinal:shape=can" icon="seamark_buoy_yellowblack_can"/>
<case additional="seamark:buoy_cardinal:shape=conical" icon="seamark_buoy_yellowblack_conical"/>
</case>
<case additional="seamark:buoy_cardinal:colour=black;yellow" icon="seamark_buoy_blackyellow_pillar">
<case additional="seamark:buoy_cardinal:shape=spar" icon="seamark_buoy_blackyellow_spar"/>
<case additional="seamark:buoy_cardinal:shape=pillar" icon="seamark_buoy_blackyellow_pillar"/>
<case additional="seamark:buoy_cardinal:shape=can" icon="seamark_buoy_blackyellow_can"/>
<case additional="seamark:buoy_cardinal:shape=conical" icon="seamark_buoy_blackyellow_conical"/>
</case>
</case>
<case minzoom="11" tag="seamark:type" value="buoy_isolated_danger" icon="seamark_buoy_blackredblack_pillar">
<case additional="seamark:buoy_isolated_danger:shape=pillar" icon="seamark_buoy_blackredblack_pillar"/>
<case additional="seamark:buoy_isolated_danger:shape=spar" icon="seamark_buoy_blackredblack_spar"/>
<case additional="seamark:buoy_isolated_danger:shape=spherical" icon="seamark_buoy_blackredblack_spherical"/>
<case additional="seamark:buoy_isolated_danger:shape=conical" icon="seamark_buoy_blackredblack_conical"/>
</case>
<case minzoom="11" tag="seamark:type" value="buoy_safe_water" icon="seamark_buoy_redwhite_pillar_vertical">
<case additional="seamark:buoy_safe_water:colour=red;white" icon="seamark_buoy_redwhite_pillar_vertical">
<case additional="seamark:buoy_safe_water:shape=pillar" icon="seamark_buoy_redwhite_pillar_vertical"/>
<case additional="seamark:buoy_safe_water:shape=spherical" icon="seamark_buoy_redwhite_spherical_vertical"/>
<case additional="seamark:buoy_safe_water:shape=spar" icon="seamark_buoy_redwhite_spar_vertical"/>
</case>
</case>
<case minzoom="12" tag="seamark:type" value="buoy_special_purpose" icon="seamark_buoy_yellow_spar">
<case additional="seamark:buoy_special_purpose:colour=yellow" icon="seamark_buoy_yellow_pillar">
<case additional="seamark:buoy_special_purpose:shape=conical" icon="seamark_buoy_yellow_conical"/>
<case additional="seamark:buoy_special_purpose:shape=barrel" icon="seamark_buoy_yellow_barrel"/>
<case additional="seamark:buoy_special_purpose:shape=can" icon="seamark_buoy_yellow_can"/>
<case additional="seamark:buoy_special_purpose:shape=pillar" icon="seamark_buoy_yellow_pillar"/>
<case additional="seamark:buoy_special_purpose:shape=spar" icon="seamark_buoy_yellow_spar"/>
<case additional="seamark:buoy_special_purpose:shape=spherical" icon="seamark_buoy_yellow_spherical"/>
<case additional="seamark:buoy_special_purpose:shape=super-buoy" icon="seamark_buoy_yellow_super_buoy"/>
</case>
<case additional="seamark:buoy_special_purpose:colour=white" icon="seamark_buoy_white_pillar">
<case additional="seamark:buoy_special_purpose:shape=conical" icon="seamark_buoy_white_conical"/>
<case additional="seamark:buoy_special_purpose:shape=barrel" icon="seamark_buoy_white_barrel"/>
<case additional="seamark:buoy_special_purpose:shape=can" icon="seamark_buoy_white_can"/>
<case additional="seamark:buoy_special_purpose:shape=pillar" icon="seamark_buoy_white_pillar"/>
<case additional="seamark:buoy_special_purpose:shape=spar" icon="seamark_buoy_white_spar"/>
<case additional="seamark:buoy_special_purpose:shape=spherical" icon="seamark_buoy_white_spherical"/>
<case additional="seamark:buoy_special_purpose:shape=super-buoy" icon="seamark_buoy_white_super_buoy"/>
</case>
<case additional="seamark:buoy_special_purpose:colour=white;yellow" icon="seamark_buoy_yellow_spherical">
<case additional="seamark:buoy_special_purpose:colour_pattern=cross">
<case additional="seamark:buoy_special_purpose:shape=spherical" icon="seamark_buoy_whiteyellow_spherical_cross"/>
</case>
</case>
</case>
<case minzoom="12" tag="seamark:type" value="buoy_installation" icon="seamark_buoy_yellow_installation"/>
<apply> <!-- When to topmark shape is set -->
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_oblique_red_sphere"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_oblique_green_sphere"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_oblique_black_sphere"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_oblique_yellow_sphere"/>
</apply>
<apply> <!-- Topmarks -->
<case additional="seamark:topmark:shape=cylinder" icon__1="seamark_topmark_oblique_black_cylinder">
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_oblique_red_cylinder"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_oblique_green_cylinder"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_oblique_black_cylinder"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_oblique_yellow_cylinder"/>
<case additional="seamark:topmark:colour=red;white;red" icon__1="seamark_topmark_oblique_redwhitered_cylinder"/>
</case>
<switch>
<case additional="seamark:topmark:shape=board" icon__1="seamark_topmark_oblique_redwhitered_board"/>
<case additional="seamark:topmark:shape=square" icon__1="seamark_topmark_oblique_redwhitered_board"/>
<case additional="seamark:topmark:shape=rectangle" icon__1="seamark_topmark_oblique_redwhitered_board"/>
<apply>
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_oblique_red_board"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_oblique_green_board"/>
<case additional="seamark:topmark:colour=red;white;red" icon__1="seamark_topmark_oblique_redwhitered_board"/>
<case additional="seamark:topmark:colour=white;red">
<case additional="seamark:topmark:colour_pattern=border" icon__1="seamark_topmark_oblique_whitered_board_border"/>
</case>
</apply>
</switch>
<switch>
<case additional="seamark:topmark:shape=cone, point down" icon__1="seamark_topmark_oblique_black_conepointdown"/>
<case additional="seamark:topmark:shape=triangle, point down" icon__1="seamark_topmark_oblique_black_conepointdown"/>
<apply>
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_oblique_red_conepointdown"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_oblique_green_conepointdown"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_oblique_black_conepointdown"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_oblique_yellow_conepointdown"/>
<case additional="seamark:topmark:colour=red;white;red" icon__1="seamark_topmark_oblique_redwhitered_conepointdown"/>
</apply>
</switch>
<switch>
<case additional="seamark:topmark:shape=cone" icon__1="seamark_topmark_oblique_black_conepointup"/>
<case additional="seamark:topmark:shape=cone, point up" icon__1="seamark_topmark_oblique_black_conepointup"/>
<case additional="seamark:topmark:shape=triangle, point up" icon__1="seamark_topmark_oblique_black_conepointup"/>
<apply>
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_oblique_red_conepointup"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_oblique_green_conepointup"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_oblique_black_conepointup"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_oblique_yellow_conepointup"/>
</apply>
</switch>
<case additional="seamark:topmark:shape=rhombus" icon__1="seamark_topmark_oblique_black_rhombus">
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_oblique_red_rhombus"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_oblique_black_rhombus"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_oblique_yellow_rhombus"/>
</case>
<case additional="seamark:topmark:shape=sphere" icon__1="seamark_topmark_oblique_black_sphere">
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_oblique_red_sphere"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_oblique_green_sphere"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_oblique_black_sphere"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_oblique_yellow_sphere"/>
</case>
<case additional="seamark:topmark:shape=x-shape" icon__1="seamark_topmark_oblique_yellow_xshape">
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_oblique_red_xshape"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_oblique_green_xshape"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_oblique_black_xshape"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_oblique_yellow_xshape"/>
</case>
<case additional="seamark:topmark:shape=2 cones point together" icon__1="seamark_topmark_oblique_black_2conespointtogether">
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_oblique_yellow_2conespointtogether"/>
</case>
<case additional="seamark:topmark:shape=2 cones base together" icon__1="seamark_topmark_oblique_black_2conesbasetogether"/>
<case additional="seamark:topmark:shape=2 cones up" icon__1="seamark_topmark_oblique_black_2conesup"/>
<case additional="seamark:topmark:shape=2 cones down" icon__1="seamark_topmark_oblique_black_2conesdown"/>
<case additional="seamark:topmark:shape=2 spheres" icon__1="seamark_topmark_oblique_black_2spheres"/>
</apply>
</switch>
<!-- Beacons -->
<switch iconVisibleSize="9" intersectionSizeFactor="0.6" iconOrder="100" icon_shift_py="-0.8">
<case minzoom="12" tag="seamark:type" value="beacon_lateral" icon="seamark_beacon_pile">
<switch>
<case additional="seamark:beacon_lateral:shape=stake" icon="seamark_beacon_stake"/>
<case additional="seamark:beacon_lateral:shape=pole" icon="seamark_beacon_stake"/>
<case additional="seamark:beacon_lateral:shape=post" icon="seamark_beacon_stake"/>
<apply>
<case additional="seamark:beacon_lateral:colour=red" icon="seamark_beacon_red_stake"/>
<case additional="seamark:beacon_lateral:colour=green" icon="seamark_beacon_green_stake"/>
<case additional="seamark:beacon_lateral:colour=white;red" icon="seamark_beacon_whitered_stake"/>
<case additional="seamark:beacon_lateral:colour=red;white" icon="seamark_beacon_redwhite_stake"/>
<case additional="seamark:beacon_lateral:colour=white;green" icon="seamark_beacon_whitegreen_stake"/>
<case additional="seamark:beacon_lateral:colour=green;white" icon="seamark_beacon_greenwhite_stake"/>
<case additional="seamark:beacon_lateral:colour=green;white;green;white" icon="seamark_beacon_greenwhitegreenwhite_stake"/>
</apply>
</switch>
<case additional="seamark:beacon_lateral:shape=tower" icon="seamark_beacon_tower">
<case additional="seamark:beacon_lateral:colour=red" icon="seamark_beacon_red_tower"/>
<case additional="seamark:beacon_lateral:colour=green" icon="seamark_beacon_green_tower"/>
<case additional="seamark:beacon_lateral:colour=white;red" icon="seamark_beacon_whitered_tower"/>
<case additional="seamark:beacon_lateral:colour=red;white" icon="seamark_beacon_redwhite_tower"/>
<case additional="seamark:beacon_lateral:colour=white;green" icon="seamark_beacon_whitegreen_tower"/>
<case additional="seamark:beacon_lateral:colour=green;white" icon="seamark_beacon_greenwhite_tower"/>
<case additional="seamark:beacon_lateral:colour=green;white;green;white" icon="seamark_beacon_greenwhitegreenwhite_tower"/>
</case>
<case additional="seamark:beacon_lateral:shape=pillar" icon="seamark_beacon_pillar">
<case additional="seamark:beacon_lateral:colour=black" icon="seamark_beacon_black_pillar"/>
<case additional="seamark:beacon_lateral:colour=green" icon="seamark_beacon_green_pillar"/>
<case additional="seamark:beacon_lateral:colour=red" icon="seamark_beacon_red_pillar"/>
</case>
<case additional="seamark:beacon_lateral:shape=perch">
<case additional="seamark:beacon_lateral:category=port" icon="seamark_beacon_perch_port">
<case additional="seamark:beacon_lateral:colour=red" icon="seamark_beacon_red_perch_port"/>
<case additional="seamark:beacon_lateral:colour=green" icon="seamark_beacon_green_perch_port"/>
</case>
<case additional="seamark:beacon_lateral:category=starboard" icon="seamark_beacon_perch_starboard">
<case additional="seamark:beacon_lateral:colour=red" icon="seamark_beacon_red_perch_starboard"/>
<case additional="seamark:beacon_lateral:colour=green" icon="seamark_beacon_green_perch_starboard"/>
</case>
</case>
<case>
<case additional="seamark:beacon_lateral:colour=red" icon="seamark_beacon_red_pillar"/>
<case additional="seamark:beacon_lateral:colour=green" icon="seamark_beacon_green_pillar"/>
<case additional="seamark:beacon_lateral:colour=white;red" icon="seamark_beacon_whitered_stake"/>
<case additional="seamark:beacon_lateral:colour=red;white" icon="seamark_beacon_redwhite_stake"/>
<case additional="seamark:beacon_lateral:colour=white;green" icon="seamark_beacon_whitegreen_stake"/>
<case additional="seamark:beacon_lateral:colour=green;white" icon="seamark_beacon_greenwhite_stake"/>
<case additional="seamark:beacon_lateral:colour=green;white;green;white" icon="seamark_beacon_greenwhitegreenwhite_stake"/>
<case additional="seamark:beacon_lateral:colour=black" icon="seamark_beacon_black_pillar"/>
</case>
</case>
<case minzoom="11" tag="seamark:type" value="beacon_cardinal" icon="seamark_beacon_pile">
<case additional="seamark:beacon_cardinal:colour=yellow;black;yellow" icon="seamark_beacon_yellowblackyellow_stake">
<case additional="seamark:beacon_cardinal:shape=tower" icon="seamark_beacon_yellowblackyellow_tower"/>
<case additional="seamark:beacon_cardinal:shape=stake" icon="seamark_beacon_yellowblackyellow_stake"/>
</case>
<case additional="seamark:beacon_cardinal:colour=black;yellow;black" icon="seamark_beacon_blackyellowblack_stake">
<case additional="seamark:beacon_cardinal:shape=tower" icon="seamark_beacon_blackyellowblack_tower"/>
<case additional="seamark:beacon_cardinal:shape=stake" icon="seamark_beacon_blackyellowblack_stake"/>
</case>
<case additional="seamark:beacon_cardinal:colour=black;yellow" icon="seamark_beacon_blackyellow_stake">
<case additional="seamark:beacon_cardinal:shape=tower" icon="seamark_beacon_blackyellow_tower"/>
<case additional="seamark:beacon_cardinal:shape=stake" icon="seamark_beacon_blackyellow_stake"/>
</case>
<case additional="seamark:beacon_cardinal:colour=yellow;black" icon="seamark_beacon_yellowblack_stake">
<case additional="seamark:beacon_cardinal:shape=tower" icon="seamark_beacon_yellowblack_tower"/>
<case additional="seamark:beacon_cardinal:shape=stake" icon="seamark_beacon_yellowblack_stake"/>
</case>
</case>
<case minzoom="11" tag="seamark:type" value="beacon_isolated_danger" icon="seamark_beacon_blackredblack_pile">
<case additional="seamark:beacon_isolated_danger:colour=black;red;black">
<case additional="seamark:beacon_isolated_danger:shape=tower" icon="seamark_beacon_blackredblack_tower"/>
<case additional="seamark:beacon_isolated_danger:shape=stake" icon="seamark_beacon_blackredblack_stake"/>
<case additional="seamark:beacon_isolated_danger:shape=pile" icon="seamark_beacon_blackredblack_pile"/>
</case>
</case>
<case minzoom="11" tag="seamark:type" value="beacon_safe_water" icon="seamark_beacon_redwhite_pole_vertical">
<case additional="seamark:beacon_safe_water:colour=red;white">
<case additional="seamark:beacon_safe_water:colour_pattern=vertical">
<case additional="seamark:beacon_safe_water:shape=tower" icon="seamark_beacon_redwhite_tower_vertical"/>
<case additional="seamark:beacon_safe_water:shape=pole" icon="seamark_beacon_redwhite_pole_vertical"/>
</case>
</case>
</case>
<case minzoom="12" tag="seamark:type" value="beacon_special_purpose" icon="seamark_beacon_yellow_pile">
<case additional="seamark:beacon_special_purpose:colour=yellow">
<case additional="seamark:beacon_special_purpose:shape=stake" icon="seamark_beacon_yellow_stake"/>
<case additional="seamark:beacon_special_purpose:shape=pile" icon="seamark_beacon_yellow_pile"/>
<case additional="seamark:beacon_special_purpose:shape=tower" icon="seamark_beacon_yellow_tower"/>
</case>
<case additional="seamark:beacon_special_purpose:colour=white" icon="seamark_beacon_white_stake">
<case additional="seamark:beacon_special_purpose:shape=stake" icon="seamark_beacon_white_stake"/>
<case additional="seamark:beacon_special_purpose:shape=pile" icon="seamark_beacon_white_pile"/>
<case additional="seamark:beacon_special_purpose:shape=tower" icon="seamark_beacon_white_tower"/>
</case>
<case additional="seamark:beacon_special_purpose:colour=white;red;white;orange" icon="seamark_beacon_whiteredwhiteorange_pile"/>
<case additional="seamark:beacon_special_purpose:colour=black" icon="seamark_beacon_black_stake">
<case additional="seamark:beacon_special_purpose:shape=stake" icon="seamark_beacon_stake"/>
<case additional="seamark:beacon_special_purpose:shape=tower" icon="seamark_beacon_black_tower"/>
</case>
<case additional="seamark:beacon_special_purpose:shape=cairn" icon="seamark_beacon_cairn"/>
</case>
<case minzoom="12" tag="seamark:type" value="light_float" icon="seamark_light_float_red">
<case additional="seamark:light_float:colour=red" icon="seamark_light_float_red"/>
<case additional="seamark:light_float:colour=green" icon="seamark_light_float_green"/>
<case additional="seamark:light_float:colour_pattern=vertical">
<case additional="seamark:light_float:colour=red;white" icon="seamark_light_float_redwhite_vertical"/>
</case>
</case>
<case minzoom="12" tag="seamark:type" value="light_vessel" icon="seamark_light_vessel"/>
<apply>
<case additional="seamark:topmark:shape=2 cones point together" icon__1="seamark_topmark_vertical_black_2conespointtogether"/>
<case additional="seamark:topmark:shape=2 cones base together" icon__1="seamark_topmark_vertical_black_2conesbasetogether"/>
<case additional="seamark:topmark:shape=2 cones up" icon__1="seamark_topmark_vertical_black_2conesup"/>
<case additional="seamark:topmark:shape=2 cones down" icon__1="seamark_topmark_vertical_black_2conesdown"/>
<case additional="seamark:topmark:shape=2 spheres" icon__1="seamark_topmark_vertical_black_2spheres"/>
<case additional="seamark:topmark:shape=cylinder" icon__1="seamark_topmark_vertical_black_cylinder">
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_vertical_red_cylinder"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_vertical_green_cylinder"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_vertical_black_cylinder"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_vertical_yellow_cylinder"/>
<case additional="seamark:topmark:colour=red;white;red" icon__1="seamark_topmark_vertical_redwhitered_cylinder"/>
</case>
<switch>
<case additional="seamark:topmark:shape=square" icon__1="seamark_topmark_vertical_redwhitered_board"/>
<case additional="seamark:topmark:shape=board" icon__1="seamark_topmark_vertical_redwhitered_board"/>
<case additional="seamark:topmark:shape=rectangle" icon__1="seamark_topmark_vertical_redwhitered_board"/>
<apply>
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_vertical_red_board"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_vertical_green_board"/>
<case additional="seamark:topmark:colour=red;white;red" icon__1="seamark_topmark_vertical_redwhitered_board"/>
<case additional="seamark:topmark:colour=white;red">
<case additional="seamark:topmark:colour_pattern=border" icon__1="seamark_topmark_vertical_whitered_board_border"/>
</case>
<case additional="seamark:topmark:colour=white;black">
<case additional="seamark:topmark:colour_pattern=border" icon__1="seamark_topmark_vertical_whiteblack_board_border"/>
</case>
</apply>
</switch>
<switch>
<case additional="seamark:topmark:shape=cone, point down" icon__1="seamark_topmark_vertical_black_conepointdown"/>
<case additional="seamark:topmark:shape=triangle, point down" icon__1="seamark_topmark_vertical_black_conepointdown"/>
<apply>
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_vertical_red_conepointdown"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_vertical_green_conepointdown"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_vertical_black_conepointdown"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_vertical_yellow_conepointdown"/>
<case additional="seamark:topmark:colour=red;white;red" icon__1="seamark_topmark_vertical_redwhitered_conepointdown"/>
<case additional="seamark:topmark:colour=white;red" icon__1="seamark_topmark_vertical_whitered_conepointdown_border">
<case additional="seamark:topmark:colour_pattern=border" icon__1="seamark_topmark_vertical_whitered_conepointdown_border"/>
</case>
</apply>
</switch>
<switch>
<case additional="seamark:topmark:shape=cone" icon__1="seamark_topmark_vertical_black_conepointup"/>
<case additional="seamark:topmark:shape=cone, point up" icon__1="seamark_topmark_vertical_black_conepointup"/>
<case additional="seamark:topmark:shape=triangle, point up" icon__1="seamark_topmark_vertical_black_conepointup"/>
<apply>
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_vertical_red_conepointup"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_vertical_green_conepointup"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_vertical_black_conepointup"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_vertical_yellow_conepointup"/>
</apply>
</switch>
<case additional="seamark:topmark:shape=rhombus" icon__1="seamark_topmark_vertical_black_rhombus">
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_vertical_red_rhombus"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_vertical_black_rhombus"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_vertical_yellow_rhombus"/>
<case additional="seamark:topmark:colour=green;white" icon__1="seamark_topmark_vertical_greenwhite_rhombus_vertical">
<case additional="seamark:topmark:colour_pattern=vertical" icon__1="seamark_topmark_vertical_greenwhite_rhombus_vertical"/>
</case>
<case additional="seamark:topmark:colour=white;black;white" icon__1="seamark_topmark_vertical_whiteblackwhite_rhombus_vertical">
<case additional="seamark:topmark:colour_pattern=vertical" icon__1="seamark_topmark_vertical_whiteblackwhite_rhombus_vertical"/>
</case>
<case additional="seamark:topmark:colour=white;green" icon__1="seamark_topmark_vertical_whitegreen_rhombus_border">
<case additional="seamark:topmark:colour_pattern=border" icon__1="seamark_topmark_vertical_whitegreen_rhombus_border"/>
</case>
</case>
<case additional="seamark:topmark:shape=sphere" icon__1="seamark_topmark_vertical_black_sphere">
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_vertical_red_sphere"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_vertical_green_sphere"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_vertical_black_sphere"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_vertical_yellow_sphere"/>
</case>
<case additional="seamark:topmark:shape=x-shape" icon__1="seamark_topmark_vertical_yellow_xshape">
<case additional="seamark:topmark:colour=red" icon__1="seamark_topmark_vertical_red_xshape"/>
<case additional="seamark:topmark:colour=green" icon__1="seamark_topmark_vertical_green_xshape"/>
<case additional="seamark:topmark:colour=black" icon__1="seamark_topmark_vertical_black_xshape"/>
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_vertical_yellow_xshape"/>
</case>
<case additional="seamark:topmark:shape=cross" icon__1="seamark_topmark_vertical_yellow_cross">
<case additional="seamark:topmark:colour=yellow" icon__1="seamark_topmark_vertical_yellow_cross"/>
</case>
</apply>
</switch>
<apply_if additional="seamark:fog_signal:category">
<apply icon_2="seamark_fog_signal_additional">
<apply_if nightMode="true" icon_2="seamark_fog_signal_additional_night"/>
</apply>
</apply_if>
<apply_if additional="seamark:radar_reflector=yes" icon_3="seamark_radar_reflector_additional">
<apply_if nightMode="true" icon_3="seamark_radar_reflector_additional_night"/>
</apply_if>
<apply_if additional="seamark:radar_transponder:category" icon_4="seamark_radar_transponder_additional">
<apply_if nightMode="true" icon_4="seamark_radar_transponder_additional_night"/>
</apply_if>
<apply>
<case additional="seamark:light:colour=white" shield="light_white_shield"/>
<case additional="seamark:light:colour=red" shield="light_red_shield"/>
<case additional="seamark:light:colour=green" shield="light_green_shield"/>
<case additional="seamark:light:colour=yellow" shield="light_yellow_shield"/>
<case additional="seamark:light:colour=blue" shield="light_blue_shield"/>
<case additional="seamark:light:colour=orange" shield="light_orange_shield"/>
<case additional="seamark:light:colour=white;green" shield="light_whitegreen_shield"/>
<case additional="seamark:light:colour=red;green" shield="light_redgreen_shield"/>
<case additional="seamark:light:colour=white;red" shield="light_whitered_shield"/>
<case additional="seamark:light:colour=violet" shield="light_violet_shield"/>
<case additional="seamark:light:2:colour" shield="light_violet_shield"/>
</apply>
</switch>
<case minzoom="12" maxzoom="13" tag="seamark:type" value="platform" icon="seamark_platform_small" iconVisibleSize="14" intersectionSizeFactor="0.9"/>
<switch>
<switch>
<case minzoom="9" maxzoom="10" tag="seamark:type" value="light_major" icon="seamark_light_major_small" iconOrder="60"/>
</switch>
<switch>
<case minzoom="11" tag="seamark:type" value="light_major" icon="seamark_light_major" iconOrder="60" iconVisibleSize="20" intersectionSizeFactor="0.7"/>
<switch minzoom="12">
<case tag="seamark:type" value="light_minor"/>
<case tag="man_made" value="lighthouse"/>
<apply icon="seamark_light_minor" iconVisibleSize="16" intersectionSizeFactor="0.6" iconOrder="65"/>
</switch>
<case minzoom="12" tag="seamark:type" value="fog_signal" icon="seamark_fog_signal" iconVisibleSize="16" intersectionSizeFactor="0.5" iconOrder="70" icon_2="seamark_fog_signal_additional_center_big"/>
<case minzoom="12" tag="seamark:type" value="radar_transponder" icon="seamark_radar_transponder" iconVisibleSize="20" intersectionSizeFactor="0.6" iconOrder="71"/>
<case minzoom="12" tag="seamark:type" value="signal_station_traffic" icon="seamark_radio_station" icon_5="seamark_signal_station_additional" iconVisibleSize="20" intersectionSizeFactor="0.6" iconOrder="71"/>
<case minzoom="12" tag="seamark:type" value="signal_station_warning" icon="seamark_radio_station" icon_5="seamark_signal_station_additional" iconVisibleSize="20" intersectionSizeFactor="0.6" iconOrder="71"/>
<case minzoom="12" tag="seamark:type" value="radio_station" icon="seamark_radio_station" icon_4="seamark_radar_transponder_additional_big" iconVisibleSize="20" intersectionSizeFactor="0.6" iconOrder="71">
<apply_if nightMode="true" icon_4="seamark_radar_transponder_additional_big_night"/>
</case>
<case minzoom="12" tag="seamark:type" value="radar_station" icon="seamark_radio_station" icon_4="seamark_radar_station_additional" iconVisibleSize="20" intersectionSizeFactor="0.6" iconOrder="71">
<apply_if nightMode="true" icon_4="seamark_radar_station_additional_night"/>
<apply_if additional="seamark:radar_station:category=surveillance" icon_5="seamark_radar_station_surveillance_additional">
<apply_if nightMode="true" icon_5="seamark_radar_station_surveillance_additional_night"/>
</apply_if>
<apply_if additional="seamark:radar_station:category=coast" icon_5="seamark_radar_station_coast_additional"/>
</case>
<case minzoom="14" tag="seamark:type" value="platform" icon="seamark_platform" iconVisibleSize="20" intersectionSizeFactor="0.7" iconOrder="72">
<apply_if additional="seamark:platform:category=production" icon_3="seamark_platform_production_additional"/>
<apply_if additional="seamark:platform:category=oil" icon_3="seamark_platform_production_additional"/>
<apply_if additional="seamark:platform:category=fpso" icon_3="seamark_platform_fpso_additional"/>
</case>
<apply>
<case additional="seamark:fog_signal:category" icon_2="seamark_fog_signal_additional_center_big">
<apply_if nightMode="true" icon_2="seamark_fog_signal_additional_center_big_night"/>
</case>
</apply>
<apply>
<case additional="seamark:topmark:shape=2 cones point together" icon__1="seamark_topmark_vertical_black_2conespointtogether_big"/>
<case additional="seamark:topmark:shape=2 cones base together" icon__1="seamark_topmark_vertical_black_2conesbasetogether_big"/>
<case additional="seamark:topmark:shape=2 cones up" icon__1="seamark_topmark_vertical_black_2conesup_big"/>
<case additional="seamark:topmark:shape=2 cones down" icon__1="seamark_topmark_vertical_black_2conesdown_big"/>
<case additional="seamark:topmark:shape=2 spheres" icon__1="seamark_topmark_vertical_black_2spheres_big"/>
<switch>
<case additional="seamark:topmark:shape=cylinder"/>
<case additional="seamark:topmark:shape=square"/>
<case additional="seamark:topmark:shape=board"/>
<case additional="seamark:topmark:shape=rectangle"/>
<apply icon__1="seamark_topmark_vertical_black_cylinder_big"/>
</switch>
<switch>
<case additional="seamark:topmark:shape=cone, point down"/>
<case additional="seamark:topmark:shape=triangle, point down"/>
<apply icon__1="seamark_topmark_vertical_black_conepointdown_big"/>
</switch>
<switch>
<case additional="seamark:topmark:shape=cone"/>
<case additional="seamark:topmark:shape=cone, point up"/>
<case additional="seamark:topmark:shape=triangle, point up"/>
<apply icon__1="seamark_topmark_vertical_black_conepointup_big"/>
</switch>
<case additional="seamark:topmark:shape=rhombus" icon__1="seamark_topmark_vertical_black_rhombus_big"/>
<case additional="seamark:topmark:shape=sphere" icon__1="seamark_topmark_vertical_black_sphere_big"/>
<case additional="seamark:topmark:shape=x-shape" icon__1="seamark_topmark_vertical_yellow_xshape_big"/>
</apply>
<apply_if additional="seamark:radio_station:category" icon_4="seamark_radar_transponder_additional_center_big" iconVisibleSize="20" intersectionSizeFactor="0.6">
<switch>
<case additional="seamark:radio_station:category=ais"/>
<case additional="seamark:radio_station:category=s-ais"/>
<apply icon_5="seamark_radio_station_ais_additional"/>
</switch>
<switch>
<case additional="seamark:radio_station:category=v-ais"/>
<case additional="seamark:radio_station:category=v-ais_north_cardinal"/>
<case additional="seamark:radio_station:category=v-ais_south_cardinal"/>
<case additional="seamark:radio_station:category=v-ais_east_cardinal"/>
<case additional="seamark:radio_station:category=v-ais_west_cardinal"/>
<case additional="seamark:radio_station:category=v-ais_port_lateral"/>
<case additional="seamark:radio_station:category=v-ais_starboard_lateral"/>
<case additional="seamark:radio_station:category=v-ais_isolated_danger"/>
<case additional="seamark:radio_station:category=v-ais_safe_water"/>
<case additional="seamark:radio_station:category=v-ais_special_purpose"/>
<apply icon_5="seamark_radio_station_vais_additional"/>
</switch>
<case additional="seamark:radio_station:category=omnidirectional" icon_5="seamark_radio_station_omnidirectional_additional"/>
<case additional="seamark:radio_station:category=aeronautical" icon_5="seamark_radio_station_aeronautical_additional"/>
<case additional="seamark:radio_station:category=dgps" icon_5="seamark_radio_station_dgps_additional"/>
<apply_if nightMode="true" icon_4="seamark_radar_transponder_additional_center_big_night"/>
</apply_if>
<apply_if additional="seamark:radar_reflector=yes" icon_3="seamark_radar_reflector_additional_center_big">
<apply_if nightMode="true" icon_3="seamark_radar_reflector_additional_center_big_night"/>
</apply_if>
<apply_if additional="seamark:radar_transponder:category" icon_4="seamark_radar_transponder_additional_center_big">
<apply_if nightMode="true" icon_4="seamark_radar_transponder_additional_center_big_night"/>
</apply_if>
</switch>
<apply>
<case additional="seamark:light:colour=white" shield="light_white_center_shield"/>
<case additional="seamark:light:colour=red" shield="light_red_center_shield"/>
<case additional="seamark:light:colour=green" shield="light_green_center_shield"/>
<case additional="seamark:light:colour=yellow" shield="light_yellow_center_shield"/>
<case additional="seamark:light:colour=blue" shield="light_blue_center_shield"/>
<case additional="seamark:light:colour=orange" shield="light_orange_center_shield"/>
<case additional="seamark:light:colour=white;green" shield="light_whitegreen_center_shield"/>
<case additional="seamark:light:colour=red;green" shield="light_redgreen_center_shield"/>
<case additional="seamark:light:colour=white;red" shield="light_whitered_center_shield"/>
<case additional="seamark:light:colour=violet" shield="light_violet_center_shield"/>
<case additional="seamark:light:2:colour" shield="light_violet_center_shield"/>
</apply>
</switch>
<switch>
<case minzoom="11" tag="seamark:type" value="landmark" icon="seamark_landmark_tower" iconOrder="58" icon_shift_py="-0.5">
<case additional="seamark:landmark:function=mosque" icon="seamark_landmark_mosque"/>
<case additional="seamark:landmark:category=tower" icon="seamark_landmark_tower">
<case additional="seamark:landmark:function=church" icon="seamark_landmark_tower_church_additional" icon_2="seamark_landmark_church"/>
</case>
<case additional="seamark:landmark:category=minaret" icon="seamark_landmark_minaret"/>
<case additional="seamark:landmark:category=statue" icon="seamark_landmark_statue"/>
<case additional="seamark:landmark:category=spire" icon="seamark_landmark_spire_big">
<case additional="seamark:landmark:function=church" icon="seamark_landmark_spire" icon_2="seamark_landmark_church"/>
</case>
<case additional="seamark:landmark:category=dome" icon="seamark_landmark_dome_big">
<case additional="seamark:landmark:function=church" icon="seamark_landmark_dome" icon_2="seamark_landmark_church"/>
</case>
<switch>
<case additional="seamark:landmark:function=church"/>
<case additional="seamark:landmark:function=chapel"/>
<apply icon="seamark_landmark_church"/>
</switch>
<case additional="seamark:landmark:category=windmotor" icon="seamark_landmark_windmotor"/>
<case additional="seamark:landmark:category=mast" icon="seamark_landmark_mast">
<switch>
<case additional="seamark:landmark:function=communication"/>
<case additional="seamark:landmark:function=radar"/>
<case additional="seamark:landmark:function=radio"/>
<case additional="seamark:landmark:function=television"/>
<apply icon_2="seamark_landmark_communication_additional"/>
</switch>
</case>
<case additional="seamark:landmark:category=radar_scanner" icon="seamark_landmark_mast" icon_2="seamark_landmark_communication_additional"/>
<case additional="seamark:landmark:category=chimney" icon="seamark_landmark_chimney"/>
<switch>
<case additional="seamark:landmark:category=monument"/>
<case additional="seamark:landmark:category=column"/>
<case additional="seamark:landmark:category=obelisk"/>
<apply icon="seamark_landmark_monument"/>
</switch>
<case additional="seamark:landmark:category=flagstaff" icon="seamark_landmark_flagstaff"/>
<case additional="seamark:landmark:category=water_tower" icon="seamark_landmark_water_tower"/>
<case additional="seamark:landmark:category=dish_aerial" icon="seamark_landmark_dish_aerial"/>
<case additional="seamark:landmark:category=windsock" icon="seamark_landmark_windsock"/>
<case additional="seamark:landmark:category=cemetery" icon="seamark_landmark_cemetery"/>
<case additional="seamark:landmark:category=cross" icon="seamark_landmark_cross"/>
<case additional="seamark:landmark:category=cairn" icon="seamark_landmark_cairn"/>
<apply iconVisibleSize="13" intersectionSizeFactor="0.4"/>
</case>
<apply>
<case additional="seamark:fog_signal:category" icon_2="seamark_fog_signal_additional_big">
<apply_if nightMode="true" icon_2="seamark_fog_signal_additional_big_night"/>
</case>
</apply>
<!-- <apply>
<case additional="seamark:topmark:shape=2 cones point together" icon__1="seamark_topmark_vertical_black_2conespointtogether_big"/>
<case additional="seamark:topmark:shape=2 cones base together" icon__1="seamark_topmark_vertical_black_2conesbasetogether_big"/>
<case additional="seamark:topmark:shape=2 cones up" icon__1="seamark_topmark_vertical_black_2conesup_big"/>
<case additional="seamark:topmark:shape=2 cones down" icon__1="seamark_topmark_vertical_black_2conesdown_big"/>
<case additional="seamark:topmark:shape=2 spheres" icon__1="seamark_topmark_vertical_black_2spheres_big"/>
<switch>
<case additional="seamark:topmark:shape=cylinder"/>
<case additional="seamark:topmark:shape=square"/>
<case additional="seamark:topmark:shape=board"/>
<case additional="seamark:topmark:shape=rectangle"/>
<apply icon__1="seamark_topmark_vertical_black_cylinder_big"/>
</switch>
<switch>
<case additional="seamark:topmark:shape=cone, point down"/>
<case additional="seamark:topmark:shape=triangle, point down"/>
<apply icon__1="seamark_topmark_vertical_black_conepointdown_big"/>
</switch>
<switch>
<case additional="seamark:topmark:shape=cone"/>
<case additional="seamark:topmark:shape=cone, point up"/>
<case additional="seamark:topmark:shape=triangle, point up"/>
<apply icon__1="seamark_topmark_vertical_black_conepointup_big"/>
</switch>
<case additional="seamark:topmark:shape=rhombus" icon__1="seamark_topmark_vertical_black_rhombus_big"/>
<case additional="seamark:topmark:shape=sphere" icon__1="seamark_topmark_vertical_black_sphere_big"/>
<case additional="seamark:topmark:shape=x-shape" icon__1="seamark_topmark_vertical_yellow_xshape_big"/>
</apply>-->
<apply_if additional="seamark:radio_station:category" icon_4="seamark_radar_transponder_additional_big" iconVisibleSize="20" intersectionSizeFactor="0.6">
<switch>
<case additional="seamark:radio_station:category=ais"/>
<case additional="seamark:radio_station:category=s-ais"/>
<apply icon_5="seamark_radio_station_ais_additional"/>
</switch>
<switch>
<case additional="seamark:radio_station:category=v-ais"/>
<case additional="seamark:radio_station:category=v-ais_north_cardinal"/>
<case additional="seamark:radio_station:category=v-ais_south_cardinal"/>
<case additional="seamark:radio_station:category=v-ais_east_cardinal"/>
<case additional="seamark:radio_station:category=v-ais_west_cardinal"/>
<case additional="seamark:radio_station:category=v-ais_port_lateral"/>
<case additional="seamark:radio_station:category=v-ais_starboard_lateral"/>
<case additional="seamark:radio_station:category=v-ais_isolated_danger"/>
<case additional="seamark:radio_station:category=v-ais_safe_water"/>
<case additional="seamark:radio_station:category=v-ais_special_purpose"/>
<apply icon_5="seamark_radio_station_vais_additional"/>
</switch>
<case additional="seamark:radio_station:category=omnidirectional" icon_5="seamark_radio_station_omnidirectional_additional"/>
<case additional="seamark:radio_station:category=aeronautical" icon_5="seamark_radio_station_aeronautical_additional"/>
<case additional="seamark:radio_station:category=dgps" icon_5="seamark_radio_station_dgps_additional"/>
<apply_if nightMode="true" icon_4="seamark_radar_transponder_additional_big_night"/>
</apply_if>
<apply_if additional="seamark:radar_reflector=yes" icon_3="seamark_radar_reflector_additional_big">
<apply_if nightMode="true" icon_3="seamark_radar_reflector_additional_big_night"/>
</apply_if>
<apply_if additional="seamark:radar_transponder:category" icon_4="seamark_radar_transponder_additional_big">
<apply_if nightMode="true" icon_4="seamark_radar_transponder_additional_big_night"/>
</apply_if>
<apply>
<case additional="seamark:light:colour=white" shield="light_white_shield"/>
<case additional="seamark:light:colour=red" shield="light_red_shield"/>
<case additional="seamark:light:colour=green" shield="light_green_shield"/>
<case additional="seamark:light:colour=yellow" shield="light_yellow_shield"/>
<case additional="seamark:light:colour=blue" shield="light_blue_shield"/>
<case additional="seamark:light:colour=orange" shield="light_orange_shield"/>
<case additional="seamark:light:colour=white;green" shield="light_whitegreen_shield"/>
<case additional="seamark:light:colour=red;green" shield="light_redgreen_shield"/>
<case additional="seamark:light:colour=white;red" shield="light_whitered_shield"/>
<case additional="seamark:light:colour=violet" shield="light_violet_shield"/>
<case additional="seamark:light:2:colour" shield="light_violet_shield"/>
</apply>
</switch>
<switch>
<case minzoom="16" tag="seamark:type" value="mooring" iconOrder="156" iconVisibleSize="28" intersectionSizeFactor="0.8">
<case additional="seamark:mooring:category=dolphin" icon="seamark_mooring_dolphin" iconVisibleSize="13" intersectionSizeFactor="0.4"/> <!-- add bw colour -->
<case additional="seamark:mooring:category=deviation_dolphin" icon="seamark_mooring_deviationdolphin"/>
<case additional="seamark:mooring:category=bollard" icon="seamark_mooring_bollard" iconVisibleSize="13" intersectionSizeFactor="0.4"/>
<case additional="seamark:mooring:category=pile" icon="seamark_mooring_pile" iconVisibleSize="13" intersectionSizeFactor="0.4"/>
<case additional="seamark:mooring:category=post" icon="seamark_mooring_pile"/>
<case additional="seamark:mooring:category=wall" icon="seamark_mooring_wall"/>
<case additional="seamark:mooring:category=pylon" icon="seamark_mooring_pylon"/>