summaryrefslogtreecommitdiffstats
path: root/petascope/test/testcases-wcps/34-where_clause.xml
blob: 8117e2a4d20825ced9454607bd82f9000f7506b5 (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
<?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>mr</coverageName>
            </coverageIterator>
            <where>
                <booleanGreaterThan>
                    <reduce>
                        <avg>
                            <coverage>c</coverage>
                        </avg>
                    </reduce>
                    <numericConstant>30</numericConstant>
                </booleanGreaterThan>
            </where>
            <encode store="false">
                <coverage>c</coverage>
                <format>jpeg</format>
            </encode>
        </xmlSyntax>
    </query>
</ProcessCoveragesRequest>