Mercurial > dive4elements > river
annotate artifacts/doc/conf/mapserver/wsplgen_layer.vm @ 7429:e4c01198f909
issue1345: Showing sediment densitie by depth, comment total load.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 23 Oct 2013 17:08:07 +0200 |
parents | 1a4df065de26 |
children |
rev | line source |
---|---|
2637 | 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 | |
2682
0795c296f718
Added a PROJECTION section for all missing mapserver templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2637
diff
changeset
|
13 PROJECTION |
0795c296f718
Added a PROJECTION section for all missing mapserver templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2637
diff
changeset
|
14 "init=epsg:$LAYER.getSrid()" |
0795c296f718
Added a PROJECTION section for all missing mapserver templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2637
diff
changeset
|
15 END |
0795c296f718
Added a PROJECTION section for all missing mapserver templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2637
diff
changeset
|
16 |
2637 | 17 METADATA |
18 "wms_title" "$LAYER.getTitle()" | |
19 "gml_include_items" "all" | |
20 "ows_enable_request" "GetFeatureInfo" | |
21 "wms_feature_info_mime_type" "gml" | |
6992
1a4df065de26
(issue1023) mapserver templates mapfile.vm, wsplgen_layer.vm explicitely adding the three projects, so that mapserver offers the in the capabilities.
Bernhard Reiter <bernhard@intevation.de>
parents:
5838
diff
changeset
|
22 "wms_srs" "EPSG:4326 EPSG:31466 EPSG:31467" |
2637 | 23 #if ( $LAYER.getGroupTitle() ) |
24 "wms_group_title" "$LAYER.getGroupTitle()" | |
25 #end | |
26 END | |
27 | |
28 #if ( !$LAYER.getStyle() ) | |
29 #if ( $LAYER.getGroupTitle() ) | |
30 #if ( $LAYER.getType() == "POLYGON" ) | |
31 #include("barrier_polygons_class.vm") | |
32 #else | |
33 #include("barrier_lines_class.vm") | |
34 #end | |
35 #else | |
36 #include("wsplgen_class.vm") | |
37 #end | |
38 #else | |
39 $LAYER.getStyle() | |
40 #end | |
41 END |