Mercurial > dive4elements > river
annotate artifacts/doc/conf/mapserver/wsplgen_class.vm @ 8472:3f505fba522f
(issue1772) Use 0.001km tolarance instead of 0.1 to find matching km.
There is no sense to use a define here. I will not write
static final double NULLPOINTNULLNULLONE=0.001 if i just want to use that
value and not any other value which may make sense in some other place.
Using hardcoded values can have its merits and makes the code easier to
read.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 18 Nov 2014 15:24:40 +0100 |
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 |