summaryrefslogtreecommitdiffstats
path: root/test/testcases-wcps/40-range_structure.xml
blob: 34c2f19b03c16b38544fc775d7c9412165f6898d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8" ?>
<ProcessCoveragesRequest xmlns="http://www.opengis.net/wcps/1.0" service="WCPS" version="1.0.0">
    <query>
        <xmlSyntax>
            <coverageIterator>
                <iteratorVar>c</iteratorVar>
                <coverageName>rgb</coverageName>
            </coverageIterator>
            <encode store="false">
                <mult>
                    <fieldSelect>
                        <coverage>c</coverage>
                        <field>
                            <name>red</name>
                        </field>
                    </fieldSelect>
                    <rangeConstructor>
                        <component>
                            <field>red</field>
                            <cast>
                                <numericConstant>1</numericConstant>
                                <type>char</type>
                            </cast>
                        </component>
                        <component>
                            <field>green</field>
                            <cast>
                                <numericConstant>2</numericConstant>
                                <type>char</type>
                            </cast>
                        </component>
                        <component>
                            <field>blue</field>
                            <cast>
                                <numericConstant>3</numericConstant>
                                <type>char</type>
                            </cast>
                        </component>
                    </rangeConstructor>
                </mult>
                <format>jpeg</format>
            </encode>
        </xmlSyntax>
    </query>
</ProcessCoveragesRequest>