view artifacts/doc/conf/rivermap.xml @ 9670:07d854c325d8 3.2.x

Tighten code a bit PostgreSQL database names might also contain dots and since the extra pattern matches a subset of the other, it will never match anyhow. Thus remove the extra pattern, a lot of duplicate code and some superfluous debug logging.
author Tom Gottfried <tom@intevation.de>
date Wed, 20 May 2020 17:50:27 +0200
parents 288ea098494c
children 308a0d822d18
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<!--// configuration fragment for static river WMS //-->
<rivermap>
    <mapserver>
        <server path="http://localhost: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://localhost: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