~juan457/+junk/zorba

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/geo/is-within-distance6.xq

  • Committer: ceejatec
  • Date: 2011-02-23 12:49:34 UTC
  • Revision ID: svn-v4:8046edc3-af21-0410-8661-ec7318497eea:trunk/zorba:9976
Numerous changes to support externalizing modules.
1. Overhauled ZorbaConfig framework to allow easy "finding" of Zorba (either
   from source or installed binary form); consolidated all into top-level
   config/ directory.
2. Moved GENERATE_MODULE_LIBRARY() macro to ZorbaModule.cmake (which is also
   installed); updated to support out-of-core modules.
3. Fixed and improved several features regarding "make install", such as
   enabling RPath, correcting include directories, etc.
4. Consolidated some other project-configuration files into config/, such as
   debian and Fedora packaging files.
5. Added --module-path option to testdriver and testdriver_mt.
6. testdriver is now installed by "make install" (may be revisited).

And, eliminated "geo" module - now available at
  http://zorba.svn.sourceforge.net/svnroot/zorba/modules/geo/trunk

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:MultiSurface>
5
 
                <gml:Polygon><gml:exterior>
6
 
                <gml:LinearRing>
7
 
                <gml:pos>1 1 </gml:pos>
8
 
                <gml:pos>20 1</gml:pos>
9
 
                <gml:pos>20 20</gml:pos>
10
 
                <gml:pos>1 20</gml:pos>
11
 
                <gml:pos> 1 1  </gml:pos>
12
 
                </gml:LinearRing>
13
 
                </gml:exterior></gml:Polygon>
14
 
              </gml:MultiSurface>,
15
 
              
16
 
                <gml:Polygon><gml:exterior>
17
 
                <gml:LinearRing>
18
 
                <gml:pos>-1 -1 </gml:pos>
19
 
                <gml:pos>-2 -1</gml:pos>
20
 
                <gml:pos>-2 -2</gml:pos>
21
 
                <gml:pos>-1 -2</gml:pos>
22
 
                <gml:pos> -1 -1  </gml:pos>
23
 
                </gml:LinearRing>
24
 
                </gml:exterior></gml:Polygon>,
25
 
                
26
 
                2 * 1.45
27
 
              )
 
 
b'\\ No newline at end of file'