annotate artifacts/doc/conf/mapserver/wsplgen_layer.vm @ 8645:5c4766ac20ba

Remove obsolete code.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 30 Mar 2015 19:11:35 +0200
parents 1a4df065de26
children
rev   line source
2637
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 LAYER
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 NAME "$LAYER.getName()"
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 TYPE $LAYER.getType()
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 DATA "$LAYER.getDirectory()/$LAYER.getData()"
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 STATUS ON
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 TEMPLATE map.html
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 TOLERANCE 10
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8 DUMP TRUE
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 #if( $LAYER.getGroup() )
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 GROUP "$LAYER.getGroup()"
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 #end
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
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
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
17 METADATA
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
18 "wms_title" "$LAYER.getTitle()"
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 "gml_include_items" "all"
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
20 "ows_enable_request" "GetFeatureInfo"
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
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
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
23 #if ( $LAYER.getGroupTitle() )
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
24 "wms_group_title" "$LAYER.getGroupTitle()"
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
25 #end
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
26 END
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
27
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
28 #if ( !$LAYER.getStyle() )
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
29 #if ( $LAYER.getGroupTitle() )
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
30 #if ( $LAYER.getType() == "POLYGON" )
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
31 #include("barrier_polygons_class.vm")
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
32 #else
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
33 #include("barrier_lines_class.vm")
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
34 #end
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
35 #else
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
36 #include("wsplgen_class.vm")
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
37 #end
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
38 #else
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
39 $LAYER.getStyle()
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
40 #end
baaf7d125c43 Issue 560.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
41 END

http://dive4elements.wald.intevation.org