<?xml version="1.0" encoding="UTF-8"?>
<dgml xmlns="http://edu.kde.org/marble/dgml/2.0">
    <document>

        <head>
            <name>OpenSeaMap</name>
            <target>earth</target>
            <theme>openseamap</theme>
            <icon pixmap="openseamap-preview.png"/>
            <visible>true</visible>
            <description><![CDATA[<p>OpenSeaMap is an open source, worldwide project to create a free nautical chart. There is a great need for freely accessible maps for navigation purposes, so in 2009, OpenSeaMap came into life. The goal of OpenSeaMap is to record interesting and useful nautical information for the sailor which is then incorporated into a free map of the world. This includes beacons, buoys and other navigation aids as well as port information, repair shops and chandlerys. OpenSeaMap is a subproject of OpenStreetMap and uses its database.</p><p><b>NOTE:</b><br/>Good seamanship requires the use of official charts. OpenSeaMap is for use with other charts and cannot replace official charts. Use is at your own risk.</p>]]></description>
            <zoom>
                <discrete> true </discrete>
                <minimum> 900 </minimum>
                <maximum> 3500 </maximum>
            </zoom>
        </head>

        <map bgcolor="#000000">
            <canvas/>
            <target/>
            <layer name="openseamap" backend="texture" >
                <!-- OpenStreetMap osmarender rendered tiles expire after seven days
                     or 604800 seconds -->
                <texture name="mapnik_data" expire="604800" >
                    <sourcedir format="PNG"> earth/openstreetmap </sourcedir>
                    <tileSize width="256" height="256" />
                    <storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="18" mode="OpenStreetMap" />
                    <projection name="Mercator" />
                    <downloadUrl protocol="http" host="a.tile.openstreetmap.org" path="/" />
                    <downloadUrl protocol="http" host="b.tile.openstreetmap.org" path="/" />
                    <downloadUrl protocol="http" host="c.tile.openstreetmap.org" path="/" />
                    <downloadPolicy usage="Browse" maximumConnections="20" />
                    <downloadPolicy usage="Bulk" maximumConnections="2" />
                </texture>
                <texture name="gebco_new" expire="5" >
                      <sourcedir format="PNG"> earth/openseamap/gebco_new </sourcedir>
                      <storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="17" mode="WebMapService" />
                      <downloadUrl protocol="http" host="osm.franken.de" port="8080" path="/geoserver/gwc/service/wms"  />
                      <blending name="AlphaBlending" />
                </texture>
                <texture name="hillshading" expire="31536000" >
                    <sourcedir format="PNG"> earth/hillshading </sourcedir>
                    <storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="17" mode="OpenStreetMap" />
                    <projection name="Mercator" />
                    <downloadUrl protocol="http" host="toolserver.org" path="/~cmarqu/hill/" />
                    <blending name="AlphaBlending" />
                </texture>
                <texture name="seamarks" expire="604800" >
                    <sourcedir format="PNG"> earth/openseamap/seamarks </sourcedir>
                    <storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="18" mode="OpenStreetMap" />
                    <projection name="Mercator" />
                    <downloadUrl protocol="http" host="tiles.openseamap.org" path="/seamark/" />
                    <downloadPolicy usage="Browse" maximumConnections="20" />
                    <downloadPolicy usage="Bulk" maximumConnections="2" />
                    <blending name="AlphaBlending" />
                </texture>
                <texture name="sport" expire="604800" >
                    <sourcedir format="PNG"> earth/openseamap/sport</sourcedir>
                    <storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="18" mode="OpenStreetMap" />
                    <projection name="Mercator" />
                    <downloadUrl protocol="http" host="tiles.openseamap.org" path="/sport/" />
                    <downloadPolicy usage="Browse" maximumConnections="20" />
                    <downloadPolicy usage="Bulk" maximumConnections="2" />
                    <blending name="AlphaBlending" />
                </texture>
<!-- Wind layer is experimental, and should not be in the file when released! -->
<!--                <texture name="wind" expire="60" >
                    <sourcedir format="PNG">earth/openseamap/wind1 </sourcedir>
                    <storageLayout levelZeroColumns="1" levelZeroRows="1" minimumTileLevel="4" maximumTileLevel="7" mode="OpenStreetMap" />
                    <projection name="Mercator" />
                    <downloadUrl protocol="http" host="www.openportguide.org" path="/tiles/actual/wind_vector/5/" />
                    <downloadPolicy usage="Browse" maximumConnections="20" />
                    <downloadPolicy usage="Bulk" maximumConnections="2" />
                    <blending name="AlphaBlending" />
                 </texture>-->
            </layer>
            <layer name="standardplaces" backend="geodata">
               <geodata name="cityplacemarks">
                    <sourcefile format="KML">cityplacemarks.kml</sourcefile>
                    <pick>placemark</pick>
                </geodata>
                <geodata name="baseplacemarks">
                    <sourcefile format="KML">baseplacemarks.kml</sourcefile>
                    <pick>placemark</pick>
                </geodata>
                <geodata name="elevplacemarks">
                    <sourcefile format="KML">elevplacemarks.kml</sourcefile>
                    <pick>placemark</pick>
                </geodata>
                <geodata name="otherplacemarks">
                    <sourcefile
                    format="KML">otherplacemarks.kml</sourcefile>
                    <pick>placemark</pick>
                </geodata>
                <geodata name="boundaryplacemarks">
                    <sourcefile format="KML">boundaryplacemarks</sourcefile>
                    <pick>placemark</pick>
                </geodata>
            </layer>            
<!-- Skipperguide is experimental, and should not be in the file when released! -->
<!--            <layer name="additionalplaces" backend="geodata">
                <geodata name="skipperguide-de">
                    <sourcefile format="KML">skipperguide-de.kml</sourcefile>
                    <pick>placemark</pick>
                </geodata>
            </layer>-->
        </map>
        <settings>
            <property name="coordinate-grid">
                <value>true</value>
                <available>true</available>
            </property>
            <property name="overviewmap">
                <value>true</value>
                <available>true</available>
            </property>
            <property name="compass">
                <value>true</value>
                <available>true</available>
            </property>
            <property name="scalebar">
                <value>true</value>
                <available>true</available>
            </property>
            <group name="Places">
                <property name="places">
                    <value>false</value>
                    <available>false</available>
                </property>
                <property name="otherplaces">
                    <value>false</value>
                    <available>true</available>
                </property>
                <property name="skipperguide-de">
                    <value>true</value>
                    <available>true</available>
                </property>
            </group>
            <group name="Texture Layers">
                <property name="hillshading">
                    <value>false</value>
                    <available>true</available>
                </property>
                <property name="seamarks">
                    <value>true</value>
                    <available>true</available>
                </property>
                <property name="sport">
                    <value>true</value>
                    <available>true</available>
                </property>
               <property name="gebco_new">
                    <value>false</value>
                    <available>true</available>
                </property>
            </group>
        </settings>
        <legend>
            <section>
                <heading>View</heading>
            </section>
        
            <section name="coordinate-grid" checkable="true" connect="coordinate-grid"  spacing="12">
                <heading>Coordinate Grid</heading>
            </section>
            
            <section name="hillshading" checkable="true" connect="hillshading" spacing="12">
                <heading>Hillshading</heading>
            </section>
<!--            <section name="gebco_new" checkable="true" connect="gebco_new" spacing="12">
                <heading>Seabed</heading>
            </section>-->
            <section name="sport" checkable="true" connect="sport" spacing="12">
                <heading>Watersports</heading>
            </section>
        
            <section name="seamarks" spacing="12">
                <heading>Seamarks</heading>
                <item name="lateral_green">
                    <icon pixmap="maps/earth/openseamap/legend/lateral_green32.png"/>
                    <text>Starboard mark (IALA A)</text>
                </item>
                <item name="lateral_red">
                    <icon pixmap="maps/earth/openseamap/legend/lateral_red32.png"/>
                    <text>Port mark (IALA A)</text>
                </item>
                <item name="preferred_starboard">
                    <icon pixmap="maps/earth/openseamap/legend/preferred_starboard32.png"/>
                    <text>Preferred channel: Starboard (IALA A)</text>
                </item>
                <item name="preferred_port">
                    <icon pixmap="maps/earth/openseamap/legend/preferred_port32.png"/>
                    <text>Preferred channel: Port (IALA A)</text>
                </item>
                <item name="cardinal_north">
                    <icon pixmap="maps/earth/openseamap/legend/cardinal_north32.png"/>
                    <text>Cardinal North</text>
                </item>
                <item name="cardinal_east">
                    <text>Cardinal East</text>
                    <icon pixmap="maps/earth/openseamap/legend/cardinal_east32.png"/>
                </item>
                <item name="cardinal_south">
                    <icon pixmap="maps/earth/openseamap/legend/cardinal_south32.png"/>
                    <text>Cardinal South</text>
                </item>
                <item name="cardinal_west">
                    <icon pixmap="maps/earth/openseamap/legend/cardinal_west32.png"/>
                    <text>Cardinal West</text>
                </item>
                <item name="safe_water">
                    <icon pixmap="maps/earth/openseamap/legend/safe_water32.png"/>
                    <text>Safe water</text>
                </item>
                <item name="isolated_danger">
                    <icon pixmap="maps/earth/openseamap/legend/isolated_danger32.png"/>
                    <text>Isolated danger</text>
                </item>
                <item name="special_purpose">
                    <text>Special purpose</text>
                    <icon pixmap="maps/earth/openseamap/legend/special_purpose22.png"/>
                </item>
                <item name="lighthouse">
                    <icon pixmap="maps/earth/openseamap/legend/lighthouse22.png"/>
                    <text>Lighthouse or light</text>
                </item>
<!--                <item name="light">
                    <text>Light</text>
                    <icon pixmap="maps/earth/openseamap/legend/light_major22.png"/>
                </item>-->
                <item name="light_minor">
                    <text>Light (smaller)</text>
                    <icon pixmap="maps/earth/openseamap/legend/light_minor22.png"/>
                </item>
            </section>
            <section name="harbour" spacing="12">
                <heading>Harbour</heading>
                <item name="harbour">
                    <icon pixmap="maps/earth/openseamap/legend/harbour22.png"/>
                    <text>Harbour</text>
                </item>
                <item name="fishing_harbour">
                    <icon pixmap="maps/earth/openseamap/legend/fishing_harbour22.png"/>
                    <text>Fishing harbour</text>
                </item>
                <item name="marina">
                    <icon pixmap="maps/earth/openseamap/legend/marina22.png"/>
                    <text>Marina</text>
                </item>
                <item name="harbour_master">
                    <icon pixmap="maps/earth/openseamap/legend/harbour_master22.png"/>
                    <text>Harbour master</text>
                </item>
                <item name="anchorage">
                    <icon pixmap="maps/earth/openseamap/legend/anchorage22.png"/>
                    <text>Anchorage</text>
                </item>
                <item name="slipway">
                    <icon pixmap="maps/earth/openseamap/legend/slipway22.png"/>
                    <text>Slipway</text>
                </item>
                <item name="crane">
                    <icon pixmap="maps/earth/openseamap/legend/crane22.png"/>
                    <text>Crane</text>
                </item>
                <item name="boatyard">
                    <icon pixmap="maps/earth/openseamap/legend/boatyard22.png"/>
                    <text>Boatyard</text>
                </item>
                <item name="chandler">
                    <icon pixmap="maps/earth/openseamap/legend/chandler22.png"/>
                    <text>Chandler</text>
                </item>
            </section>
            <section name="obstructions" spacing="12">
                <heading>Obstructions</heading>
                <item name="wind_farm">
                    <icon pixmap="maps/earth/openseamap/legend/wind_farm22.png"/>
                    <text>Wind farm</text>
                </item>
                <item name="wind_motor">
                    <icon pixmap="maps/earth/openseamap/legend/wind_motor22.png"/>
                    <text>Wind motor</text>
                </item>
                <item name="weir">
                    <icon pixmap="maps/earth/openseamap/legend/weir22.png"/>
                    <text>Weir</text>
                </item>
                <item name="weir_small">
                    <icon pixmap="maps/earth/openseamap/legend/weir_small22.png"/>
                    <text>Weir (smaller)</text>
                </item>
                <item name="lock_gate">
                    <icon pixmap="maps/earth/openseamap/legend/lock_gate22.png"/>
                    <text>Lock gate</text>
                </item>
                <item name="lock">
                    <icon pixmap="maps/earth/openseamap/legend/lock22.png"/>
                    <text>Lock</text>
                </item>
            </section>
            <!-- ### selection of openstreetmap stuff -->
            <section name="places" spacing="12">
                <heading>Map features of Interest</heading>
                <item name="nature_reserve">
                    <icon color="#abdf96"/>
                    <text>Nature reserve</text>
                </item>
                <item name="forest">
                    <icon color="#8dc56c"/>
                    <text>Forest</text>
                </item>
                <item name="wood">
                    <icon color="#aed1a0"/>
                    <text>Wood</text>
                </item>
                <item name="military_area">
                    <icon color="#e18f8f"/>
                    <text>Military area</text>
                </item>
                <item name="industrial_area">
                    <icon color="#ffaeb9"/>
                    <text>Industrial Area</text>
                </item>
                <item name="residential_area">
                    <icon color="#cccccc"/>
                    <text>Residential Area</text>
                </item>
                <item name="significant_building">
                    <icon pixmap="maps/earth/openstreetmap/legend/significantbuilding.png"/>
                    <text>Significant Building</text>
                </item>
                <item name="summit_peak">
                    <icon pixmap="maps/earth/openstreetmap/legend/summitpeak.png"/>
                    <text>Summit, peak</text>
                </item>
            </section>
            
        </legend>
    </document>
</dgml>