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

« back to all changes in this revision

Viewing changes to test/Queries/geo/bounding-polygons1.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:bounding-polygons(<gml:Surface><gml:patches>
5
 
                <gml:PolygonPatch><gml:exterior>
6
 
                    <gml:LinearRing><gml:posList>1 1 2 1 2 2 1 2 1 1</gml:posList></gml:LinearRing>
7
 
                </gml:exterior></gml:PolygonPatch>
8
 
                <gml:PolygonPatch><gml:exterior>
9
 
                    <gml:LinearRing><gml:posList>2 0 3 0 3 3 2 3 2 0</gml:posList></gml:LinearRing>
10
 
                </gml:exterior></gml:PolygonPatch>
11
 
                <gml:PolygonPatch><gml:exterior>
12
 
                    <gml:LinearRing><gml:posList>3 0 4 0 4 3 3 3 3 0</gml:posList></gml:LinearRing>
13
 
                </gml:exterior></gml:PolygonPatch>
14
 
                <gml:PolygonPatch><gml:exterior>
15
 
                    <gml:LinearRing><gml:posList>3 3 4 3 4 8 3 8 3 3</gml:posList></gml:LinearRing>
16
 
                </gml:exterior></gml:PolygonPatch>
17
 
                <gml:PolygonPatch><gml:exterior>
18
 
                    <gml:LinearRing><gml:posList>3 8 4 8 4 9 3 9 3 8</gml:posList></gml:LinearRing>
19
 
                </gml:exterior></gml:PolygonPatch>
20
 
              </gml:patches></gml:Surface>,
21
 
              
22
 
                <gml:Polygon><gml:exterior>
23
 
                    <gml:LinearRing><gml:posList>2 0 3 0 3 3 2 3 2 0</gml:posList></gml:LinearRing>
24
 
                </gml:exterior></gml:Polygon>
25
 
              )
 
 
b'\\ No newline at end of file'