Mercurial > gemma
annotate style-templates/sounding_differences.sld-template @ 5566:f1fb8c4f6587 v5.5.1
Release 5.5.1
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Mon, 07 Mar 2022 18:39:35 +0100 |
parents | ffa189c07334 |
children |
rev | line source |
---|---|
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
2 <StyledLayerDescriptor |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
3 xmlns="http://www.opengis.net/sld" |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
4 xmlns:se="http://www.opengis.net/se" |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
5 xmlns:ogc="http://www.opengis.net/ogc" |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
6 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
7 xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
8 version="1.1.0"> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
9 <NamedLayer> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
10 <se:Name>sounding_differences</se:Name> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
11 <UserStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
12 <se:Name>sounding_differences</se:Name> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
13 <se:FeatureTypeStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
14 <se:Name>differences</se:Name> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
15 <se:Description> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
16 <se:Abstract> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
17 FeatureTypeStyle defining colour classes for height attribute |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
18 </se:Abstract> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
19 </se:Description> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
20 {{ range . -}} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
21 <se:Rule> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
22 {{- if not .HasLow }} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
23 <se:Name>≤ {{ printf "%g" .High }}</se:Name> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
24 <ogc:Filter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
25 <ogc:PropertyIsLessThanOrEqualTo> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
26 <ogc:PropertyName>height</ogc:PropertyName> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
27 <ogc:Literal>{{ printf "%f" .High }}</ogc:Literal> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
28 </ogc:PropertyIsLessThanOrEqualTo> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
29 </ogc:Filter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
30 {{- else if not .HasHigh }} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
31 <se:Name>> {{ printf "%g" .Low }}</se:Name> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
32 <ogc:Filter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
33 <ogc:PropertyIsGreaterThanOrEqualTo> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
34 <ogc:PropertyName>height</ogc:PropertyName> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
35 <ogc:Literal>{{ printf "%f" .Low }}</ogc:Literal> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
36 </ogc:PropertyIsGreaterThanOrEqualTo> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
37 </ogc:Filter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
38 {{- else }} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
39 <se:Name>≤ {{ printf "%g" .High }}</se:Name> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
40 <ogc:Filter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
41 <ogc:And> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
42 <ogc:PropertyIsGreaterThan> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
43 <ogc:PropertyName>height</ogc:PropertyName> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
44 <ogc:Literal>{{ printf "%f" .Low }}</ogc:Literal> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
45 </ogc:PropertyIsGreaterThan> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
46 <ogc:PropertyIsLessThanOrEqualTo> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
47 <ogc:PropertyName>height</ogc:PropertyName> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
48 <ogc:Literal>{{ printf "%f" .High }}</ogc:Literal> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
49 </ogc:PropertyIsLessThanOrEqualTo> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
50 </ogc:And> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
51 </ogc:Filter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
52 {{- end }} |
4766
ffa189c07334
Remove border strokes from morph diff style at scale of 1:5000.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
4689
diff
changeset
|
53 <se:MaxScaleDenominator>5e3</se:MaxScaleDenominator> |
4594
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
54 <se:PolygonSymbolizer> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
55 <se:Fill> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
56 <se:SvgParameter name="fill">{{ .Color }}</se:SvgParameter> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
57 </se:Fill> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
58 <se:Stroke> |
4594
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
59 <se:SvgParameter name="stroke">#404040</se:SvgParameter> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
60 <se:SvgParameter name="stroke-width">0.5</se:SvgParameter> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
61 </se:Stroke> |
4594
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
62 </se:PolygonSymbolizer> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
63 </se:Rule> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
64 <se:Rule> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
65 {{- if not .HasLow }} |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
66 <se:Name>≤ {{ printf "%g" .High }}</se:Name> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
67 <ogc:Filter> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
68 <ogc:PropertyIsLessThanOrEqualTo> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
69 <ogc:PropertyName>height</ogc:PropertyName> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
70 <ogc:Literal>{{ printf "%f" .High }}</ogc:Literal> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
71 </ogc:PropertyIsLessThanOrEqualTo> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
72 </ogc:Filter> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
73 {{- else if not .HasHigh }} |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
74 <se:Name>> {{ printf "%g" .Low }}</se:Name> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
75 <ogc:Filter> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
76 <ogc:PropertyIsGreaterThanOrEqualTo> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
77 <ogc:PropertyName>height</ogc:PropertyName> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
78 <ogc:Literal>{{ printf "%f" .Low }}</ogc:Literal> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
79 </ogc:PropertyIsGreaterThanOrEqualTo> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
80 </ogc:Filter> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
81 {{- else }} |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
82 <se:Name>≤ {{ printf "%g" .High }}</se:Name> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
83 <ogc:Filter> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
84 <ogc:And> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
85 <ogc:PropertyIsGreaterThan> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
86 <ogc:PropertyName>height</ogc:PropertyName> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
87 <ogc:Literal>{{ printf "%f" .Low }}</ogc:Literal> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
88 </ogc:PropertyIsGreaterThan> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
89 <ogc:PropertyIsLessThanOrEqualTo> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
90 <ogc:PropertyName>height</ogc:PropertyName> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
91 <ogc:Literal>{{ printf "%f" .High }}</ogc:Literal> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
92 </ogc:PropertyIsLessThanOrEqualTo> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
93 </ogc:And> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
94 </ogc:Filter> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
95 {{- end }} |
4766
ffa189c07334
Remove border strokes from morph diff style at scale of 1:5000.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
4689
diff
changeset
|
96 <se:MinScaleDenominator>5e3</se:MinScaleDenominator> |
4594
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
97 <se:PolygonSymbolizer> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
98 <se:Fill> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
99 <se:SvgParameter name="fill">{{ .Color }}</se:SvgParameter> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
100 </se:Fill> |
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
101 </se:PolygonSymbolizer> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
102 </se:Rule> |
4626
a6e2607021e0
Added missing sortBy clause in difference style.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
4594
diff
changeset
|
103 <se:VendorOption name="sortBy">height</se:VendorOption> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
104 {{ end }} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
105 </se:FeatureTypeStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
106 <se:FeatureTypeStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
107 <se:Name>contour_lines_label</se:Name> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
108 <se:Description> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
109 <se:Abstract> |
4594
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
110 FeatureTypeStyle for labels at color areas |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
111 </se:Abstract> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
112 </se:Description> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
113 <se:Rule> |
4634
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
114 <se:MaxScaleDenominator>3e2</se:MaxScaleDenominator> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
115 <se:TextSymbolizer> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
116 <Halo></Halo> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
117 <se:VendorOption name="spaceAround">50</se:VendorOption> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
118 <se:Label> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
119 <ogc:Function name="Recode"> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
120 <ogc:Function name="numberFormat"> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
121 <ogc:Literal>0.000000</ogc:Literal> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
122 <ogc:PropertyName>height</ogc:PropertyName> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
123 </ogc:Function> |
4689
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
124 {{ range . -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
125 {{ if .HasHigh -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
126 <ogc:Literal> |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
127 {{- printf "%f" .High -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
128 </ogc:Literal><ogc:Literal> |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
129 {{- printf "%g" .High -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
130 </ogc:Literal> |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
131 {{ end -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
132 {{ end }} |
4634
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
133 </ogc:Function> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
134 </se:Label> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
135 <se:Font> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
136 <se:SvgParameter name="font-size">20</se:SvgParameter> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
137 <se:SvgParameter name="font-weight">bold</se:SvgParameter> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
138 <se:SvgParameter name="font-family">Sans Serif</se:SvgParameter> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
139 </se:Font> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
140 <se:LabelPlacement> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
141 <se:LinePlacement> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
142 <se:PerpendicularOffset>5</se:PerpendicularOffset> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
143 </se:LinePlacement> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
144 </se:LabelPlacement> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
145 <se:Fill> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
146 <se:SvgParameter name="fill">#000000</se:SvgParameter> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
147 </se:Fill> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
148 </se:TextSymbolizer> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
149 </se:Rule> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
150 <se:Rule> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
151 <se:MaxScaleDenominator>6e2</se:MaxScaleDenominator> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
152 <se:MinScaleDenominator>3e2</se:MinScaleDenominator> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
153 <se:TextSymbolizer> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
154 <Halo></Halo> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
155 <se:VendorOption name="spaceAround">50</se:VendorOption> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
156 <se:Label> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
157 <ogc:Function name="Recode"> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
158 <ogc:Function name="numberFormat"> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
159 <ogc:Literal>0.000000</ogc:Literal> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
160 <ogc:PropertyName>height</ogc:PropertyName> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
161 </ogc:Function> |
4689
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
162 {{ range . -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
163 {{ if .HasHigh -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
164 <ogc:Literal> |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
165 {{- printf "%f" .High -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
166 </ogc:Literal><ogc:Literal> |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
167 {{- printf "%g" .High -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
168 </ogc:Literal> |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
169 {{ end -}} |
1653b13e0db6
Updated sounding result wms styles to also reconfigure classbreak labels.
Raimund Renkert <raimund@renkert.org>
parents:
4634
diff
changeset
|
170 {{ end }} |
4634
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
171 </ogc:Function> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
172 </se:Label> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
173 <se:Font> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
174 <se:SvgParameter name="font-size">16</se:SvgParameter> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
175 <se:SvgParameter name="font-weight">bold</se:SvgParameter> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
176 <se:SvgParameter name="font-family">Sans Serif</se:SvgParameter> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
177 </se:Font> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
178 <se:LabelPlacement> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
179 <se:LinePlacement> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
180 <se:PerpendicularOffset>5</se:PerpendicularOffset> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
181 </se:LinePlacement> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
182 </se:LabelPlacement> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
183 <se:Fill> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
184 <se:SvgParameter name="fill">#000000</se:SvgParameter> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
185 </se:Fill> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
186 </se:TextSymbolizer> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
187 </se:Rule> |
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
188 <se:Rule> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
189 <se:MaxScaleDenominator>5e3</se:MaxScaleDenominator> |
4634
84c8a3f9a42a
Increase font size for morphologic data in WMS style.
Raimund Renkert <raimund@renkert.org>
parents:
4630
diff
changeset
|
190 <se:MinScaleDenominator>6e2</se:MinScaleDenominator> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
191 <se:TextSymbolizer> |
4630
60e096d52758
Styled wms labels for morphologic data to be more readable in PDF/Print.
Raimund Renkert <raimund@renkert.org>
parents:
4626
diff
changeset
|
192 <Halo></Halo> |
4594
db4e7fecad0d
Updated SLD templates for sounding results and differences.
Raimund Renkert <raimund@renkert.org>
parents:
4481
diff
changeset
|
193 <se:VendorOption name="spaceAround">50</se:VendorOption> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
194 <se:Label> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
195 <ogc:Function name="Recode"> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
196 <ogc:Function name="numberFormat"> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
197 <ogc:Literal>0.000000</ogc:Literal> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
198 <ogc:PropertyName>height</ogc:PropertyName> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
199 </ogc:Function> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
200 {{ range . -}} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
201 {{ if .HasHigh -}} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
202 <ogc:Literal> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
203 {{- printf "%f" .High -}} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
204 </ogc:Literal><ogc:Literal> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
205 {{- printf "%g" .High -}} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
206 </ogc:Literal> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
207 {{ end -}} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
208 {{ end }} |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
209 </ogc:Function> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
210 </se:Label> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
211 <se:Font> |
4630
60e096d52758
Styled wms labels for morphologic data to be more readable in PDF/Print.
Raimund Renkert <raimund@renkert.org>
parents:
4626
diff
changeset
|
212 <se:SvgParameter name="font-size">12</se:SvgParameter> |
60e096d52758
Styled wms labels for morphologic data to be more readable in PDF/Print.
Raimund Renkert <raimund@renkert.org>
parents:
4626
diff
changeset
|
213 <se:SvgParameter name="font-weight">bold</se:SvgParameter> |
60e096d52758
Styled wms labels for morphologic data to be more readable in PDF/Print.
Raimund Renkert <raimund@renkert.org>
parents:
4626
diff
changeset
|
214 <se:SvgParameter name="font-family">Sans Serif</se:SvgParameter> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
215 </se:Font> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
216 <se:LabelPlacement> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
217 <se:LinePlacement> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
218 <se:PerpendicularOffset>5</se:PerpendicularOffset> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
219 </se:LinePlacement> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
220 </se:LabelPlacement> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
221 <se:Fill> |
4630
60e096d52758
Styled wms labels for morphologic data to be more readable in PDF/Print.
Raimund Renkert <raimund@renkert.org>
parents:
4626
diff
changeset
|
222 <se:SvgParameter name="fill">#000000</se:SvgParameter> |
4481
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
223 </se:Fill> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
224 </se:TextSymbolizer> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
225 </se:Rule> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
226 </se:FeatureTypeStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
227 </UserStyle> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
228 </NamedLayer> |
43c52a2d4f17
Add style-templates for geoserver
Bernhard Reiter <bernhard@intevation.de>
parents:
diff
changeset
|
229 </StyledLayerDescriptor> |