Mercurial > dive4elements > river
view flys-artifacts/doc/conf/mapserver/db_layer.vm @ 1830:7bb5bfd3b51f
Create layers for barrier lines and polygons only if they are really existing.
flys-artifacts/trunk@3161 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 04 Nov 2011 10:58:44 +0000 |
parents | 5364b86a0880 |
children | e372934f0c42 |
line wrap: on
line source
LAYER NAME "$LAYER.getName()" TYPE $LAYER.getType() INCLUDE "$CONFIGDIR/mapserver/dbconnection.include" DATA "$LAYER.getData()" FILTER '$LAYER.getFilter()' EXTENT $LAYER.getExtent() STATUS ON TEMPLATE map.html TOLERANCE 10 DUMP TRUE #if( $LAYER.getGroup() ) GROUP "$LAYER.getGroup()" #end METADATA "wms_title" "$LAYER.getTitle()" "gml_include_items" "all" #if ( $LAYER.getGroupTitle() ) "wms_group_title" "$LAYER.getGroupTitle()" #end END #if ( $LAYER.getStyle() ) $LAYER.getStyle() #else CLASS NAME "" STYLE SIZE 5 OUTLINECOLOR "#000000" END END #end END