Mercurial > dive4elements > river
annotate artifacts/doc/conf/mapserver/wsplgen_layer.vm @ 6609:6d55614d6f87
Change artifact database v param to be type TEXT
This is neccessary for large theme lists for example in the
map. The 256 chars limit could easily be overtaken.
I am using this for quite some time now and the upcoming version
appears to be a good place to test this.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 18 Jul 2013 17:53:11 +0200 |
parents | 5aa05a7a34b7 |
children | 1a4df065de26 |
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 |