2637
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 LAYER |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 NAME "$LAYER.getName()" |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 TYPE $LAYER.getType() |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
4 DATA "$LAYER.getDirectory()/$LAYER.getData()" |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 STATUS ON |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 TEMPLATE map.html |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 TOLERANCE 10 |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 DUMP TRUE |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 #if( $LAYER.getGroup() ) |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
10 GROUP "$LAYER.getGroup()" |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 #end |
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>
diff
changeset
|
13 PROJECTION |
0795c296f718
Added a PROJECTION section for all missing mapserver templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
diff
changeset
|
14 "init=epsg:$LAYER.getSrid()" |
0795c296f718
Added a PROJECTION section for all missing mapserver templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
diff
changeset
|
15 END |
0795c296f718
Added a PROJECTION section for all missing mapserver templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
diff
changeset
|
16 |
2637
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
17 METADATA |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
18 "wms_title" "$LAYER.getTitle()" |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
19 "gml_include_items" "all" |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 "ows_enable_request" "GetFeatureInfo" |
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>
diff
changeset
|
22 "wms_srs" "EPSG:4326 EPSG:31466 EPSG:31467" |
2637
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
23 #if ( $LAYER.getGroupTitle() ) |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
24 "wms_group_title" "$LAYER.getGroupTitle()" |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 #end |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
26 END |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
28 #if ( !$LAYER.getStyle() ) |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
29 #if ( $LAYER.getGroupTitle() ) |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
30 #if ( $LAYER.getType() == "POLYGON" ) |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
31 #include("barrier_polygons_class.vm") |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
32 #else |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
33 #include("barrier_lines_class.vm") |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
34 #end |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
35 #else |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
36 #include("wsplgen_class.vm") |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
37 #end |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
38 #else |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
39 $LAYER.getStyle() |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
40 #end |
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
41 END |