Skip to content

Commit a8571e7

Browse files
committed
add missing styles of geoserver for the workspace noisecapture
1 parent 961c218 commit a8571e7

File tree

4 files changed

+318
-0
lines changed

4 files changed

+318
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<StyledLayerDescriptor version="1.0.0"
3+
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
4+
xmlns="http://www.opengis.net/sld"
5+
xmlns:ogc="http://www.opengis.net/ogc"
6+
xmlns:xlink="http://www.w3.org/1999/xlink"
7+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8+
<NamedLayer>
9+
<Name>noise-levels</Name>
10+
<UserStyle>
11+
<Title>Noise classification by levels</Title>
12+
<Abstract>To be complete</Abstract>
13+
<FeatureTypeStyle>
14+
<Rule>
15+
<Name>rule01</Name>
16+
17+
<Title>0..45</Title>
18+
<MaxScaleDenominator>50000</MaxScaleDenominator>
19+
<PointSymbolizer>
20+
<Graphic>
21+
<Mark>
22+
<WellKnownName>circle</WellKnownName>
23+
<Fill>
24+
<CssParameter name="fill">#000000</CssParameter>
25+
</Fill>
26+
</Mark>
27+
<Size>6</Size>
28+
</Graphic>
29+
</PointSymbolizer>
30+
</Rule>
31+
</FeatureTypeStyle>
32+
</UserStyle>
33+
</NamedLayer>
34+
</StyledLayerDescriptor>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<style>
2+
<id>StyleInfoImpl--6747c6ae:16a784acb7d:-18bf</id>
3+
<name>noisecapture_points_party</name>
4+
<format>sld</format>
5+
<languageVersion>
6+
<version>1.0.0</version>
7+
</languageVersion>
8+
<filename>noisecapture_points_party.sld</filename>
9+
</style>
Lines changed: 266 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,266 @@
1+
<?xml version="1.0" encoding="windows-1252"?>
2+
<StyledLayerDescriptor version="1.0.0"
3+
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
4+
xmlns="http://www.opengis.net/sld"
5+
xmlns:ogc="http://www.opengis.net/ogc"
6+
xmlns:xlink="http://www.w3.org/1999/xlink"
7+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8+
<NamedLayer>
9+
<Name>vol_stacked_point</Name>
10+
<UserStyle>
11+
<!-- Styles can have names, titles and abstracts -->
12+
<Title>Stacked Point</Title>
13+
<Abstract>Styles NoiseCapture measurement points using stacked points</Abstract>
14+
<FeatureTypeStyle>
15+
<Transformation>
16+
<ogc:Function name="gs:PointStacker">
17+
<ogc:Function name="parameter">
18+
<ogc:Literal>data</ogc:Literal>
19+
</ogc:Function>
20+
<ogc:Function name="parameter">
21+
<ogc:Literal>cellSize</ogc:Literal>
22+
<ogc:Literal>100</ogc:Literal>
23+
</ogc:Function>
24+
<ogc:Function name="parameter">
25+
<ogc:Literal>outputBBOX</ogc:Literal>
26+
<ogc:Function name="env">
27+
<ogc:Literal>wms_bbox</ogc:Literal>
28+
</ogc:Function>
29+
</ogc:Function>
30+
<ogc:Function name="parameter">
31+
<ogc:Literal>outputWidth</ogc:Literal>
32+
<ogc:Function name="env">
33+
<ogc:Literal>wms_width</ogc:Literal>
34+
</ogc:Function>
35+
</ogc:Function>
36+
<ogc:Function name="parameter">
37+
<ogc:Literal>outputHeight</ogc:Literal>
38+
<ogc:Function name="env">
39+
<ogc:Literal>wms_height</ogc:Literal>
40+
</ogc:Function>
41+
</ogc:Function>
42+
</ogc:Function>
43+
</Transformation>
44+
<Rule>
45+
<Name>rule1</Name>
46+
<Title>1-5000 points</Title>
47+
<ogc:Filter>
48+
<ogc:PropertyIsBetween>
49+
<ogc:PropertyName>count</ogc:PropertyName>
50+
<ogc:LowerBoundary>
51+
<ogc:Literal>1</ogc:Literal>
52+
</ogc:LowerBoundary>
53+
<ogc:UpperBoundary>
54+
<ogc:Literal>5000</ogc:Literal>
55+
</ogc:UpperBoundary>
56+
</ogc:PropertyIsBetween>
57+
</ogc:Filter>
58+
<PointSymbolizer>
59+
<Graphic>
60+
<Mark>
61+
<WellKnownName>circle</WellKnownName>
62+
<Fill>
63+
<CssParameter name="fill">#1D78f7</CssParameter>
64+
<CssParameter name="fill-opacity">0.7</CssParameter>
65+
</Fill>
66+
</Mark>
67+
<Size>30</Size>
68+
</Graphic>
69+
</PointSymbolizer>
70+
<TextSymbolizer>
71+
<Label>
72+
<ogc:PropertyName>count</ogc:PropertyName>
73+
</Label>
74+
<Font>
75+
<CssParameter name="font-family">Arial</CssParameter>
76+
<CssParameter name="font-size">12</CssParameter>
77+
<CssParameter name="font-weight">bold</CssParameter>
78+
</Font>
79+
<LabelPlacement>
80+
<PointPlacement>
81+
<AnchorPoint>
82+
<AnchorPointX>0.5</AnchorPointX>
83+
<AnchorPointY>0.8</AnchorPointY>
84+
</AnchorPoint>
85+
</PointPlacement>
86+
</LabelPlacement>
87+
<Halo>
88+
<Radius>2</Radius>
89+
<Fill>
90+
<CssParameter name="fill">#1D78f7</CssParameter>
91+
<CssParameter name="fill-opacity">0.5</CssParameter>
92+
</Fill>
93+
</Halo>
94+
<Fill>
95+
<CssParameter name="fill">#FFFFFF</CssParameter>
96+
<CssParameter name="fill-opacity">1.0</CssParameter>
97+
</Fill>
98+
</TextSymbolizer>
99+
</Rule>
100+
<Rule>
101+
<Name>rule2</Name>
102+
<Title>5000-10000 points</Title>
103+
<ogc:Filter>
104+
<ogc:PropertyIsBetween>
105+
<ogc:PropertyName>count</ogc:PropertyName>
106+
<ogc:LowerBoundary>
107+
<ogc:Literal>5000</ogc:Literal>
108+
</ogc:LowerBoundary>
109+
<ogc:UpperBoundary>
110+
<ogc:Literal>10000</ogc:Literal>
111+
</ogc:UpperBoundary>
112+
</ogc:PropertyIsBetween>
113+
</ogc:Filter>
114+
<PointSymbolizer>
115+
<Graphic>
116+
<Mark>
117+
<WellKnownName>circle</WellKnownName>
118+
<Fill>
119+
<CssParameter name="fill">#1D78f7</CssParameter>
120+
<CssParameter name="fill-opacity">0.7</CssParameter>
121+
</Fill>
122+
</Mark>
123+
<Size>45</Size>
124+
</Graphic>
125+
</PointSymbolizer>
126+
<TextSymbolizer>
127+
<Label>
128+
<ogc:PropertyName>count</ogc:PropertyName>
129+
</Label>
130+
<Font>
131+
<CssParameter name="font-family">Arial</CssParameter>
132+
<CssParameter name="font-size">12</CssParameter>
133+
<CssParameter name="font-weight">bold</CssParameter>
134+
</Font>
135+
<LabelPlacement>
136+
<PointPlacement>
137+
<AnchorPoint>
138+
<AnchorPointX>0.5</AnchorPointX>
139+
<AnchorPointY>0.8</AnchorPointY>
140+
</AnchorPoint>
141+
</PointPlacement>
142+
</LabelPlacement>
143+
<Halo>
144+
<Radius>2</Radius>
145+
<Fill>
146+
<CssParameter name="fill">#1D78f7</CssParameter>
147+
<CssParameter name="fill-opacity">0.5</CssParameter>
148+
</Fill>
149+
</Halo>
150+
<Fill>
151+
<CssParameter name="fill">#FFFFFF</CssParameter>
152+
<CssParameter name="fill-opacity">1.0</CssParameter>
153+
</Fill>
154+
</TextSymbolizer>
155+
</Rule>
156+
<Rule>
157+
<Name>rule3</Name>
158+
<Title>10000-20000 points</Title>
159+
<ogc:Filter>
160+
<ogc:PropertyIsBetween>
161+
<ogc:PropertyName>count</ogc:PropertyName>
162+
<ogc:LowerBoundary>
163+
<ogc:Literal>10000</ogc:Literal>
164+
</ogc:LowerBoundary>
165+
<ogc:UpperBoundary>
166+
<ogc:Literal>20000</ogc:Literal>
167+
</ogc:UpperBoundary>
168+
</ogc:PropertyIsBetween>
169+
</ogc:Filter>
170+
<PointSymbolizer>
171+
<Graphic>
172+
<Mark>
173+
<WellKnownName>circle</WellKnownName>
174+
<Fill>
175+
<CssParameter name="fill">#1D78f7</CssParameter>
176+
<CssParameter name="fill-opacity">0.7</CssParameter>
177+
</Fill>
178+
</Mark>
179+
<Size>55</Size>
180+
</Graphic>
181+
</PointSymbolizer>
182+
<TextSymbolizer>
183+
<Label>
184+
<ogc:PropertyName>count</ogc:PropertyName>
185+
</Label>
186+
<Font>
187+
<CssParameter name="font-family">Arial</CssParameter>
188+
<CssParameter name="font-size">12</CssParameter>
189+
<CssParameter name="font-weight">bold</CssParameter>
190+
</Font>
191+
<LabelPlacement>
192+
<PointPlacement>
193+
<AnchorPoint>
194+
<AnchorPointX>0.5</AnchorPointX>
195+
<AnchorPointY>0.8</AnchorPointY>
196+
</AnchorPoint>
197+
</PointPlacement>
198+
</LabelPlacement>
199+
<Halo>
200+
<Radius>2</Radius>
201+
<Fill>
202+
<CssParameter name="fill">#1D78f7</CssParameter>
203+
<CssParameter name="fill-opacity">0.5</CssParameter>
204+
</Fill>
205+
</Halo>
206+
<Fill>
207+
<CssParameter name="fill">#FFFFFF</CssParameter>
208+
<CssParameter name="fill-opacity">1.0</CssParameter>
209+
</Fill>
210+
</TextSymbolizer>
211+
</Rule>
212+
<Rule>
213+
<Name>rule4</Name>
214+
<Title>More than 20000 points</Title>
215+
<ogc:Filter>
216+
<ogc:PropertyIsGreaterThan>
217+
<ogc:PropertyName>count</ogc:PropertyName>
218+
<ogc:Literal>20000</ogc:Literal>
219+
</ogc:PropertyIsGreaterThan>
220+
</ogc:Filter>
221+
<PointSymbolizer>
222+
<Graphic>
223+
<Mark>
224+
<WellKnownName>circle</WellKnownName>
225+
<Fill>
226+
<CssParameter name="fill">#1D78f7</CssParameter>
227+
<CssParameter name="fill-opacity">0.7</CssParameter>
228+
</Fill>
229+
</Mark>
230+
<Size>65</Size>
231+
</Graphic>
232+
</PointSymbolizer>
233+
<TextSymbolizer>
234+
<Label>
235+
<ogc:PropertyName>count</ogc:PropertyName>
236+
</Label>
237+
<Font>
238+
<CssParameter name="font-family">Arial</CssParameter>
239+
<CssParameter name="font-size">12</CssParameter>
240+
<CssParameter name="font-weight">bold</CssParameter>
241+
</Font>
242+
<LabelPlacement>
243+
<PointPlacement>
244+
<AnchorPoint>
245+
<AnchorPointX>0.5</AnchorPointX>
246+
<AnchorPointY>0.8</AnchorPointY>
247+
</AnchorPoint>
248+
</PointPlacement>
249+
</LabelPlacement>
250+
<Halo>
251+
<Radius>2</Radius>
252+
<Fill>
253+
<CssParameter name="fill">#1D78f7</CssParameter>
254+
<CssParameter name="fill-opacity">0.5</CssParameter>
255+
</Fill>
256+
</Halo>
257+
<Fill>
258+
<CssParameter name="fill">#FFFFFF</CssParameter>
259+
<CssParameter name="fill-opacity">1.0</CssParameter>
260+
</Fill>
261+
</TextSymbolizer>
262+
</Rule>
263+
</FeatureTypeStyle>
264+
</UserStyle>
265+
</NamedLayer>
266+
</StyledLayerDescriptor>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<style>
2+
<id>StyleInfoImpl--6747c6ae:16a784acb7d:-18c0</id>
3+
<name>noisecapture_points_pointStacker</name>
4+
<format>sld</format>
5+
<languageVersion>
6+
<version>1.0.0</version>
7+
</languageVersion>
8+
<filename>noisecapture_points_pointStacker.sld</filename>
9+
</style>

0 commit comments

Comments
 (0)