Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/mapserver/wsplgen_layer.vm @ 3938:c0cab28ba1ea
merged flys-artifacts
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:15:03 +0200 |
parents | 0795c296f718 |
children |
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 PROJECTION | |
14 "init=epsg:$LAYER.getSrid()" | |
15 END | |
16 | |
17 METADATA | |
18 "wms_title" "$LAYER.getTitle()" | |
19 "gml_include_items" "all" | |
20 "ows_enable_request" "GetFeatureInfo" | |
21 "wms_feature_info_mime_type" "gml" | |
22 #if ( $LAYER.getGroupTitle() ) | |
23 "wms_group_title" "$LAYER.getGroupTitle()" | |
24 #end | |
25 END | |
26 | |
27 #if ( !$LAYER.getStyle() ) | |
28 #if ( $LAYER.getGroupTitle() ) | |
29 #if ( $LAYER.getType() == "POLYGON" ) | |
30 #include("barrier_polygons_class.vm") | |
31 #else | |
32 #include("barrier_lines_class.vm") | |
33 #end | |
34 #else | |
35 #include("wsplgen_class.vm") | |
36 #end | |
37 #else | |
38 $LAYER.getStyle() | |
39 #end | |
40 END |