Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/mapserver/db_layer.vm @ 1792:49ad801076e4
Enabled the MapGenerator to create WMS layers with database datastore - riveraxis is the first layer that is no longer fetched from static WMS service but from user specific one.
flys-artifacts/trunk@3115 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 28 Oct 2011 13:48:02 +0000 |
parents | |
children | 5364b86a0880 |
comparison
equal
deleted
inserted
replaced
1791:e0e5a5b51a40 | 1792:49ad801076e4 |
---|---|
1 LAYER | |
2 NAME "$LAYER.getName()" | |
3 TYPE $LAYER.getType() | |
4 | |
5 INCLUDE "$CONFIGDIR/mapserver/dbconnection.include" | |
6 DATA "$LAYER.getData()" | |
7 FILTER '$LAYER.getFilter()' | |
8 | |
9 STATUS ON | |
10 TEMPLATE map.html | |
11 TOLERANCE 10 | |
12 DUMP TRUE | |
13 #if( $LAYER.getGroup() ) | |
14 GROUP "$LAYER.getGroup()" | |
15 #end | |
16 | |
17 METADATA | |
18 "wms_title" "$LAYER.getTitle()" | |
19 "gml_include_items" "all" | |
20 #if ( $LAYER.getGroupTitle() ) | |
21 "wms_group_title" "$LAYER.getGroupTitle()" | |
22 #end | |
23 END | |
24 | |
25 #if ( $LAYER.getStyle() ) | |
26 $LAYER.getStyle() | |
27 #else | |
28 CLASS | |
29 NAME "" | |
30 STYLE | |
31 SIZE 5 | |
32 OUTLINECOLOR "#000000" | |
33 END | |
34 END | |
35 #end | |
36 END |