Mercurial > dive4elements > river
comparison artifacts/doc/conf/mapserver/wsplgen_layer.vm @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-artifacts/doc/conf/mapserver/wsplgen_layer.vm@0795c296f718 |
children | 1a4df065de26 |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
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 |