Mercurial > dive4elements > river
annotate artifacts/doc/conf/mapserver/wsplgen_layer.vm @ 9415:9744ce3c3853
Rework of fixanalysis computation and dWt and WQ facets. Got rid of strange remapping and bitshifting code by explicitely saving the column information and using it in the facets.
The facets also put the valid station range into their xml-metadata
author | gernotbelger |
---|---|
date | Thu, 16 Aug 2018 16:27:53 +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 |