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

« back to all changes in this revision

Viewing changes to test/Queries/geo/difference4.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:difference(<gml:Polygon>
5
 
              <gml:exterior>
6
 
                <gml:LinearRing><gml:posList>
7
 
                1 1 
8
 
                20 1 
9
 
                20 20 
10
 
                30 20
11
 
                30 30 
12
 
                1 30 
13
 
                1 1
14
 
                </gml:posList></gml:LinearRing>
15
 
              </gml:exterior>
16
 
              <gml:interior>
17
 
                <gml:LinearRing><gml:posList>
18
 
                2 2 
19
 
                3 2 
20
 
                3 3 
21
 
                2 3 
22
 
                2 2
23
 
                </gml:posList></gml:LinearRing>
24
 
              </gml:interior>
25
 
              <gml:interior>
26
 
                <gml:LinearRing><gml:posList>
27
 
                10 10 
28
 
                19 10
29
 
                 19 19 
30
 
                 10 19 
31
 
                10 10
32
 
                </gml:posList></gml:LinearRing>
33
 
              </gml:interior>
34
 
              </gml:Polygon>,
35
 
              
36
 
              
37
 
              <gml:Polygon>
38
 
              <gml:exterior>
39
 
                <gml:LinearRing><gml:posList>
40
 
                11 11 
41
 
                21 11 
42
 
                21 21 
43
 
                11 21 
44
 
                11 11
45
 
                </gml:posList></gml:LinearRing>
46
 
              </gml:exterior>
47
 
              </gml:Polygon>)
48
 
              
 
 
b'\\ No newline at end of file'