annotate artifacts/doc/conf/mapserver/wsplgen_class.vm @ 6665:b7945db8a43b

issue1413: Only show unknown sediment loads of selected unit type. Therefore, adjusted the factory to take the units name. Unfortunately, names in db do not match values of data items. Thus do manual replacing. In Facet and Calculate, take the chosen unit via access and to the string replacement. In Facet, do not transform data (we assume it comes in unit as labeled in the db), and removed the possibility of m3/a-data of unknown yields in a t/a diagram and vice versa.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 25 Jul 2013 15:08:13 +0200
parents 5aa05a7a34b7
children
rev   line source
1135
c8c753931514 Added a fallback mechanism to style mapserver layers as long as the theme mechanism is not implemented for maps (as it is for charts).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 CLASS
1710
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
2 NAME "0.0 <= DIFF < 1"
1166
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
3 EXPRESSION ([DIFF] < 1)
1135
c8c753931514 Added a fallback mechanism to style mapserver layers as long as the theme mechanism is not implemented for maps (as it is for charts).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
4 STYLE
c8c753931514 Added a fallback mechanism to style mapserver layers as long as the theme mechanism is not implemented for maps (as it is for charts).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
5 SIZE 5
c8c753931514 Added a fallback mechanism to style mapserver layers as long as the theme mechanism is not implemented for maps (as it is for charts).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
6 COLOR "#B2C9D7"
c8c753931514 Added a fallback mechanism to style mapserver layers as long as the theme mechanism is not implemented for maps (as it is for charts).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
7 END
c8c753931514 Added a fallback mechanism to style mapserver layers as long as the theme mechanism is not implemented for maps (as it is for charts).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
8 END
1166
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
9
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
10 CLASS
1710
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
11 NAME "1.0 <= DIFF < 2"
1166
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
12 EXPRESSION ([DIFF] >= 1 AND [DIFF] < 2)
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
13 STYLE
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
14 SIZE 5
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
15 COLOR "#6F93AA"
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
16 END
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
17 END
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
18
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
19 CLASS
1710
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
20 NAME "2.0 <= DIFF < 3"
1166
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
21 EXPRESSION ([DIFF] >= 2 AND [DIFF] < 3)
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
22 STYLE
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
23 SIZE 5
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
24 COLOR "#426F8B"
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
25 END
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
26 END
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
27
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
28 CLASS
1710
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
29 NAME "3.0 <= DIFF < 4"
1166
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
30 EXPRESSION ([DIFF] >= 3 AND [DIFF] < 4)
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
31 STYLE
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
32 SIZE 5
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
33 COLOR "#214F6C"
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
34 END
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
35 END
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
36
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
37 CLASS
1710
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
38 NAME "Sonstiges"
055f32a5388a Improved the mapfile templates to create nicer GetLegendGraphic images.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1166
diff changeset
39 EXPRESSION ([DIFF] >= 4)
1166
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
40 STYLE
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
41 SIZE 5
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
42 COLOR "#021B2A"
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
43 END
865ee1e19c62 Improved styling (mapserver style) of WSPLGEN result shape.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1135
diff changeset
44 END

http://dive4elements.wald.intevation.org