Mercurial > dive4elements > river
view artifacts/doc/conf/rivermap.xml @ 8527:76a2268942c6
(issue1794) Safeguard against layers without extent.
Just create a broken layer but don't create a syntax error in a mapfile.
The syntax error pulls down the whole user wms while this just creates
one broken layer.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 17 Feb 2015 12:36:13 +0100 |
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>