view flys-artifacts/doc/conf/rivermap.xml @ 5308:7712dacc27ab

Avoid NPE if data list is null.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 14 Mar 2013 17:16:15 +0100
parents bede56860646
children 2e420f65c5e0
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<!--// configuration fragment for static river WMS //-->
<rivermap>
    <mapserver>
        <server path="http://example.com/cgi-bin/"/>
        <mapfile path="${artifacts.config.dir}/../rivers.map"/>
        <templates path="${artifacts.config.dir}/mapserver/"/>
        <map-template path="river-mapfile.vm"/>
    </mapserver>

    <velocity>
        <logfile path="${artifacts.config.dir}/../rivermap_velocity.log"/>
    </velocity>
    
    <river name="Saar">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Saar"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Mosel">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Mosel"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Elbe">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Elbe"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Donau">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Donau"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Donaurna">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Donaurna"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="DonauSK">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="DonauSK"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Fulda">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Fulda"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Fulda-Sommer">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Fulda-Sommer"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Lahn">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Lahn"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Main">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Main"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Main-Wehrarm-Limbach">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Main-Wehrarm-Limbach"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Main-Wehrarm-Volkach">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Main-Wehrarm-Volkach"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Neckar">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Neckar"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Neckar-über-Wehrarme">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Neckar-über-Wehrarme"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Rhein">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Rhein"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Saale">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Saale"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Saale-Thüringen">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Saale-Thüringen"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Saar-Wilt-Bogen">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Saar-Wilt-Bogen"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Werra">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Werra"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Werra-Sommer">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Werra-Sommer"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Weser">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Weser"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Oder">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Oder"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
    <river name="Havel">
        <srid value="31467"/>
        <river-wms url="http://example.com/cgi-bin/river-wms" layers="Havel"/>
        <background-wms url="http://osm.intevation.de/mapcache/?" layers="OSM-WMS-Dienst"/>
    </river>
</rivermap>

http://dive4elements.wald.intevation.org