root / trunk / libraries / libFMap / xsd / Symbol.xsd @ 2183
History | View | Annotate | Download (22.8 KB)
1 |
<?xml version="1.0" encoding="UTF-8"?> |
---|---|
2 |
<xsd:schema targetNamespace="http://www.opengis.net/sld" |
3 |
xmlns:sld="http://www.opengis.net/sld" |
4 |
xmlns:ogc="http://www.opengis.net/ogc" |
5 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
6 |
elementFormDefault="qualified"> |
7 |
<xsd:include schemaLocation="common.xsd"/> |
8 |
<xsd:import namespace="http://www.opengis.net/ogc" |
9 |
schemaLocation="../../filter/1.0.0/filter.xsd"/> |
10 |
|
11 |
<!-- *********************************************************************** --> |
12 |
<xsd:annotation> |
13 |
<xsd:documentation> |
14 |
SLD SYMBOL version 1.0.20 (2002-09-21) |
15 |
</xsd:documentation> |
16 |
</xsd:annotation> |
17 |
|
18 |
<xsd:element name="Symbol" type="sld:SymbolType" abstract="true"/> |
19 |
|
20 |
<xsd:complexType name="SymbolType" abstract="true"> |
21 |
<xsd:annotation> |
22 |
<xsd:documentation> |
23 |
A "SymbolType" is an abstract type for encoding the graphical |
24 |
properties used to portray geographic information. Concrete symbol |
25 |
types are derived from this base type. |
26 |
</xsd:documentation> |
27 |
</xsd:annotation> |
28 |
<xsd:sequence> |
29 |
<xsd:element ref="sld:Name" minOccurs="0"/> |
30 |
<xsd:element ref="sld:Description" minOccurs="0"/> |
31 |
<xsd:element ref="sld:BaseSymbol" minOccurs="0"/> |
32 |
</xsd:sequence> |
33 |
<xsd:attribute name="version" type="sld:VersionType"/> |
34 |
</xsd:complexType> |
35 |
|
36 |
<xsd:element name="BaseSymbol"> |
37 |
<xsd:annotation> |
38 |
<xsd:documentation> |
39 |
A "BaseSymbol" defines the default properties of a symbol to |
40 |
be those of an external symbol, which will frequently be inside |
41 |
of an OGC symbol(izer) repository. The symbol properties given |
42 |
in-line override the base-symbol properties. |
43 |
</xsd:documentation> |
44 |
</xsd:annotation> |
45 |
<xsd:complexType> |
46 |
<xsd:sequence> |
47 |
<xsd:element ref="sld:OnlineResource"/> |
48 |
</xsd:sequence> |
49 |
</xsd:complexType> |
50 |
</xsd:element> |
51 |
|
52 |
<!-- *********************************************************************** --> |
53 |
<xsd:annotation> |
54 |
<xsd:documentation> |
55 |
LINE SYMBOL |
56 |
</xsd:documentation> |
57 |
</xsd:annotation> |
58 |
|
59 |
<xsd:element name="LineSymbol" substitutionGroup="sld:Symbol"> |
60 |
<xsd:annotation> |
61 |
<xsd:documentation> |
62 |
A LineSymbol is used to render a "stroke" along a linear geometry. |
63 |
</xsd:documentation> |
64 |
</xsd:annotation> |
65 |
<xsd:complexType> |
66 |
<xsd:complexContent> |
67 |
<xsd:extension base="sld:SymbolType"> |
68 |
<xsd:sequence> |
69 |
<xsd:element ref="sld:Geometry" minOccurs="0"/> |
70 |
<xsd:element ref="sld:Stroke" minOccurs="0"/> |
71 |
</xsd:sequence> |
72 |
</xsd:extension> |
73 |
</xsd:complexContent> |
74 |
</xsd:complexType> |
75 |
</xsd:element> |
76 |
|
77 |
<xsd:element name="Geometry"> |
78 |
<xsd:annotation> |
79 |
<xsd:documentation> |
80 |
A Geometry gives reference to a (the) geometry property of a |
81 |
feature to be used for rendering. |
82 |
</xsd:documentation> |
83 |
</xsd:annotation> |
84 |
<xsd:complexType> |
85 |
<xsd:sequence> |
86 |
<xsd:element ref="ogc:PropertyName"/> |
87 |
</xsd:sequence> |
88 |
</xsd:complexType> |
89 |
</xsd:element> |
90 |
|
91 |
<xsd:element name="Stroke"> |
92 |
<xsd:annotation> |
93 |
<xsd:documentation> |
94 |
A "Stroke" specifies the appearance of a linear geometry. It is |
95 |
defined in parallel with SVG strokes. The following SvgParameters |
96 |
may be used: "stroke" (color), "stroke-opacity", "stroke-width", |
97 |
"stroke-linejoin", "stroke-linecap", "stroke-dasharray", and |
98 |
"stroke-dashoffset". Others are not officially supported. |
99 |
</xsd:documentation> |
100 |
</xsd:annotation> |
101 |
<xsd:complexType> |
102 |
<xsd:sequence> |
103 |
<xsd:choice minOccurs="0"> |
104 |
<xsd:element ref="sld:GraphicFill"/> |
105 |
<xsd:element ref="sld:GraphicStroke"/> |
106 |
</xsd:choice> |
107 |
<xsd:element ref="sld:SvgParameter" minOccurs="0" |
108 |
maxOccurs="unbounded"/> |
109 |
</xsd:sequence> |
110 |
</xsd:complexType> |
111 |
</xsd:element> |
112 |
|
113 |
<xsd:element name="SvgParameter"> |
114 |
<xsd:annotation> |
115 |
<xsd:documentation> |
116 |
A "SvgParameter" refers to an SVG/CSS graphical-formatting |
117 |
parameter. The parameter is identified using the "name" attribute |
118 |
and the content of the element gives the SVG/CSS-coded value. |
119 |
</xsd:documentation> |
120 |
</xsd:annotation> |
121 |
<xsd:complexType mixed="true"> |
122 |
<xsd:complexContent> |
123 |
<xsd:extension base="sld:ParameterValueType"> |
124 |
<xsd:attribute name="name" type="xsd:string" use="required"/> |
125 |
</xsd:extension> |
126 |
</xsd:complexContent> |
127 |
</xsd:complexType> |
128 |
</xsd:element> |
129 |
|
130 |
<xsd:complexType name="ParameterValueType" mixed="true"> |
131 |
<xsd:annotation> |
132 |
<xsd:documentation> |
133 |
The "ParameterValueType" uses WFS-Filter expressions to give |
134 |
values for SLD graphic parameters. A "mixed" element-content |
135 |
model is used with textual substitution for values. |
136 |
</xsd:documentation> |
137 |
</xsd:annotation> |
138 |
<xsd:sequence minOccurs="0" maxOccurs="unbounded"> |
139 |
<xsd:element ref="ogc:expression"/> |
140 |
</xsd:sequence> |
141 |
</xsd:complexType> |
142 |
|
143 |
<xsd:element name="GraphicFill"> |
144 |
<xsd:annotation> |
145 |
<xsd:documentation> |
146 |
A "GraphicFill" defines repeated-graphic filling (stippling) |
147 |
pattern for an area geometry. |
148 |
</xsd:documentation> |
149 |
</xsd:annotation> |
150 |
<xsd:complexType> |
151 |
<xsd:sequence> |
152 |
<xsd:element ref="sld:Graphic"/> |
153 |
</xsd:sequence> |
154 |
</xsd:complexType> |
155 |
</xsd:element> |
156 |
|
157 |
<xsd:element name="GraphicStroke"> |
158 |
<xsd:annotation> |
159 |
<xsd:documentation> |
160 |
A "GraphicStroke" defines a repated-linear graphic pattern to be used |
161 |
for stroking a line. |
162 |
</xsd:documentation> |
163 |
</xsd:annotation> |
164 |
<xsd:complexType> |
165 |
<xsd:sequence> |
166 |
<xsd:element ref="sld:Graphic"/> |
167 |
</xsd:sequence> |
168 |
</xsd:complexType> |
169 |
</xsd:element> |
170 |
|
171 |
<!-- *********************************************************************** --> |
172 |
<xsd:annotation> |
173 |
<xsd:documentation> |
174 |
POLYGON SYMBOL |
175 |
</xsd:documentation> |
176 |
</xsd:annotation> |
177 |
|
178 |
<xsd:element name="PolygonSymbol" substitutionGroup="sld:Symbol"> |
179 |
<xsd:annotation> |
180 |
<xsd:documentation> |
181 |
A "PolygonSymbol" specifies the rendering of a polygon or |
182 |
area geometry, including its interior fill and border stroke. |
183 |
</xsd:documentation> |
184 |
</xsd:annotation> |
185 |
<xsd:complexType> |
186 |
<xsd:complexContent> |
187 |
<xsd:extension base="sld:SymbolType"> |
188 |
<xsd:sequence> |
189 |
<xsd:element ref="sld:Geometry" minOccurs="0"/> |
190 |
<xsd:element ref="sld:Fill" minOccurs="0"/> |
191 |
<xsd:element ref="sld:Stroke" minOccurs="0"/> |
192 |
</xsd:sequence> |
193 |
</xsd:extension> |
194 |
</xsd:complexContent> |
195 |
</xsd:complexType> |
196 |
</xsd:element> |
197 |
|
198 |
<xsd:element name="Fill"> |
199 |
<xsd:annotation> |
200 |
<xsd:documentation> |
201 |
A "Fill" specifies the pattern for filling an area geometry. |
202 |
The allowed SvgParameters are: "fill" (color) and "fill-opacity". |
203 |
</xsd:documentation> |
204 |
</xsd:annotation> |
205 |
<xsd:complexType> |
206 |
<xsd:sequence> |
207 |
<xsd:element ref="sld:GraphicFill" minOccurs="0"/> |
208 |
<xsd:element ref="sld:SvgParameter" minOccurs="0" |
209 |
maxOccurs="unbounded"/> |
210 |
</xsd:sequence> |
211 |
</xsd:complexType> |
212 |
</xsd:element> |
213 |
|
214 |
<!-- *********************************************************************** --> |
215 |
<xsd:annotation> |
216 |
<xsd:documentation> |
217 |
POINT SYMBOL |
218 |
</xsd:documentation> |
219 |
</xsd:annotation> |
220 |
|
221 |
<xsd:element name="PointSymbol" substitutionGroup="sld:Symbol"> |
222 |
<xsd:annotation> |
223 |
<xsd:documentation> |
224 |
A "PointSymbol" specifies the rendering of a "graphic symbol" |
225 |
at a point. |
226 |
</xsd:documentation> |
227 |
</xsd:annotation> |
228 |
<xsd:complexType> |
229 |
<xsd:complexContent> |
230 |
<xsd:extension base="sld:SymbolType"> |
231 |
<xsd:sequence> |
232 |
<xsd:element ref="sld:Geometry" minOccurs="0"/> |
233 |
<xsd:element ref="sld:Graphic" minOccurs="0"/> |
234 |
</xsd:sequence> |
235 |
</xsd:extension> |
236 |
</xsd:complexContent> |
237 |
</xsd:complexType> |
238 |
</xsd:element> |
239 |
|
240 |
<xsd:element name="Graphic"> |
241 |
<xsd:annotation> |
242 |
<xsd:documentation> |
243 |
A "Graphic" specifies or refers to a "graphic symbol" with inherent |
244 |
shape, size, and coloring. |
245 |
</xsd:documentation> |
246 |
</xsd:annotation> |
247 |
<xsd:complexType> |
248 |
<xsd:sequence> |
249 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
250 |
<xsd:element ref="sld:ExternalGraphic"/> |
251 |
<xsd:element ref="sld:Mark"/> |
252 |
</xsd:choice> |
253 |
<xsd:sequence> |
254 |
<xsd:element ref="sld:Opacity" minOccurs="0"/> |
255 |
<xsd:element ref="sld:Size" minOccurs="0"/> |
256 |
<xsd:element ref="sld:Rotation" minOccurs="0"/> |
257 |
</xsd:sequence> |
258 |
</xsd:sequence> |
259 |
</xsd:complexType> |
260 |
</xsd:element> |
261 |
<xsd:element name="Opacity" type="sld:ParameterValueType"/> |
262 |
<xsd:element name="Size" type="sld:ParameterValueType"/> |
263 |
<xsd:element name="Rotation" type="sld:ParameterValueType"/> |
264 |
|
265 |
<xsd:element name="ExternalGraphic"> |
266 |
<xsd:annotation> |
267 |
<xsd:documentation> |
268 |
An "ExternalGraphic" gives a reference to an raster or vector |
269 |
graphical object, either online or inline, in an externally-defined |
270 |
graphic format. |
271 |
</xsd:documentation> |
272 |
</xsd:annotation> |
273 |
<xsd:complexType> |
274 |
<xsd:sequence> |
275 |
<xsd:choice> |
276 |
<xsd:element ref="sld:OnlineResource"/> |
277 |
<xsd:element ref="sld:InlineContent"/> |
278 |
</xsd:choice> |
279 |
<xsd:element ref="sld:Format"/> |
280 |
</xsd:sequence> |
281 |
</xsd:complexType> |
282 |
</xsd:element> |
283 |
<xsd:element name="Format" type="xsd:string"/> |
284 |
|
285 |
<xsd:element name="Mark"> |
286 |
<xsd:annotation> |
287 |
<xsd:documentation> |
288 |
A "Mark" specifies a geometric shape and applies coloring to it. |
289 |
</xsd:documentation> |
290 |
</xsd:annotation> |
291 |
<xsd:complexType> |
292 |
<xsd:sequence> |
293 |
<xsd:element ref="sld:WellKnownName" minOccurs="0"/> |
294 |
<xsd:element ref="sld:Fill" minOccurs="0"/> |
295 |
<xsd:element ref="sld:Stroke" minOccurs="0"/> |
296 |
</xsd:sequence> |
297 |
</xsd:complexType> |
298 |
</xsd:element> |
299 |
<xsd:element name="WellKnownName" type="xsd:string"/> |
300 |
|
301 |
<!-- *********************************************************************** --> |
302 |
<xsd:annotation> |
303 |
<xsd:documentation> |
304 |
TEXT SYMBOL |
305 |
</xsd:documentation> |
306 |
</xsd:annotation> |
307 |
|
308 |
<xsd:element name="TextSymbol" substitutionGroup="sld:Symbol"> |
309 |
<xsd:annotation> |
310 |
<xsd:documentation> |
311 |
A "TextSymbol" is used to render text labels according to |
312 |
various graphical parameters. |
313 |
</xsd:documentation> |
314 |
</xsd:annotation> |
315 |
<xsd:complexType> |
316 |
<xsd:complexContent> |
317 |
<xsd:extension base="sld:SymbolType"> |
318 |
<xsd:sequence> |
319 |
<xsd:element ref="sld:Geometry" minOccurs="0"/> |
320 |
<xsd:element ref="sld:Label" minOccurs="0"/> |
321 |
<xsd:element ref="sld:Font" minOccurs="0"/> |
322 |
<xsd:element ref="sld:LabelPlacement" minOccurs="0"/> |
323 |
<xsd:element ref="sld:Halo" minOccurs="0"/> |
324 |
<xsd:element ref="sld:Fill" minOccurs="0"/> |
325 |
</xsd:sequence> |
326 |
</xsd:extension> |
327 |
</xsd:complexContent> |
328 |
</xsd:complexType> |
329 |
</xsd:element> |
330 |
|
331 |
<xsd:element name="Label" type="sld:ParameterValueType"> |
332 |
<xsd:annotation> |
333 |
<xsd:documentation> |
334 |
A "Label" specifies the textual content to be rendered. |
335 |
</xsd:documentation> |
336 |
</xsd:annotation> |
337 |
</xsd:element> |
338 |
|
339 |
<xsd:element name="Font"> |
340 |
<xsd:annotation> |
341 |
<xsd:documentation> |
342 |
A "Font" element specifies the text font to use. The allowed |
343 |
SvgParameters are: "font-family", "font-style", "font-weight", |
344 |
and "font-size". |
345 |
</xsd:documentation> |
346 |
</xsd:annotation> |
347 |
<xsd:complexType> |
348 |
<xsd:sequence> |
349 |
<xsd:element ref="sld:SvgParameter" minOccurs="0" |
350 |
maxOccurs="unbounded"/> |
351 |
</xsd:sequence> |
352 |
</xsd:complexType> |
353 |
</xsd:element> |
354 |
|
355 |
<xsd:element name="LabelPlacement"> |
356 |
<xsd:annotation> |
357 |
<xsd:documentation> |
358 |
The "LabelPlacement" specifies where and how a text label should |
359 |
be rendered relative to a geometry. The present mechanism is |
360 |
poorly aligned with CSS/SVG. |
361 |
</xsd:documentation> |
362 |
</xsd:annotation> |
363 |
<xsd:complexType> |
364 |
<xsd:choice> |
365 |
<xsd:element ref="sld:PointPlacement"/> |
366 |
<xsd:element ref="sld:LinePlacement"/> |
367 |
</xsd:choice> |
368 |
</xsd:complexType> |
369 |
</xsd:element> |
370 |
|
371 |
<xsd:element name="PointPlacement"> |
372 |
<xsd:annotation> |
373 |
<xsd:documentation> |
374 |
A "PointPlacement" specifies how a text label should be rendered |
375 |
relative to a geometric point. |
376 |
</xsd:documentation> |
377 |
</xsd:annotation> |
378 |
<xsd:complexType> |
379 |
<xsd:sequence> |
380 |
<xsd:element ref="sld:AnchorPoint" minOccurs="0"/> |
381 |
<xsd:element ref="sld:Displacement" minOccurs="0"/> |
382 |
<xsd:element ref="sld:Rotation" minOccurs="0"/> |
383 |
</xsd:sequence> |
384 |
</xsd:complexType> |
385 |
</xsd:element> |
386 |
|
387 |
<xsd:element name="AnchorPoint"> |
388 |
<xsd:annotation> |
389 |
<xsd:documentation> |
390 |
An "AnchorPoint" identifies the location inside of a text label to |
391 |
use an an 'anchor' for positioning it relative to a point geometry. |
392 |
</xsd:documentation> |
393 |
</xsd:annotation> |
394 |
<xsd:complexType> |
395 |
<xsd:sequence> |
396 |
<xsd:element ref="sld:AnchorPointX"/> |
397 |
<xsd:element ref="sld:AnchorPointY"/> |
398 |
</xsd:sequence> |
399 |
</xsd:complexType> |
400 |
</xsd:element> |
401 |
<xsd:element name="AnchorPointX" type="sld:ParameterValueType"/> |
402 |
<xsd:element name="AnchorPointY" type="sld:ParameterValueType"/> |
403 |
|
404 |
<xsd:element name="Displacement"> |
405 |
<xsd:annotation> |
406 |
<xsd:documentation> |
407 |
A "Displacement" gives X and Y offset displacements to use for |
408 |
rendering a text label near a point. |
409 |
</xsd:documentation> |
410 |
</xsd:annotation> |
411 |
<xsd:complexType> |
412 |
<xsd:sequence> |
413 |
<xsd:element ref="sld:DisplacementX"/> |
414 |
<xsd:element ref="sld:DisplacementY"/> |
415 |
</xsd:sequence> |
416 |
</xsd:complexType> |
417 |
</xsd:element> |
418 |
<xsd:element name="DisplacementX" type="sld:ParameterValueType"/> |
419 |
<xsd:element name="DisplacementY" type="sld:ParameterValueType"/> |
420 |
|
421 |
<xsd:element name="LinePlacement"> |
422 |
<xsd:annotation> |
423 |
<xsd:documentation> |
424 |
A "LinePlacement" specifies how a text label should be rendered |
425 |
relative to a linear geometry. |
426 |
</xsd:documentation> |
427 |
</xsd:annotation> |
428 |
<xsd:complexType> |
429 |
<xsd:sequence> |
430 |
<xsd:element ref="sld:PerpendicularOffset" minOccurs="0"/> |
431 |
</xsd:sequence> |
432 |
</xsd:complexType> |
433 |
</xsd:element> |
434 |
|
435 |
<xsd:element name="PerpendicularOffset" type="sld:ParameterValueType"> |
436 |
<xsd:annotation> |
437 |
<xsd:documentation> |
438 |
A "PerpendicularOffset" gives the perpendicular distance away |
439 |
from a line to draw a label. |
440 |
</xsd:documentation> |
441 |
</xsd:annotation> |
442 |
</xsd:element> |
443 |
|
444 |
<xsd:element name="Halo"> |
445 |
<xsd:annotation> |
446 |
<xsd:documentation> |
447 |
A "Halo" fills an extended area outside the glyphs of a rendered |
448 |
text label to make the label easier to read over a background. |
449 |
</xsd:documentation> |
450 |
</xsd:annotation> |
451 |
<xsd:complexType> |
452 |
<xsd:sequence> |
453 |
<xsd:element ref="sld:Radius" minOccurs="0"/> |
454 |
<xsd:element ref="sld:Fill" minOccurs="0"/> |
455 |
</xsd:sequence> |
456 |
</xsd:complexType> |
457 |
</xsd:element> |
458 |
<xsd:element name="Radius" type="sld:ParameterValueType"/> |
459 |
|
460 |
<!-- *********************************************************************** --> |
461 |
<xsd:annotation> |
462 |
<xsd:documentation> |
463 |
RASTER SYMBOL |
464 |
</xsd:documentation> |
465 |
</xsd:annotation> |
466 |
|
467 |
<xsd:element name="RasterSymbol" substitutionGroup="sld:Symbol"> |
468 |
<xsd:annotation> |
469 |
<xsd:documentation> |
470 |
A "RasterSymbol" is used to specify the rendering of |
471 |
raster/matrix-coverage data (e.g., satellite images, DEMs). |
472 |
</xsd:documentation> |
473 |
</xsd:annotation> |
474 |
<xsd:complexType> |
475 |
<xsd:complexContent> |
476 |
<xsd:extension base="sld:SymbolType"> |
477 |
<xsd:sequence> |
478 |
<xsd:element ref="sld:Geometry" minOccurs="0"/> |
479 |
<xsd:element ref="sld:Opacity" minOccurs="0"/> |
480 |
<xsd:element ref="sld:ChannelSelection" minOccurs="0"/> |
481 |
<xsd:element ref="sld:OverlapBehavior" minOccurs="0"/> |
482 |
<xsd:element ref="sld:ColorMap" minOccurs="0"/> |
483 |
<xsd:element ref="sld:ContrastEnhancement" minOccurs="0"/> |
484 |
<xsd:element ref="sld:ShadedRelief" minOccurs="0"/> |
485 |
<xsd:element ref="sld:ImageOutline" minOccurs="0"/> |
486 |
</xsd:sequence> |
487 |
</xsd:extension> |
488 |
</xsd:complexContent> |
489 |
</xsd:complexType> |
490 |
</xsd:element> |
491 |
|
492 |
<xsd:element name="ChannelSelection"> |
493 |
<xsd:annotation> |
494 |
<xsd:documentation> |
495 |
"ChannelSelection" specifies the false-color channel selection |
496 |
for a multi-spectral raster source. |
497 |
</xsd:documentation> |
498 |
</xsd:annotation> |
499 |
<xsd:complexType> |
500 |
<xsd:choice> |
501 |
<xsd:sequence> |
502 |
<xsd:element ref="sld:RedChannel"/> |
503 |
<xsd:element ref="sld:GreenChannel"/> |
504 |
<xsd:element ref="sld:BlueChannel"/> |
505 |
</xsd:sequence> |
506 |
<xsd:element ref="sld:GrayChannel"/> |
507 |
</xsd:choice> |
508 |
</xsd:complexType> |
509 |
</xsd:element> |
510 |
<xsd:element name="RedChannel" type="sld:SelectedChannelType"/> |
511 |
<xsd:element name="GreenChannel" type="sld:SelectedChannelType"/> |
512 |
<xsd:element name="BlueChannel" type="sld:SelectedChannelType"/> |
513 |
<xsd:element name="GrayChannel" type="sld:SelectedChannelType"/> |
514 |
<xsd:complexType name="SelectedChannelType"> |
515 |
<xsd:sequence> |
516 |
<xsd:element ref="sld:SourceChannelName"/> |
517 |
<xsd:element ref="sld:ContrastEnhancement" minOccurs="0"/> |
518 |
</xsd:sequence> |
519 |
</xsd:complexType> |
520 |
<xsd:element name="SourceChannelName" type="xsd:string"/> |
521 |
|
522 |
<xsd:element name="OverlapBehavior"> |
523 |
<xsd:annotation> |
524 |
<xsd:documentation> |
525 |
"OverlapBehavior" tells a system how to behave when multiple |
526 |
raster images in a layer overlap each other, for example with |
527 |
satellite-image scenes. |
528 |
</xsd:documentation> |
529 |
</xsd:annotation> |
530 |
<xsd:simpleType> |
531 |
<xsd:restriction base="xsd:string"> |
532 |
<xsd:enumeration value="LATEST_ON_TOP"/> |
533 |
<xsd:enumeration value="EARLIEST_ON_TOP"/> |
534 |
<xsd:enumeration value="AVERAGE"/> |
535 |
<xsd:enumeration value="RANDOM"/> |
536 |
</xsd:restriction> |
537 |
</xsd:simpleType> |
538 |
</xsd:element> |
539 |
|
540 |
<xsd:element name="ColorMap"> |
541 |
<xsd:annotation> |
542 |
<xsd:documentation> |
543 |
A "ColorMap" defines either the colors of a pallet-type raster |
544 |
source or the mapping of numeric pixel values to colors. |
545 |
</xsd:documentation> |
546 |
</xsd:annotation> |
547 |
<xsd:complexType> |
548 |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> |
549 |
<xsd:element ref="sld:ColorMapEntry"/> |
550 |
</xsd:choice> |
551 |
</xsd:complexType> |
552 |
</xsd:element> |
553 |
<xsd:element name="ColorMapEntry"> |
554 |
<xsd:complexType> |
555 |
<xsd:attribute name="color" type="xsd:string" use="required"/> |
556 |
<xsd:attribute name="opacity" type="xsd:double"/> |
557 |
<xsd:attribute name="quantity" type="xsd:double"/> |
558 |
<xsd:attribute name="label" type="xsd:string"/> |
559 |
</xsd:complexType> |
560 |
</xsd:element> |
561 |
|
562 |
<xsd:element name="ContrastEnhancement"> |
563 |
<xsd:annotation> |
564 |
<xsd:documentation> |
565 |
"ContrastEnhancement" defines the 'stretching' of contrast for a |
566 |
channel of a false-color image or for a whole grey/color image. |
567 |
Contrast enhancement is used to make ground features in images |
568 |
more visible. |
569 |
</xsd:documentation> |
570 |
</xsd:annotation> |
571 |
<xsd:complexType> |
572 |
<xsd:sequence> |
573 |
<xsd:choice minOccurs="0"> |
574 |
<xsd:element ref="sld:Normalize"/> |
575 |
<xsd:element ref="sld:Histogram"/> |
576 |
</xsd:choice> |
577 |
<xsd:element ref="sld:GammaValue" minOccurs="0"/> |
578 |
</xsd:sequence> |
579 |
</xsd:complexType> |
580 |
</xsd:element> |
581 |
<xsd:element name="Normalize"> |
582 |
<xsd:complexType/> |
583 |
</xsd:element> |
584 |
<xsd:element name="Histogram"> |
585 |
<xsd:complexType/> |
586 |
</xsd:element> |
587 |
<xsd:element name="GammaValue" type="xsd:double"/> |
588 |
|
589 |
<xsd:element name="ShadedRelief"> |
590 |
<xsd:annotation> |
591 |
<xsd:documentation> |
592 |
"ShadedRelief" specifies the application of relief shading |
593 |
(or "hill shading") to a DEM raster to give it somewhat of a |
594 |
three-dimensional effect and to make elevation changes more |
595 |
visible. |
596 |
</xsd:documentation> |
597 |
</xsd:annotation> |
598 |
<xsd:complexType> |
599 |
<xsd:sequence> |
600 |
<xsd:element ref="sld:BrightnessOnly" minOccurs="0"/> |
601 |
<xsd:element ref="sld:ReliefFactor" minOccurs="0"/> |
602 |
</xsd:sequence> |
603 |
</xsd:complexType> |
604 |
</xsd:element> |
605 |
<xsd:element name="BrightnessOnly" type="xsd:boolean"/> |
606 |
<xsd:element name="ReliefFactor" type="xsd:double"/> |
607 |
|
608 |
<xsd:element name="ImageOutline"> |
609 |
<xsd:annotation> |
610 |
<xsd:documentation> |
611 |
"ImageOutline" specifies how individual source rasters in |
612 |
a multi-raster set (such as a set of satellite-image scenes) |
613 |
should be outlined to make the individual-image locations visible. |
614 |
</xsd:documentation> |
615 |
</xsd:annotation> |
616 |
<xsd:complexType> |
617 |
<xsd:choice> |
618 |
<xsd:element ref="sld:LineSymbol"/> |
619 |
<xsd:element ref="sld:PolygonSymbol"/> |
620 |
</xsd:choice> |
621 |
</xsd:complexType> |
622 |
</xsd:element> |
623 |
|
624 |
<!-- *********************************************************************** --> |
625 |
<xsd:annotation> |
626 |
<xsd:documentation> |
627 |
MAPPED-COLOR SYMBOL (Choropleth) |
628 |
</xsd:documentation> |
629 |
</xsd:annotation> |
630 |
|
631 |
<xsd:element name="MappedColorSymbol" substitutionGroup="sld:Symbol"> |
632 |
<xsd:annotation> |
633 |
<xsd:documentation> |
634 |
A "MappedColorSymbol" is used to specify the mapping of colors to |
635 |
ranges of values of a control variable/expression. |
636 |
</xsd:documentation> |
637 |
</xsd:annotation> |
638 |
<xsd:complexType> |
639 |
<xsd:complexContent> |
640 |
<xsd:extension base="sld:SymbolType"> |
641 |
<xsd:sequence> |
642 |
<xsd:element ref="sld:LookupValue"/> |
643 |
<xsd:element ref="sld:ColorMap"/> |
644 |
<xsd:element ref="sld:MappedColorSubSymbol"/> |
645 |
</xsd:sequence> |
646 |
</xsd:extension> |
647 |
</xsd:complexContent> |
648 |
</xsd:complexType> |
649 |
</xsd:element> |
650 |
<xsd:element name="LookupValue" type="sld:ParameterValueType"/> |
651 |
|
652 |
<xsd:element name="MappedColorSubSymbol"> |
653 |
<xsd:annotation> |
654 |
<xsd:documentation> |
655 |
The MappedColorSubSymbol identifies the the symbol to which |
656 |
to apply computed colors. The computed color is used as the |
657 |
'default color' in the sub-symbol. The "matchTo" attribute tells |
658 |
whether to match the lookup value to the "quantity" or "label" |
659 |
attributes of the 'choropleth' ColorMap. |
660 |
</xsd:documentation> |
661 |
</xsd:annotation> |
662 |
<xsd:complexType> |
663 |
<xsd:choice> |
664 |
<xsd:element ref="sld:LineSymbol"/> |
665 |
<xsd:element ref="sld:PolygonSymbol"/> |
666 |
<xsd:element ref="sld:PointSymbol"/> |
667 |
<xsd:element ref="sld:TextSymbol"/> |
668 |
<xsd:element ref="sld:RasterSymbol"/> |
669 |
</xsd:choice> |
670 |
<xsd:attribute name="matchTo" use="required"> |
671 |
<xsd:simpleType> |
672 |
<xsd:restriction base="xsd:string"> |
673 |
<xsd:enumeration value="quantity"/> |
674 |
<xsd:enumeration value="label"/> |
675 |
</xsd:restriction> |
676 |
</xsd:simpleType> |
677 |
</xsd:attribute> |
678 |
</xsd:complexType> |
679 |
</xsd:element> |
680 |
|
681 |
</xsd:schema> |