Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/mapserver/shapefile_layer.vm @ 1775:0156105222c9
Improved the MapfileGenerator. It offers methods to create barrier and wsplgen layer files for mapserver.
flys-artifacts/trunk@3097 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 28 Oct 2011 08:36:32 +0000 |
parents | |
children | 0795c296f718 |
comparison
equal
deleted
inserted
replaced
1774:092e1e5020bc | 1775:0156105222c9 |
---|---|
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 METADATA | |
14 "wms_title" "$LAYER.getTitle()" | |
15 "gml_include_items" "all" | |
16 #if ( $LAYER.getGroupTitle() ) | |
17 "wms_group_title" "$LAYER.getGroupTitle()" | |
18 #end | |
19 END | |
20 | |
21 #if ( !$LAYER.getStyle() ) | |
22 #if ( $LAYER.getGroupTitle() ) | |
23 #if ( $LAYER.getType() == "POLYGON" ) | |
24 #include("barrier_polygons_class.vm") | |
25 #else | |
26 #include("barrier_lines_class.vm") | |
27 #end | |
28 #else | |
29 #include("wsplgen_class.vm") | |
30 #end | |
31 #else | |
32 $LAYER.getStyle() | |
33 #end | |
34 END |