Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/mapserver/wsplgen_layer.vm @ 4740:fb135e1dfa35
Added 'type' attribute to <dc:variable/> element. If an optional 'type' attribute is given
the result of the XPATH expression is interpreted as this type.
Valid values are 'number', 'bool', 'node' and 'nodeset'. All other defaults
to 'string' which also is the default if nor type is given.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 02 Jan 2013 15:31:53 +0100 |
parents | 0795c296f718 |
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" | |
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 |