annotate flys-artifacts/doc/conf/mapserver/riveraxis-layer.vm @ 4837:9e25c7523485

Fixed calculation of effective width in MINFO SQ relation. * Get all (including empty datasets) from db. * Filter empty datasets when processing data of the same date. * Added debug outputs.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Jan 2013 11:14:41 +0100 (2013-01-23)
parents 8062b571884d
children ad0990a82ab8
rev   line source
4633
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
1 LAYER
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
2 NAME "$LAYER.getName()"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
3 TYPE $LAYER.getType()
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
4
4738
d93748043cbc Little work on the RiverMapfileGenerator.
Christian Lins <christian.lins@intevation.de>
parents: 4702
diff changeset
5 INCLUDE "conf/dbconnection.include"
4633
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
6
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
7 DATA "$LAYER.getData()"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
8 FILTER "$LAYER.getFilter()"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
9 EXTENT $LAYER.getExtent()
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
10
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
11 STATUS ON
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
12 TEMPLATE map.html
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
13 TOLERANCE 10
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
14 DUMP TRUE
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
15 #if( $LAYER.getGroup() )
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
16 GROUP "$LAYER.getGroup()"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
17 #end
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
18
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
19 #if ( $LAYER.getLabelItem() )
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
20 LABELITEM $LAYER.getLabelItem()
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
21 #end
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
22
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
23 METADATA
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
24 "wms_title" "$LAYER.getTitle()"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
25 "gml_include_items" "all"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
26 #if ( $LAYER.getGroupTitle() )
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
27 "wms_group_title" "$LAYER.getGroupTitle()"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
28 #end
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
29 END
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
30
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
31 #if ( $LAYER.getStyle() )
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
32 $LAYER.getStyle()
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
33 #else
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
34 CLASS
4809
8062b571884d Bugs in generated RiverAxis Mapfile fixed. Now the river axes are drawn by the WMS.
Christian Lins <christian.lins@intevation.de>
parents: 4738
diff changeset
35 NAME "unnamedclass"
4633
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
36 STYLE
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
37 SIZE 5
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
38 OUTLINECOLOR "#000000"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
39 END
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
40 #if ( $LAYER.getLabelItem() )
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
41 LABEL
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
42 ANGLE auto
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
43 SIZE 10
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
44 COLOR "#000000"
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
45 TYPE truetype
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
46 FONT LiberationSans-Italic
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
47 POSITION ur
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
48 OFFSET 2 2
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
49 END
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
50 #end
4809
8062b571884d Bugs in generated RiverAxis Mapfile fixed. Now the river axes are drawn by the WMS.
Christian Lins <christian.lins@intevation.de>
parents: 4738
diff changeset
51
4633
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
52 END
4809
8062b571884d Bugs in generated RiverAxis Mapfile fixed. Now the river axes are drawn by the WMS.
Christian Lins <christian.lins@intevation.de>
parents: 4738
diff changeset
53 #end
4633
fc52ee878412 Preparations for autogenerated riveraxis WMSs.
Christian Lins <christian.lins@intevation.de>
parents:
diff changeset
54 END

http://dive4elements.wald.intevation.org