Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/mapserver/layer.vm @ 3938:c0cab28ba1ea
merged flys-artifacts
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:15:03 +0200 |
parents | c0fbff11d287 |
children | cfc5540a4eec |
comparison
equal
deleted
inserted
replaced
3865:436eec3be6ff | 3938:c0cab28ba1ea |
---|---|
1 LAYER | |
2 NAME "$LAYER.getName()" | |
3 TYPE $LAYER.getType() | |
4 DATA "$LAYER.getDirectory()/$LAYER.getData()" | |
5 STATUS ON | |
6 TEMPLATE map.html | |
7 TOLERANCE 10 | |
8 DUMP TRUE | |
9 #if( $LAYER.getGroup() ) | |
10 GROUP "$LAYER.getGroup()" | |
11 #end | |
12 | |
13 METADATA | |
14 "wms_title" "$LAYER.getTitle()" | |
15 "gml_include_items" "all" | |
16 #if ( $LAYER.getGroupTitle() ) | |
17 "wms_group_title" "$LAYER.getGroupTitle()" | |
18 #end | |
19 END | |
20 | |
21 PROJECTION | |
22 "init=epsg:$LAYER.getSrid()" | |
23 END | |
24 | |
25 #if ( !$LAYER.getStyle() ) | |
26 #if ( $LAYER.getGroupTitle() ) | |
27 #if ( $LAYER.getType() == "POLYGON" ) | |
28 #include("barrier_polygons_class.vm") | |
29 #else | |
30 #include("barrier_lines_class.vm") | |
31 #end | |
32 #else | |
33 #include("wsplgen_class.vm") | |
34 #end | |
35 #else | |
36 $LAYER.getStyle() | |
37 #end | |
38 END |