annotate artifacts/doc/conf/mapserver/wsplgen_class.vm @ 8730:cb33de3434a8

(issue1754) Proper subtitle handling for Radius This deduplicates the subtitle and zoom / radius calculation code by moving it out of the processors. Doing this fixes cases where the subtitle would be removed when a the according filtered facet was removed although it should still have shown the Range for example. Range is now also added as a subtitle for the difference diagrams. This adds some tasty hack (with cheese) to determine wether or not the user has set the subtitle. See the comment in getChartSubtitlePure in LongitudinalSectionGenerator2 for details.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 30 Apr 2015 13:06:51 +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