view flys-artifacts/doc/conf/rivermap.xml @ 4890:bf38ea4cb0f7

Added bodies to macros. Use the bodies of <dc:call-macro><body></dc:call-macro> as <dc:macro-body/> in tthe macro. Example: <dc:macro name="greet"><hello><dc:macro-body/></hello></dc:macro> <dc:call-macro name="greet"><planet>Earth</planet></dc:call-macro> Result: <hello><panet>Earth</planet></hello>
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 28 Jan 2013 18:55:55 +0100
parents 3f0c8ef42b7a
children 5a993c86cda0
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="flys-wms"/>
    </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="flys-wms"/>
    </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="flys-wms"/>
    </river>
</rivermap>

http://dive4elements.wald.intevation.org