~zorba-coders/zorba/1189803-geoproj-module

« back to all changes in this revision

Viewing changes to test/Queries/geo/convex-hull7.xq

  • Committer: Juan Zacarias
  • Date: 2012-08-07 19:49:24 UTC
  • Revision ID: juan457@gmail.com-20120807194924-w8pmqsrf510fq3yv
Tags: zorba-2.8, zorba-2.9
RemovedĀ geosĀ module

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import module namespace geo = "http://expath.org/ns/geo";
2
 
declare namespace gml="http://www.opengis.net/gml";
3
 
 
4
 
geo:convex-hull(<gml:Polygon>
5
 
              <gml:exterior>
6
 
                <gml:LinearRing><gml:posList>
7
 
                1 1 
8
 
                20 1 
9
 
                20 20 
10
 
                1 20 
11
 
                1 1
12
 
                </gml:posList></gml:LinearRing>
13
 
              </gml:exterior>
14
 
              <gml:interior>
15
 
                <gml:LinearRing><gml:posList>
16
 
                2 2 
17
 
                3 2 
18
 
                3 3 
19
 
                2 3 
20
 
                2 2
21
 
                </gml:posList></gml:LinearRing>
22
 
              </gml:interior>
23
 
              <gml:interior>
24
 
                <gml:LinearRing><gml:posList>
25
 
                10 10 
26
 
                20 10
27
 
                 20 20 
28
 
                 10 20 
29
 
                10 10
30
 
                </gml:posList></gml:LinearRing>
31
 
              </gml:interior>
32
 
              </gml:Polygon>)
33
 
              
 
 
b'\\ No newline at end of file'