Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/mapserver/shapefile_layer.vm @ 3468:f37e7e8907cb
merged flys-artifacts/2.8.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:39 +0200 |
parents | 0795c296f718 |
children | cfc5540a4eec |
comparison
equal
deleted
inserted
replaced
3387:5ffad8bde8ad | 3468:f37e7e8907cb |
---|---|
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 | |
13 PROJECTION | |
14 "init=epsg:$LAYER.getSrid()" | |
15 END | |
16 | |
17 METADATA | |
18 "wms_title" "$LAYER.getTitle()" | |
19 "gml_include_items" "all" | |
20 #if ( $LAYER.getGroupTitle() ) | |
21 "wms_group_title" "$LAYER.getGroupTitle()" | |
22 #end | |
23 END | |
24 | |
25 #if ( !$LAYER.getStyle() ) | |
26 #if ( $LAYER.getGroupTitle() ) | |
27 #if ( $LAYER.getType() == "POLYGON" ) | |
28 #include("barrier_polygons_class.vm") | |
29 #else | |
30 #include("barrier_lines_class.vm") | |
31 #end | |
32 #else | |
33 #include("wsplgen_class.vm") | |
34 #end | |
35 #else | |
36 $LAYER.getStyle() | |
37 #end | |
38 END |