Project

General

Profile

« Previous | Next » 

Revision 3096

Added by perry about 18 years ago

restored original styles to knp-specific layers

View differences:

lib/spatial/geoserver/WEB-INF/catalog.xml
94 94
<style filename = "simpleRoads.sld" id = "simple_roads"  />
95 95
<style filename = "popshade.sld" id = "population"  />
96 96
<style filename = "Lakes.sld" id = "cite_lakes"  />
97
<style filename = "simpleRoads.sld" id = "krugerRoads"  />
97
<style filename = "knp_roads.sld" id = "knp_roads"  />
98
<style filename = "knp_soils.sld" id = "knp_soils"  />
98 99
<style filename = "default_polygon.sld" id = "defaultPolygon"  />
99 100
</styles>
100 101
</catalog>
lib/spatial/geoserver/data/featureTypes/kruger_soils_SOILS_VENTER/info.xml
13 13
the default style this FeatureTypeInfoDTO can be represented by.
14 14
at least must contain the "default" attribute 
15 15
-->
16
<styles default = "cite_lakes"  />
16
<styles default = "knp_soils"  />
17 17
</featureType>
lib/spatial/geoserver/data/featureTypes/kruger_roads_INFRA_ROADSPUBLIC_VIEW/info.xml
13 13
the default style this FeatureTypeInfoDTO can be represented by.
14 14
at least must contain the "default" attribute 
15 15
-->
16
<styles default = "krugerRoads"  />
16
<styles default = "knp_roads"  />
17 17
</featureType>
lib/spatial/geoserver/data/styles/knp_soils.sld
1
<?xml version="1.0" encoding="UTF-8"?>
2
<sld:StyledLayerDescriptor xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
3
    <sld:UserLayer>
4
        <sld:UserStyle>
5
            <sld:Name>Default Styler</sld:Name>
6
            <sld:Title>Default Styler</sld:Title>
7
            <sld:Abstract></sld:Abstract>
8
            <sld:FeatureTypeStyle>
9
                <sld:Name>name</sld:Name>
10
                <sld:Title>title</sld:Title>
11
                <sld:Abstract>abstract</sld:Abstract>
12
                <sld:FeatureTypeName>SOILS_VENTER</sld:FeatureTypeName>
13
                
14
                
15
                <sld:Rule>
16
                    <sld:Name>rule01</sld:Name>
17
                    <sld:Title>0 to 2</sld:Title>
18
                    <sld:Abstract>Abstract -- white</sld:Abstract>
19
                    <ogc:Filter>
20
                        <ogc:And>
21
                            <ogc:PropertyIsLessThanOrEqualTo>
22
                                <ogc:Literal>0</ogc:Literal>
23
                                <ogc:PropertyName>PRIMARY_</ogc:PropertyName>
24
                            </ogc:PropertyIsLessThanOrEqualTo>
25
                            <ogc:PropertyIsLessThan>
26
                                <ogc:PropertyName>PRIMARY_</ogc:PropertyName>
27
                                <ogc:Literal>2.5</ogc:Literal>
28
                            </ogc:PropertyIsLessThan>
29
                        </ogc:And>
30
                    </ogc:Filter>
31
                    <sld:MaxScaleDenominator>11.7976931348623157E308</sld:MaxScaleDenominator>
32
                    <sld:PolygonSymbolizer>
33
                        <sld:Fill>
34
                            <sld:CssParameter name="fill">
35
                                <ogc:Literal>#8F92C9</ogc:Literal>
36
                            </sld:CssParameter>
37
                            <sld:CssParameter name="fill-opacity">
38
                                <ogc:Literal>0.5</ogc:Literal>
39
                            </sld:CssParameter>
40
                        </sld:Fill>
41
                        <sld:Stroke>
42
                            <sld:CssParameter name="stroke">
43
                                <ogc:Literal>#8F92C9</ogc:Literal>
44
                            </sld:CssParameter>
45
                            <sld:CssParameter name="stroke-linecap">
46
                                <ogc:Literal>butt</ogc:Literal>
47
                            </sld:CssParameter>
48
                            <sld:CssParameter name="stroke-linejoin">
49
                                <ogc:Literal>miter</ogc:Literal>
50
                            </sld:CssParameter>
51
                            <sld:CssParameter name="stroke-opacity">
52
                                <ogc:Literal>0.5</ogc:Literal>
53
                            </sld:CssParameter>
54
                            <sld:CssParameter name="stroke-width">
55
                                <ogc:Literal>1</ogc:Literal>
56
                            </sld:CssParameter>
57
                            <sld:CssParameter name="stroke-dashoffset">
58
                                <ogc:Literal>0</ogc:Literal>
59
                            </sld:CssParameter>
60
                        </sld:Stroke>
61
                    </sld:PolygonSymbolizer>
62
                </sld:Rule>
63
                
64
                <sld:Rule>
65
                    <sld:Name>rule02</sld:Name>
66
                    <sld:Title>3 to 5</sld:Title>
67
                    <sld:Abstract>Abstract -- yellow</sld:Abstract>
68
                    <ogc:Filter>
69
                        <ogc:And>
70
                            <ogc:PropertyIsLessThanOrEqualTo>
71
                                <ogc:Literal>2.6</ogc:Literal>
72
                                <ogc:PropertyName>PRIMARY_</ogc:PropertyName>
73
                            </ogc:PropertyIsLessThanOrEqualTo>
74
                            <ogc:PropertyIsLessThan>
75
                                <ogc:PropertyName>PRIMARY_</ogc:PropertyName>
76
                                <ogc:Literal>4.5</ogc:Literal>
77
                            </ogc:PropertyIsLessThan>
78
                        </ogc:And>
79
                    </ogc:Filter>
80
                    <sld:MaxScaleDenominator>11.7976931348623157E308</sld:MaxScaleDenominator>
81
                    <sld:PolygonSymbolizer>
82
                        <sld:Fill>
83
                            <sld:CssParameter name="fill">
84
                                <ogc:Literal>#57C4C7</ogc:Literal>
85
                            </sld:CssParameter>
86
                            <sld:CssParameter name="fill-opacity">
87
                                <ogc:Literal>.5</ogc:Literal>
88
                            </sld:CssParameter>
89
                        </sld:Fill>
90
                        <sld:Stroke>
91
                            <sld:CssParameter name="stroke">
92
                                <ogc:Literal>#57C4C7</ogc:Literal>
93
                            </sld:CssParameter>
94
                            <sld:CssParameter name="stroke-linecap">
95
                                <ogc:Literal>butt</ogc:Literal>
96
                            </sld:CssParameter>
97
                            <sld:CssParameter name="stroke-linejoin">
98
                                <ogc:Literal>miter</ogc:Literal>
99
                            </sld:CssParameter>
100
                            <sld:CssParameter name="stroke-opacity">
101
                                <ogc:Literal>0.5</ogc:Literal>
102
                            </sld:CssParameter>
103
                            <sld:CssParameter name="stroke-width">
104
                                <ogc:Literal>1</ogc:Literal>
105
                            </sld:CssParameter>
106
                            <sld:CssParameter name="stroke-dashoffset">
107
                                <ogc:Literal>0</ogc:Literal>
108
                            </sld:CssParameter>
109
                        </sld:Stroke>
110
                    </sld:PolygonSymbolizer>
111
                </sld:Rule>
112

  
113
                
114
                <sld:Rule>
115
                    <sld:Name>rule03</sld:Name>
116
                    <sld:Title>6 to 9</sld:Title>
117
                    <sld:Abstract>Abstract -- blue </sld:Abstract>
118
                    <ogc:Filter>
119
                        <ogc:And>
120
                            <ogc:PropertyIsLessThanOrEqualTo>
121
                                <ogc:Literal>4.6</ogc:Literal>
122
                                <ogc:PropertyName>PRIMARY_</ogc:PropertyName>
123
                            </ogc:PropertyIsLessThanOrEqualTo>
124
                            <ogc:PropertyIsLessThan>
125
                                <ogc:PropertyName>PRIMARY_</ogc:PropertyName>
126
                                <ogc:Literal>5.5</ogc:Literal>
127
                            </ogc:PropertyIsLessThan>
128
                        </ogc:And>
129
                    </ogc:Filter>
130
                    <sld:MaxScaleDenominator>11.7976931348623157E308</sld:MaxScaleDenominator>
131
                    <sld:PolygonSymbolizer>
132
                        <sld:Fill>
133
                            <sld:CssParameter name="fill">
134
                                <ogc:Literal>#AEC5E5</ogc:Literal>
135
                            </sld:CssParameter>
136
                            <sld:CssParameter name="fill-opacity">
137
                                <ogc:Literal>.5</ogc:Literal>
138
                            </sld:CssParameter>
139
                        </sld:Fill>
140
                        <sld:Stroke>
141
                            <sld:CssParameter name="stroke">
142
                                <ogc:Literal>#AEC5E5</ogc:Literal>
143
                            </sld:CssParameter>
144
                            <sld:CssParameter name="stroke-linecap">
145
                                <ogc:Literal>butt</ogc:Literal>
146
                            </sld:CssParameter>
147
                            <sld:CssParameter name="stroke-linejoin">
148
                                <ogc:Literal>miter</ogc:Literal>
149
                            </sld:CssParameter>
150
                            <sld:CssParameter name="stroke-opacity">
151
                                <ogc:Literal>0.5</ogc:Literal>
152
                            </sld:CssParameter>
153
                            <sld:CssParameter name="stroke-width">
154
                                <ogc:Literal>1</ogc:Literal>
155
                            </sld:CssParameter>
156
                            <sld:CssParameter name="stroke-dashoffset">
157
                                <ogc:Literal>0</ogc:Literal>
158
                            </sld:CssParameter>
159
                        </sld:Stroke>
160
                    </sld:PolygonSymbolizer>
161
                </sld:Rule>
162
                
163
                <sld:Rule>
164
                    <sld:Name>rule04</sld:Name>
165
                    <sld:Title>6 to 9</sld:Title>
166
                    <sld:Abstract>Abstract -- blue </sld:Abstract>
167
                    <ogc:Filter>
168
                        <ogc:And>
169
                            <ogc:PropertyIsLessThanOrEqualTo>
170
                                <ogc:Literal>5.6</ogc:Literal>
171
                                <ogc:PropertyName>PRIMARY_</ogc:PropertyName>
172
                            </ogc:PropertyIsLessThanOrEqualTo>
173
                            <ogc:PropertyIsLessThan>
174
                                <ogc:PropertyName>PRIMARY_</ogc:PropertyName>
175
                                <ogc:Literal>19</ogc:Literal>
176
                            </ogc:PropertyIsLessThan>
177
                        </ogc:And>
178
                    </ogc:Filter>
179
                    <sld:MaxScaleDenominator>11.7976931348623157E308</sld:MaxScaleDenominator>
180
                    <sld:PolygonSymbolizer>
181
                        <sld:Fill>
182
                            <sld:CssParameter name="fill">
183
                                <ogc:Literal>#F9A870</ogc:Literal>
184
                            </sld:CssParameter>
185
                            <sld:CssParameter name="fill-opacity">
186
                                <ogc:Literal>.5</ogc:Literal>
187
                            </sld:CssParameter>
188
                        </sld:Fill>
189
                        <sld:Stroke>
190
                            <sld:CssParameter name="stroke">
191
                                <ogc:Literal>#F9A870</ogc:Literal>
192
                            </sld:CssParameter>
193
                            <sld:CssParameter name="stroke-linecap">
194
                                <ogc:Literal>butt</ogc:Literal>
195
                            </sld:CssParameter>
196
                            <sld:CssParameter name="stroke-linejoin">
197
                                <ogc:Literal>miter</ogc:Literal>
198
                            </sld:CssParameter>
199
                            <sld:CssParameter name="stroke-opacity">
200
                                <ogc:Literal>.5</ogc:Literal>
201
                            </sld:CssParameter>
202
                            <sld:CssParameter name="stroke-width">
203
                                <ogc:Literal>1</ogc:Literal>
204
                            </sld:CssParameter>
205
                            <sld:CssParameter name="stroke-dashoffset">
206
                                <ogc:Literal>0</ogc:Literal>
207
                            </sld:CssParameter>
208
                        </sld:Stroke>
209
                    </sld:PolygonSymbolizer>
210
                </sld:Rule>
211

  
212

  
213

  
214
            </sld:FeatureTypeStyle>
215
        </sld:UserStyle>
216
    </sld:UserLayer>
217
</sld:StyledLayerDescriptor>
218

  
0 219

  
lib/spatial/geoserver/data/styles/knp_roads.sld
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><Name>Simple Roads</Name>
9
	<UserStyle>
10
		
11
		<Title>Default Styler for simple road segments</Title>
12
		<Abstract></Abstract>
13
		<FeatureTypeStyle>
14
			<FeatureTypeName>Feature</FeatureTypeName>
15
			<Rule>
16
				<Name>simple roads</Name>
17
				<Title>Simple road segments</Title>
18
				<LineSymbolizer>
19
					<Stroke>
20
						<CssParameter name="stroke">
21
							<ogc:Literal>#CC0033</ogc:Literal>
22
						</CssParameter>
23
						<CssParameter name="stroke-width">
24
							<ogc:Literal>.5</ogc:Literal>
25
						</CssParameter>
26
					</Stroke>
27
				</LineSymbolizer>
28
			</Rule>
29
		</FeatureTypeStyle>
30
	</UserStyle>
31
	</NamedLayer>
32
</StyledLayerDescriptor>
0 33

  

Also available in: Unified diff