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

« back to all changes in this revision

Viewing changes to test/Queries/geo/is-within-distance4.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:is-within-distance(<gml:Surface><gml:patches>
5
 
                <gml:PolygonPatch><gml:exterior>
6
 
                    <gml:LinearRing><gml:posList>1 1 2 2 3 4 2 4 1 1</gml:posList></gml:LinearRing>
7
 
                </gml:exterior></gml:PolygonPatch>
8
 
                <gml:PolygonPatch><gml:exterior>
9
 
                    <gml:LinearRing><gml:posList>10 10 20 15 30 40 20 40 10 10</gml:posList></gml:LinearRing>
10
 
                </gml:exterior></gml:PolygonPatch>
11
 
              </gml:patches></gml:Surface>,
12
 
 
13
 
              <gml:LinearRing><gml:posList>11 11 12 12 13 14 12 14 11 11</gml:posList></gml:LinearRing>,
14
 
              
15
 
              0
16
 
              )
 
 
b'\\ No newline at end of file'