view flys-artifacts/doc/conf/floodmap.xml @ 4656:442fbb290fa8

Introduce river mapfile generation (WARNING: Changes in config xml files required!). On startup the RiverMapfileGeneratorStarter is called by the server app. The starter invokes a call to RiverMapfileGenerator.generate() which reads all available rivers from the database and generates layers for each river (in theory...uncompleted) in a river.map file. The old MapfileGenerator which generates layers that have artifact dependencies is now in ArtifactMapfileGenerator.
author Christian Lins <christian.lins@intevation.de>
date Tue, 11 Dec 2012 15:24:24 +0100
parents 0441f62535af
children 3f0c8ef42b7a
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<floodmap>
    <shapefile-path value="${artifacts.config.dir}/../shapefiles"/>
    <mapserver>
        <server path="http://flys-devel.intevation.de/cgi-bin/"/>
        <mapfile path="${artifacts.config.dir}/../flys.map"/>
        <templates path="${artifacts.config.dir}/mapserver/"/>
        <map-template path="mapfile.vm"/>
    </mapserver>

    <velocity>
        <logfile path="${artifacts.config.dir}/../velocity.log"/>
    </velocity>

    <river name="Saar">
        <srid value="31466"/>
        <river-wms url="http://flys-devel.intevation.de/cgi-bin/user-wms" layers="FLYS-Map"/>
        <background-wms url="http://vmap0.tiles.osgeo.org/wms/vmap0" layers="basic"/>
    </river>
    <river name="Mosel">
        <srid value="31466"/>
        <river-wms url="http://flys-devel.intevation.de/cgi-bin/user-wms" layers="FLYS-Map"/>
        <background-wms url="http://vmap0.tiles.osgeo.org/wms/vmap0" layers="basic"/>
    </river>
    <river name="Elbe">
        <srid value="31466"/>
        <river-wms url="http://flys-devel.intevation.de/cgi-bin/elbe-wms" layers="FLYS-Map"/>
        <background-wms url="http://vmap0.tiles.osgeo.org/wms/vmap0" layers="basic"/>
    </river>
</floodmap>

http://dive4elements.wald.intevation.org