view artifacts/doc/conf/rivermap.xml @ 8452:b9a8463ac636

(issue1732) When duplication wsplgen artificats fix shapefile layers The shapefile layers are copied but still contained the old names and paths and the wms layer refered to layers from the old artifact. This was broken. Now the old artificat id is replaced by the new artifact id in the mapfiles. Duplication most wsplgen artifacts should now work.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 28 Oct 2014 18:52:35 +0100
parents 9cce1b34e47b
children 288ea098494c
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<!--// configuration fragment for static river WMS //-->
<rivermap>
    <mapserver>
        <server path="http://yourhost:8081/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="Beispielfluss">
        <srid value="31467"/>
        <river-wms url="http://yourhost:8081/cgi-bin/river-wms" layers="Beispielfluss"/>
        <background-wms url="http://osm.intevation.de/bfg/service?" layers="OSM-WMS-Dienst"/>
    </river>
</rivermap>

http://dive4elements.wald.intevation.org