Merge lp:~zorba-coders/zorba/update3.0_geoproj-module into lp:zorba/geoproj-module

Proposed by Juan Zacarias
Status: Merged
Merged at revision: 41
Proposed branch: lp:~zorba-coders/zorba/update3.0_geoproj-module
Merge into: lp:zorba/geoproj-module
Diff against target: 780 lines (+151/-193)
31 files modified
src/CMakeLists.txt (+2/-2)
src/com/CMakeLists.txt (+0/-14)
src/com/zorba-xquery/CMakeLists.txt (+0/-14)
src/com/zorba-xquery/www/CMakeLists.txt (+0/-14)
src/geoproj-param.xsd (+2/-2)
src/geoproj.xq (+106/-106)
test/ExpQueryResults/geo/geoproj1.xml.res (+1/-1)
test/ExpQueryResults/geo/geoproj10.xml.res (+2/-2)
test/ExpQueryResults/geo/geoproj11.xml.res (+1/-1)
test/ExpQueryResults/geo/geoproj12.xml.res (+2/-2)
test/ExpQueryResults/geo/geoproj2.xml.res (+1/-1)
test/ExpQueryResults/geo/geoproj4.xml.res (+1/-1)
test/ExpQueryResults/geo/geoproj5.xml.res (+1/-1)
test/ExpQueryResults/geo/geoproj6.xml.res (+2/-2)
test/ExpQueryResults/geo/geoproj7.xml.res (+2/-2)
test/ExpQueryResults/geo/geoproj8.xml.res (+2/-2)
test/ExpQueryResults/geo/geoproj9.xml.res (+1/-1)
test/Queries/geo/dms1.xq (+1/-1)
test/Queries/geo/dms2.xq (+1/-1)
test/Queries/geo/geoproj1.xq (+2/-2)
test/Queries/geo/geoproj10.xq (+2/-2)
test/Queries/geo/geoproj11.xq (+2/-2)
test/Queries/geo/geoproj12.xq (+2/-2)
test/Queries/geo/geoproj2.xq (+2/-2)
test/Queries/geo/geoproj3.xq (+2/-2)
test/Queries/geo/geoproj4.xq (+1/-1)
test/Queries/geo/geoproj5.xq (+2/-2)
test/Queries/geo/geoproj6.xq (+2/-2)
test/Queries/geo/geoproj7.xq (+2/-2)
test/Queries/geo/geoproj8.xq (+2/-2)
test/Queries/geo/geoproj9.xq (+2/-2)
To merge this branch: bzr merge lp:~zorba-coders/zorba/update3.0_geoproj-module
Reviewer Review Type Date Requested Status
Matthias Brantner Approve
Chris Hillery Approve
Review via email: mp+170214@code.launchpad.net

Commit message

Changes for Update 3.0

Description of the change

Changes for Update 3.0

To post a comment you must log in.
41. By Juan Zacarias

Reverted changes for update 3.0

42. By Juan Zacarias

modified:
  src/com/zorba-xquery/www/modules/geoproj.xq
pending merges:
  [u'sorin.marian.n... 2013-06-17 [merge] - updated project TAG Approved: ...
    sorin.marian.nasoi 2013-06-15 - updated project TAG

43. By Juan Zacarias

Made changes for update 3.0, updated documentation and module's namespace.

Revision history for this message
Chris Hillery (ceejatec) wrote :

The changes as made seem fine. Two concerns:

1. Are there any errors raised by the module functions? If so, are they documented?

2. Matthias: This seems like it is an ideal candidate for JSONify-ing; would you agree? If so, what would you think is the priority? I'm tempted to merge this revision as it stands, and file a separate lower-priority bug to JSONify this module later if we have time.

review: Needs Information
Revision history for this message
Juan Zacarias (juan457) wrote :

> The changes as made seem fine. Two concerns:
>
> 1. Are there any errors raised by the module functions? If so, are they
> documented?
No errors are thrown by the module.

>
> 2. Matthias: This seems like it is an ideal candidate for JSONify-ing; would
> you agree? If so, what would you think is the priority? I'm tempted to merge
> this revision as it stands, and file a separate lower-priority bug to JSONify
> this module later if we have time.

Revision history for this message
Chris Hillery (ceejatec) wrote :

Approving the changes as they are. Matthias, let us know if you think it should JSONified immediately or if we can come back to it.

review: Approve
Revision history for this message
Chris Hillery (ceejatec) wrote :

One note: we cannot JSONify the geo module [can we?], since it is an EXPath module. There are no common APIs or schemas between geo and geoproj so far as I know, but they might be used by similar people. So, might it be weird if one is XML and one is JSON? Not really sure how to make that call.

Revision history for this message
Matthias Brantner (matthias-brantner) wrote :

Yes, we cannot JSONify the EXPath module. More than that, this processing depends on XML data formats for which it doesn't make sense to do it on JSON because the input data is XML and people want to process that.
A JSONiq geo module would be a completely separate effort. Right now, we should just do the basics and that's it.

review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue succeeded - proposal merged!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'src/CMakeLists.txt'
2--- src/CMakeLists.txt 2012-08-07 19:49:24 +0000
3+++ src/CMakeLists.txt 1970-01-01 00:00:00 +0000
4@@ -1,20 +0,0 @@
5-# Copyright 2006-2008 The FLWOR Foundation.
6-#
7-# Licensed under the Apache License, Version 2.0 (the "License");
8-# you may not use this file except in compliance with the License.
9-# You may obtain a copy of the License at
10-#
11-# http://www.apache.org/licenses/LICENSE-2.0
12-#
13-# Unless required by applicable law or agreed to in writing, software
14-# distributed under the License is distributed on an "AS IS" BASIS,
15-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-# See the License for the specific language governing permissions and
17-# limitations under the License.
18-
19-# all external module libraries are generated in the directory
20-# of the corresponding .xq file
21-MESSAGE(STATUS "Add com")
22-ADD_SUBDIRECTORY(com)
23-
24-MESSAGE(STATUS "End modules")
25
26=== renamed file 'src/com/zorba-xquery/www/modules/CMakeLists.txt' => 'src/CMakeLists.txt'
27--- src/com/zorba-xquery/www/modules/CMakeLists.txt 2011-07-27 00:24:29 +0000
28+++ src/CMakeLists.txt 2013-06-19 19:41:25 +0000
29@@ -12,5 +12,5 @@
30 # See the License for the specific language governing permissions and
31 # limitations under the License.
32 DECLARE_ZORBA_SCHEMA (FILE geoproj-param.xsd
33- URI "http://www.zorba-xquery.com/modules/geoproj-param")
34-DECLARE_ZORBA_MODULE (URI "http://www.zorba-xquery.com/modules/geoproj" VERSION 1.0 FILE "geoproj.xq")
35+ URI "http://zorba.io/modules/geoproj-param")
36+DECLARE_ZORBA_MODULE (URI "http://zorba.io/modules/geoproj" VERSION 1.0 FILE "geoproj.xq")
37
38=== removed directory 'src/com'
39=== removed file 'src/com/CMakeLists.txt'
40--- src/com/CMakeLists.txt 2011-10-06 08:18:23 +0000
41+++ src/com/CMakeLists.txt 1970-01-01 00:00:00 +0000
42@@ -1,14 +0,0 @@
43-# Copyright 2006-2008 The FLWOR Foundation.
44-#
45-# Licensed under the Apache License, Version 2.0 (the "License");
46-# you may not use this file except in compliance with the License.
47-# You may obtain a copy of the License at
48-#
49-# http://www.apache.org/licenses/LICENSE-2.0
50-#
51-# Unless required by applicable law or agreed to in writing, software
52-# distributed under the License is distributed on an "AS IS" BASIS,
53-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
54-# See the License for the specific language governing permissions and
55-# limitations under the License.
56-ADD_SUBDIRECTORY(zorba-xquery)
57
58=== removed directory 'src/com/zorba-xquery'
59=== removed file 'src/com/zorba-xquery/CMakeLists.txt'
60--- src/com/zorba-xquery/CMakeLists.txt 2011-10-06 08:18:23 +0000
61+++ src/com/zorba-xquery/CMakeLists.txt 1970-01-01 00:00:00 +0000
62@@ -1,14 +0,0 @@
63-# Copyright 2006-2008 The FLWOR Foundation.
64-#
65-# Licensed under the Apache License, Version 2.0 (the "License");
66-# you may not use this file except in compliance with the License.
67-# You may obtain a copy of the License at
68-#
69-# http://www.apache.org/licenses/LICENSE-2.0
70-#
71-# Unless required by applicable law or agreed to in writing, software
72-# distributed under the License is distributed on an "AS IS" BASIS,
73-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
74-# See the License for the specific language governing permissions and
75-# limitations under the License.
76-ADD_SUBDIRECTORY(www)
77
78=== removed directory 'src/com/zorba-xquery/www'
79=== removed file 'src/com/zorba-xquery/www/CMakeLists.txt'
80--- src/com/zorba-xquery/www/CMakeLists.txt 2011-10-06 08:18:23 +0000
81+++ src/com/zorba-xquery/www/CMakeLists.txt 1970-01-01 00:00:00 +0000
82@@ -1,14 +0,0 @@
83-# Copyright 2006-2008 The FLWOR Foundation.
84-#
85-# Licensed under the Apache License, Version 2.0 (the "License");
86-# you may not use this file except in compliance with the License.
87-# You may obtain a copy of the License at
88-#
89-# http://www.apache.org/licenses/LICENSE-2.0
90-#
91-# Unless required by applicable law or agreed to in writing, software
92-# distributed under the License is distributed on an "AS IS" BASIS,
93-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
94-# See the License for the specific language governing permissions and
95-# limitations under the License.
96-ADD_SUBDIRECTORY(modules)
97
98=== removed directory 'src/com/zorba-xquery/www/modules'
99=== renamed file 'src/com/zorba-xquery/www/modules/geoproj-param.xsd' => 'src/geoproj-param.xsd'
100--- src/com/zorba-xquery/www/modules/geoproj-param.xsd 2011-08-05 02:22:02 +0000
101+++ src/geoproj-param.xsd 2013-06-19 19:41:25 +0000
102@@ -1,7 +1,7 @@
103 <?xml version="1.0" encoding="utf-8"?>
104 <schema
105- targetNamespace="http://www.zorba-xquery.com/modules/geoproj-param"
106- xmlns:geoproj="http://www.zorba-xquery.com/modules/geoproj-param"
107+ targetNamespace="http://zorba.io/modules/geoproj-param"
108+ xmlns:geoproj="http://zorba.io/modules/geoproj-param"
109 xmlns="http://www.w3.org/2001/XMLSchema"
110 version="1.0.0">
111 <!--
112
113=== renamed file 'src/com/zorba-xquery/www/modules/geoproj.xq' => 'src/geoproj.xq'
114--- src/com/zorba-xquery/www/modules/geoproj.xq 2013-06-15 19:36:05 +0000
115+++ src/geoproj.xq 2013-06-19 19:41:25 +0000
116@@ -17,58 +17,58 @@
117 :)
118
119 (:~
120- : Geographic projection module.<br/>
121- : Forward and inverse projection from WGS84 lat-long coordinates to Oblique Mercator x-y projection.<br/>
122- : Oblique Mercator projection is a sphere to cylinder projection.<br/>
123- : This projection results in a conformal output, meaning the shape of small areas is preserved,
124+ : <p>Geographic projection module.</p>
125+ : <p>Forward and inverse projection from WGS84 lat-long coordinates to Oblique Mercator x-y projection.</p>
126+ : <p>Oblique Mercator projection is a sphere to cylinder projection.</p>
127+ : <p>This projection results in a conformal output, meaning the shape of small areas is preserved,
128 : no matter the distance from the origin. But it is not equal area, meaning the area size increases heavily
129 : when getting closer to North or South. The area size increases with the same amount on x and y axes,
130- : so the relative shape remains almost the same. <br/>
131- : Mercator projection is the oldest projection, and it is still widely used because it produces a rectangular map.
132- : This projection is used in Google Maps because of its conformal output. <br/>
133- : For military or measurements purposes the UTM projection is used (or variants). This splits the Earth into small
134- : areas and computes the cartesian coordinates relative to each area.<br/>
135- : <br/>
136- : Here we use Oblique Mercator projection. Its advantage over the normal Mercator is that you can set the tangent point
137+ : so the relative shape remains almost the same.</p>
138+ : <p>Mercator projection is the oldest projection, and it is still widely used because it produces a rectangular map.</p>
139+ : <p>This projection is used in Google Maps because of its conformal output.</p>
140+ : <p>For military or measurements purposes the UTM projection is used (or variants). This splits the Earth into small
141+ : areas and computes the cartesian coordinates relative to each area.</p>
142+ : <p/>
143+ : <p>Here we use Oblique Mercator projection. Its advantage over the normal Mercator is that you can set the tangent point
144 : between the cylinder and the sphere to be anywhere on Earth. So you can set the center of the map to be close
145- : to the area you want projected and be able to measure accurately the distances between points and lines.
146- : The map deformation is minimal close to the center point and close to the "equator" line.<br/>
147- : The advantage over the UTM projection is that it can also produce a global rectangular map, like Mercator,
148- : which is great for viewing.<br/>
149- : The disadvantage over Mercator is that it needs more processing power.<br/>
150- : <br/>
151- : WGS84 is the ellipsoid aproximation of the Earth, with big radius of 6,378,137 m and small radius of 6,356,752.3 m.
152- : The geographic coordinates expressed for this ellipsoid are widely used today in maps and gps coordinates.
153- : It is the default standard for representing geographic coordinates.<br/>
154- : <br/>
155- : The purpose of this module is to provide convertion from polar to cartesian coordinates, so you can
156- : process the geographic data with the Simple Features API functions implemented in the geo module.
157- : That module works only with cartesian coordinates, but most maps have polar coordinates. <br/>
158- : <br/>
159- : The projection formulas are taken from lib_proj library and implemented in XQuery.
160+ : to the area you want projected and be able to measure accurately the distances between points and lines.</p>
161+ : <p>The map deformation is minimal close to the center point and close to the "equator" line.</p>
162+ : <p>The advantage over the UTM projection is that it can also produce a global rectangular map, like Mercator,
163+ : which is great for viewing.</p>
164+ : <p>The disadvantage over Mercator is that it needs more processing power.</p>
165+ : <p/>
166+ : <p>WGS84 is the ellipsoid aproximation of the Earth, with big radius of 6,378,137 m and small radius of 6,356,752.3 m.</p>
167+ : <p>The geographic coordinates expressed for this ellipsoid are widely used today in maps and gps coordinates.</p>
168+ : <p>It is the default standard for representing geographic coordinates.</p>
169+ : <p/>
170+ : <p>The purpose of this module is to provide convertion from polar to cartesian coordinates, so you can
171+ : process the geographic data with the Simple Features API functions implemented in the geo module.</p>
172+ : <p>That module works only with cartesian coordinates, but most maps have polar coordinates.</p>
173+ : <p/>
174+ : <p>The projection formulas are taken from lib_proj library and implemented in XQuery.</p>
175 :
176 : @author Daniel Turcanu
177 : @project Zorba/Geo Projection
178 :)
179-module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
180+module namespace geoproj = "http://zorba.io/modules/geoproj";
181
182 (:~
183- : W3C Math namespace URI.
184+ : <p>W3C Math namespace URI.</p>
185 :)
186 declare namespace math="http://www.w3.org/2005/xpath-functions/math";
187
188 declare namespace err = "http://www.w3.org/2005/xqt-errors";
189
190 (:~
191- : Import module for checking if geoproj parameters are validated.
192+ : <p>Import module for checking if geoproj parameters are validated.</p>
193 :)
194 import module namespace schemaOptions = "http://www.zorba-xquery.com/modules/schema";
195
196
197 (:~
198- : Contains the definitions of the geoproj parameters.
199-:)
200-import schema namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
201+ : <p>Contains the definitions of the geoproj parameters.</p>
202+ :)
203+import schema namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
204
205 declare namespace gml="http://www.opengis.net/gml";
206
207@@ -76,8 +76,8 @@
208 declare option ver:module-version "1.0";
209
210 (:~
211- : Convert angle from degrees to radians. <br/>
212- : The parameter is first reduced to value range of (-360, 360).
213+ : <p>Convert angle from degrees to radians.</p>
214+ : <p>The parameter is first reduced to value range of (-360, 360).</p>
215 :
216 : @param $deg angle in degrees
217 : @return value in radians (-2PI, 2PI)
218@@ -88,7 +88,7 @@
219 };
220
221 (:~
222- : Convert angle from radians to degrees. <br/>
223+ : <p>Convert angle from radians to degrees.</p>
224 :
225 : @param $rad value in radians
226 : @return value in degrees (-360, 360)
227@@ -100,7 +100,7 @@
228
229
230 (:~
231- : Compute the isometric latitude of $phi latitude.
232+ : <p>Compute the isometric latitude of $phi latitude.</p>
233 :
234 : @param $phi a latitude
235 : @return isometric latitude in radians
236@@ -169,36 +169,36 @@
237 };
238
239 (:~
240- : Forward projection from geographic coordinates lat-long on WGS84 ellipsoid to Oblique Mercator cylinder.<br/>
241- : The Oblique Mercator projection is like the standard Mercator projection, but you can choose the point of origin.<br/>
242- : Specify the coordinates of the center point somewhere near the points being projected,
243- : so the projection deformation is small.<br/>
244- : The azimuth in the center point, alpha, is hardcoded to zero, so the true north is preserved.
245- : This is a simplification of the standard Oblique Mercator projection. <br/>
246- : Gamma, the azimuth of the rectified bearing of center line is also zero, calculated from alpha.<br/>
247- : <br/>
248- : The radius of the Earth in WGS84 is 6378137 m.<br/>
249- : Reverse flatening 298.257223563.<br/>
250- : Eccentricity e 0.0818192.<br/>
251- :<br/>
252+ : <p>Forward projection from geographic coordinates lat-long on WGS84 ellipsoid to Oblique Mercator cylinder.</p>
253+ : <p>The Oblique Mercator projection is like the standard Mercator projection, but you can choose the point of origin.</p>
254+ : <p>Specify the coordinates of the center point somewhere near the points being projected,
255+ : so the projection deformation is small.</p>
256+ : <p>The azimuth in the center point, alpha, is hardcoded to zero, so the true north is preserved.</p>
257+ : <p>This is a simplification of the standard Oblique Mercator projection.</p>
258+ : <p>Gamma, the azimuth of the rectified bearing of center line is also zero, calculated from alpha.</p>
259+ : <p/>
260+ : <p>The radius of the Earth in WGS84 is 6378137 m.</p>
261+ : <p>Reverse flatening 298.257223563.</p>
262+ : <p>Eccentricity e 0.0818192.</p>
263+ :
264 : @param $lat_0 is the latitude for center point, in degrees (-90, 90)
265 : @param $long_c is the longitude for center point, in degrees (-180, 180)
266 : @param $k0 is the scale in the center point. The scale will increase when going far to north and south.
267 : Use value 1 to get the true distances between points, in meters.
268 : At equator, the distance for 1 degree is aproximately 110 km.
269- : @param $lat_long_degrees a sequence of nodes of type <br/>
270- : &lt;latlong&gt;&lt;lat&gt;<i>latitude degree</i>&lt;/lat&gt;&lt;long&gt;<i>longitude degree</i>&lt;/long&gt;&lt;/latlong&gt;<br/>
271- : in namespace "http://www.zorba-xquery.com/modules/geoproj-param". Each node in the sequence is validated
272+ : @param $lat_long_degrees a sequence of nodes of type
273+ : &lt;latlong&gt;&lt;lat&gt;<i>latitude degree</i>&lt;/lat&gt;&lt;long&gt;<i>longitude degree</i>&lt;/long&gt;&lt;/latlong&gt;
274+ : in namespace "http://zorba.io/modules/geoproj-param". Each node in the sequence is validated
275 : against the according schema.
276 :
277 : @error err:XQDY0027 if any of the nodes passed in the $lat-long-degress parameter is
278 : not valid according to the schema.
279 :
280- : @return a sequence of x-y coordinates in format <br/>
281- : &lt;coord&gt;&lt;x&gt;<i>x</i>&lt;/x&gt;&lt;y&gt;<i>y</i>&lt;/y&gt;&lt;/coord&gt; <br/>
282- : in namespace "http://www.zorba-xquery.com/modules/geoproj-param" <br/>
283- : Note that the x coordinate corresponds to the longitude, and y coordinate to the latitude.<br/>
284- : The coordinates are expressed in meters.<br/>
285+ : @return a sequence of x-y coordinates in format
286+ : &lt;coord&gt;&lt;x&gt;<i>x</i>&lt;/x&gt;&lt;y&gt;<i>y</i>&lt;/y&gt;&lt;/coord&gt;
287+ : in namespace "http://zorba.io/modules/geoproj-param"
288+ : Note that the x coordinate corresponds to the longitude, and y coordinate to the latitude.
289+ : The coordinates are expressed in meters.
290 : The coordinates are relative to the center point.
291 @example test/Queries/geo/geoproj1.xq
292 @example test/Queries/geo/geoproj5.xq
293@@ -226,24 +226,24 @@
294
295
296 (:~
297- : Forward projection from geographic coordinates lat-long on WGS84 ellipsoid to Oblique Mercator cylinder.<br/>
298- : This is an intermediate function for wgs84-to-omerc.<br/>
299- : The difference is that it returns the x-y coordinates in gml:pos format,
300- : gml being the prefix for the GML namespace "http://www.opengis.net/gml".<br/>
301- :<br/>
302+ : <p>Forward projection from geographic coordinates lat-long on WGS84 ellipsoid to Oblique Mercator cylinder.</p>
303+ : <p>This is an intermediate function for wgs84-to-omerc.</p>
304+ : <p>The difference is that it returns the x-y coordinates in gml:pos format,
305+ : gml being the prefix for the GML namespace "http://www.opengis.net/gml".</p>
306+ :
307 : @param $lat_0 is the latitude for center point, in degrees (-90, 90)
308 : @param $long_c is the longitude for center point, in degrees (-180, 180)
309 : @param $k0 is the scale in the center point.
310- : @param $lat_long_degrees a sequence of nodes of type <br/>
311- : &lt;latlong&gt;&lt;lat&gt;<i>latitude degree</i>&lt;/lat&gt;&lt;long&gt;<i>longitude degree</i>&lt;/long&gt;&lt;/latlong&gt;<br/>
312- : in namespace "http://www.zorba-xquery.com/modules/geoproj-param". Each node in this sequence is validated according
313+ : @param $lat_long_degrees a sequence of nodes of type
314+ : &lt;latlong&gt;&lt;lat&gt;<i>latitude degree</i>&lt;/lat&gt;&lt;long&gt;<i>longitude degree</i>&lt;/long&gt;&lt;/latlong&gt;
315+ : in namespace "http://zorba.io/modules/geoproj-param". Each node in this sequence is validated according
316 : to the according schema.
317 :
318 : @error err:XQDY0027 if any of the nodes passed in the $lat-long-degress parameter is
319 : not valid according to the schema.
320 :
321- : @return a sequence of x-y coordinates in format <br/>
322- : &lt;gml:pos&gt;<i>x</i> <i>y</i>&lt;/gml:pos&gt; <br/>
323+ : @return a sequence of x-y coordinates in format
324+ : &lt;gml:pos&gt;<i>x</i> <i>y</i>&lt;/gml:pos&gt;
325 : in namespace "http://www.opengis.net/gml"
326 @example test/Queries/geo/geoproj3.xq
327 :)
328@@ -274,7 +274,7 @@
329 };
330
331 (:~
332- : Function for iterative computing of the inverse isometric latitude.
333+ : <p>Function for iterative computing of the inverse isometric latitude.</p>
334 :
335 : @param $i the maximum iterations
336 : @param $ts precomputed value
337@@ -298,7 +298,7 @@
338 };
339
340 (:~
341- : Function for computing the inverse isometric latitude.
342+ : <p>Function for computing the inverse isometric latitude.</p>
343 :
344 : @param $ts precomputed value, based on an initial latitude.
345 : @param $e the Earth eccentricity. For WGS84 is hardcoded to 0.0818192.
346@@ -312,27 +312,27 @@
347 };
348
349 (:~
350- : Inverse projection from cartesian coordinates on Oblique Mercator cylinder
351- : to geographic coordinates lat-long on WGS84 ellipsoid.<br/>
352- : The parameters for center point and scale should be the same as for the initial forward projection,
353- : otherwise you will get wrong results.<br/>
354- : <br/>
355- :<br/>
356+ : <p>Inverse projection from cartesian coordinates on Oblique Mercator cylinder
357+ : to geographic coordinates lat-long on WGS84 ellipsoid.</p>
358+ : <p>The parameters for center point and scale should be the same as for the initial forward projection,
359+ : otherwise you will get wrong results.</p>
360+ :
361+ :
362 : @param $lat_0 is the latitude for center point, in degrees (-90, 90)
363 : @param $long_c is the longitude for center point, in degrees (-180, 180)
364 : @param $k0 is the scale in the center point.
365- : @param $coords a sequence of nodes of type <br/>
366- : &lt;coord&gt;&lt;x&gt;<i>x</i>&lt;/x&gt;&lt;y&gt;<i>y</i>&lt;/y&gt;&lt;/coord&gt; <br/>
367- : in namespace "http://www.zorba-xquery.com/modules/geoproj-param"<br/>
368+ : @param $coords a sequence of nodes of type
369+ : &lt;coord&gt;&lt;x&gt;<i>x</i>&lt;/x&gt;&lt;y&gt;<i>y</i>&lt;/y&gt;&lt;/coord&gt;
370+ : in namespace "http://zorba.io/modules/geoproj-param"
371 : The coordinates are expressed in meters.
372 :
373 : @error err:XQDY0027 if any of the coordinates passed in the $coords parameter is
374 : not valid according to the schema.
375 :
376- : @return a sequence of geographic coordinates in format <br/>
377- : &lt;latlong&gt;&lt;lat&gt;<i>latitude degree</i>&lt;/lat&gt;&lt;long&gt;<i>longitude degree</i>&lt;/long&gt;&lt;/latlong&gt;<br/>
378- : in namespace "http://www.zorba-xquery.com/modules/geoproj-param"<br/>
379- : Note that the longitude corresponds to the x coordinate, and the latitude to the y coordinate.<br/>
380+ : @return a sequence of geographic coordinates in format
381+ : &lt;latlong&gt;&lt;lat&gt;<i>latitude degree</i>&lt;/lat&gt;&lt;long&gt;<i>longitude degree</i>&lt;/long&gt;&lt;/latlong&gt;
382+ : in namespace "http://zorba.io/modules/geoproj-param"
383+ : Note that the longitude corresponds to the x coordinate, and the latitude to the y coordinate.
384 @example test/Queries/geo/geoproj2.xq
385 @example test/Queries/geo/geoproj7.xq
386 @example test/Queries/geo/geoproj11.xq
387@@ -403,21 +403,21 @@
388 };
389
390 (:~
391- : Inverse projection from cartesian coordinates on Oblique Mercator cylinder
392- : to geographic coordinates lat-long on WGS84 ellipsoid.<br/>
393- : This is an intermediate function for omerc-to-wgs84.<br/>
394- : The difference is that it works with coordinates in gml:pos format,
395- : gml being the prefix for the GML namespace "http://www.opengis.net/gml".<br/>
396- :<br/>
397+ : <p>Inverse projection from cartesian coordinates on Oblique Mercator cylinder
398+ : to geographic coordinates lat-long on WGS84 ellipsoid.</p>
399+ : <p>This is an intermediate function for omerc-to-wgs84.</p>
400+ : <p>The difference is that it works with coordinates in gml:pos format,
401+ : gml being the prefix for the GML namespace "http://www.opengis.net/gml".</p>
402+ :
403 : @param $lat_0 is the latitude for center point, in degrees (-90, 90)
404 : @param $long_c is the longitude for center point, in degrees (-180, 180)
405 : @param $k0 is the scale in the center point.
406- : @param $gmlposs a sequence of nodes of type <br/>
407- : &lt;gml:pos&gt;<i>x</i> <i>y</i>&lt;/gml:pos&gt; <br/>
408+ : @param $gmlposs a sequence of nodes of type
409+ : &lt;gml:pos&gt;<i>x</i> <i>y</i>&lt;/gml:pos&gt;
410 : in namespace "http://www.opengis.net/gml"
411- : @return a sequence of geographic coordinates in format <br/>v
412- : &lt;latlong&gt;&lt;lat&gt;<i>latitude degree</i>&lt;/lat&gt;&lt;long&gt;<i>longitude degree</i>&lt;/long&gt;&lt;/latlong&gt;<br/>
413- : in namespace "http://www.zorba-xquery.com/modules/geoproj-param"
414+ : @return a sequence of geographic coordinates in format v
415+ : &lt;latlong&gt;&lt;lat&gt;<i>latitude degree</i>&lt;/lat&gt;&lt;long&gt;<i>longitude degree</i>&lt;/long&gt;&lt;/latlong&gt;
416+ : in namespace "http://zorba.io/modules/geoproj-param"
417 @example test/Queries/geo/geoproj4.xq
418 :)
419 declare function geoproj:omerc-gmlpos-to-wgs84($lat_0 as xs:double,
420@@ -435,18 +435,18 @@
421 };
422
423 (:~
424- : Convertion from Degrees-Minutes-Seconds (DMS) to Degrees.<br/>
425- : The values for DMS can be like 11d12'13", meaning 11 degrees, 12 minutes and 13 seconds.<br/>
426- : One degree has 60 minutes, and one minute has 60 seconds.<br/>
427- : The separator for degrees can be one of the characters [dDoO].<br/>
428- : The separator for minutes can be one of the characters ['m].<br/>
429- : The separator for seconds can be " or nothing.<br/>
430- : The seconds can be a floating point number.<br/>
431- : <br/>
432- : The seconds can be missing, and if it is missing, the minutes can be missing too.<br/>
433- : The negative value can be expressed as -11d12'13" or 11d12'13"S or 11d12'13"W.
434- : Values for N (North) and E (East) are positive, and S (South) and W (West) are negative.
435- :<br/>
436+ : <p>Convertion from Degrees-Minutes-Seconds (DMS) to Degrees.</p>
437+ : <p>The values for DMS can be like 11d12'13", meaning 11 degrees, 12 minutes and 13 seconds.</p>
438+ : <p>One degree has 60 minutes, and one minute has 60 seconds.</p>
439+ : <p>The separator for degrees can be one of the characters [dDoO].</p>
440+ : <p>The separator for minutes can be one of the characters ['m].</p>
441+ : <p>The separator for seconds can be " or nothing.</p>
442+ : <p>The seconds can be a floating point number.</p>
443+ : <p/>
444+ : <p>The seconds can be missing, and if it is missing, the minutes can be missing too.</p>
445+ : <p>The negative value can be expressed as -11d12'13" or 11d12'13"S or 11d12'13"W.</p>
446+ : <p>Values for N (North) and E (East) are positive, and S (South) and W (West) are negative.</p>
447+ :
448 : @param $dms the degree-minutes-seconds string expressed in the format described above
449 : @return the value in degrees
450 @example test/Queries/geo/dms1.xq
451@@ -494,8 +494,8 @@
452 };
453
454 (:~
455- : Convertion from Degrees to Degrees-Minutes-Seconds (DMS).<br/>
456- : <br/>
457+ : <p>Convertion from Degrees to Degrees-Minutes-Seconds (DMS).</p>
458+ :
459 : @param $deg the degree value
460 : @return the value in DMS format, <i>[-]degree</i><b>d</b><i>minutes</i><b>'</b><i>seconds</i>
461 @example test/Queries/geo/dms2.xq
462
463=== modified file 'test/ExpQueryResults/geo/geoproj1.xml.res'
464--- test/ExpQueryResults/geo/geoproj1.xml.res 2011-02-23 12:55:52 +0000
465+++ test/ExpQueryResults/geo/geoproj1.xml.res 2013-06-19 19:41:25 +0000
466@@ -1,5 +1,5 @@
467 <?xml version="1.0" encoding="UTF-8"?>
468-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
469+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
470 <geoproj-param:x>109292.73684961209</geoproj-param:x>
471 <geoproj-param:y>110793.18638310062</geoproj-param:y>
472 </geoproj-param:coord>
473\ No newline at end of file
474
475=== modified file 'test/ExpQueryResults/geo/geoproj10.xml.res'
476--- test/ExpQueryResults/geo/geoproj10.xml.res 2011-02-23 12:55:52 +0000
477+++ test/ExpQueryResults/geo/geoproj10.xml.res 2013-06-19 19:41:25 +0000
478@@ -1,9 +1,9 @@
479 <?xml version="1.0" encoding="UTF-8"?>
480-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
481+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
482 <geoproj-param:x>0</geoproj-param:x>
483 <geoproj-param:y>-110618.44951571905</geoproj-param:y>
484 </geoproj-param:coord>
485-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
486+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
487 <geoproj-param:x>0</geoproj-param:x>
488 <geoproj-param:y>2.3223354824420721E6</geoproj-param:y>
489 </geoproj-param:coord>
490\ No newline at end of file
491
492=== modified file 'test/ExpQueryResults/geo/geoproj11.xml.res'
493--- test/ExpQueryResults/geo/geoproj11.xml.res 2011-02-23 12:55:52 +0000
494+++ test/ExpQueryResults/geo/geoproj11.xml.res 2013-06-19 19:41:25 +0000
495@@ -1,5 +1,5 @@
496 <?xml version="1.0" encoding="UTF-8"?>
497-<geoproj-param:latlong xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
498+<geoproj-param:latlong xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
499 <geoproj-param:lat>-11.000065662385046</geoproj-param:lat>
500 <geoproj-param:long>0</geoproj-param:long>
501 </geoproj-param:latlong>
502\ No newline at end of file
503
504=== modified file 'test/ExpQueryResults/geo/geoproj12.xml.res'
505--- test/ExpQueryResults/geo/geoproj12.xml.res 2011-02-23 12:55:52 +0000
506+++ test/ExpQueryResults/geo/geoproj12.xml.res 2013-06-19 19:41:25 +0000
507@@ -1,9 +1,9 @@
508 <?xml version="1.0" encoding="UTF-8"?>
509-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
510+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
511 <geoproj-param:x>34417.375607682858</geoproj-param:x>
512 <geoproj-param:y>-6.7723638717972031E6</geoproj-param:y>
513 </geoproj-param:coord>
514-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
515+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
516 <geoproj-param:x>38106.644879161235</geoproj-param:x>
517 <geoproj-param:y>8.983207725162318E6</geoproj-param:y>
518 </geoproj-param:coord>
519\ No newline at end of file
520
521=== modified file 'test/ExpQueryResults/geo/geoproj2.xml.res'
522--- test/ExpQueryResults/geo/geoproj2.xml.res 2011-02-23 12:55:52 +0000
523+++ test/ExpQueryResults/geo/geoproj2.xml.res 2013-06-19 19:41:25 +0000
524@@ -1,5 +1,5 @@
525 <?xml version="1.0" encoding="UTF-8"?>
526-<geoproj-param:latlong xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
527+<geoproj-param:latlong xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
528 <geoproj-param:lat>11</geoproj-param:lat>
529 <geoproj-param:long>11</geoproj-param:long>
530 </geoproj-param:latlong>
531\ No newline at end of file
532
533=== modified file 'test/ExpQueryResults/geo/geoproj4.xml.res'
534--- test/ExpQueryResults/geo/geoproj4.xml.res 2011-02-23 12:55:52 +0000
535+++ test/ExpQueryResults/geo/geoproj4.xml.res 2013-06-19 19:41:25 +0000
536@@ -1,5 +1,5 @@
537 <?xml version="1.0" encoding="UTF-8"?>
538-<geoproj-param:latlong xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
539+<geoproj-param:latlong xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
540 <geoproj-param:lat>11</geoproj-param:lat>
541 <geoproj-param:long>11</geoproj-param:long>
542 </geoproj-param:latlong>
543\ No newline at end of file
544
545=== modified file 'test/ExpQueryResults/geo/geoproj5.xml.res'
546--- test/ExpQueryResults/geo/geoproj5.xml.res 2011-02-23 12:55:52 +0000
547+++ test/ExpQueryResults/geo/geoproj5.xml.res 2013-06-19 19:41:25 +0000
548@@ -1,5 +1,5 @@
549 <?xml version="1.0" encoding="UTF-8"?>
550-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
551+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
552 <geoproj-param:x>109292.73684961209</geoproj-param:x>
553 <geoproj-param:y>110793.18638310062</geoproj-param:y>
554 </geoproj-param:coord>
555\ No newline at end of file
556
557=== modified file 'test/ExpQueryResults/geo/geoproj6.xml.res'
558--- test/ExpQueryResults/geo/geoproj6.xml.res 2011-02-23 12:55:52 +0000
559+++ test/ExpQueryResults/geo/geoproj6.xml.res 2013-06-19 19:41:25 +0000
560@@ -1,9 +1,9 @@
561 <?xml version="1.0" encoding="UTF-8"?>
562-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
563+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
564 <geoproj-param:x>547086.3150955874</geoproj-param:x>
565 <geoproj-param:y>115174.5700163616</geoproj-param:y>
566 </geoproj-param:coord>
567-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
568+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
569 <geoproj-param:x>545150.00927157491</geoproj-param:x>
570 <geoproj-param:y>226184.45457291827</geoproj-param:y>
571 </geoproj-param:coord>
572\ No newline at end of file
573
574=== modified file 'test/ExpQueryResults/geo/geoproj7.xml.res'
575--- test/ExpQueryResults/geo/geoproj7.xml.res 2011-02-23 12:55:52 +0000
576+++ test/ExpQueryResults/geo/geoproj7.xml.res 2013-06-19 19:41:25 +0000
577@@ -1,9 +1,9 @@
578 <?xml version="1.0" encoding="UTF-8"?>
579-<geoproj-param:latlong xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
580+<geoproj-param:latlong xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
581 <geoproj-param:lat>11</geoproj-param:lat>
582 <geoproj-param:long>102</geoproj-param:long>
583 </geoproj-param:latlong>
584-<geoproj-param:latlong xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
585+<geoproj-param:latlong xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
586 <geoproj-param:lat>12</geoproj-param:lat>
587 <geoproj-param:long>102</geoproj-param:long>
588 </geoproj-param:latlong>
589\ No newline at end of file
590
591=== modified file 'test/ExpQueryResults/geo/geoproj8.xml.res'
592--- test/ExpQueryResults/geo/geoproj8.xml.res 2011-02-23 12:55:52 +0000
593+++ test/ExpQueryResults/geo/geoproj8.xml.res 2013-06-19 19:41:25 +0000
594@@ -1,9 +1,9 @@
595 <?xml version="1.0" encoding="UTF-8"?>
596-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
597+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
598 <geoproj-param:x>-218616.56181767309</geoproj-param:x>
599 <geoproj-param:y>111339.45363464409</geoproj-param:y>
600 </geoproj-param:coord>
601-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
602+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
603 <geoproj-param:x>-217845.99308707233</geoproj-param:x>
604 <geoproj-param:y>222020.3879810845</geoproj-param:y>
605 </geoproj-param:coord>
606\ No newline at end of file
607
608=== modified file 'test/ExpQueryResults/geo/geoproj9.xml.res'
609--- test/ExpQueryResults/geo/geoproj9.xml.res 2011-02-23 12:55:52 +0000
610+++ test/ExpQueryResults/geo/geoproj9.xml.res 2013-06-19 19:41:25 +0000
611@@ -1,5 +1,5 @@
612 <?xml version="1.0" encoding="UTF-8"?>
613-<geoproj-param:coord xmlns:geoproj-param="http://www.zorba-xquery.com/modules/geoproj-param">
614+<geoproj-param:coord xmlns:geoproj-param="http://zorba.io/modules/geoproj-param">
615 <geoproj-param:x>0</geoproj-param:x>
616 <geoproj-param:y>-221150.04824675474</geoproj-param:y>
617 </geoproj-param:coord>
618\ No newline at end of file
619
620=== modified file 'test/Queries/geo/dms1.xq'
621--- test/Queries/geo/dms1.xq 2011-02-23 12:55:52 +0000
622+++ test/Queries/geo/dms1.xq 2013-06-19 19:41:25 +0000
623@@ -1,4 +1,4 @@
624-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
625+import module namespace geoproj = "http://zorba.io/modules/geoproj";
626
627 (geoproj:dms-to-deg("10d10'10"),
628 geoproj:dms-to-deg("10d"),
629
630=== modified file 'test/Queries/geo/dms2.xq'
631--- test/Queries/geo/dms2.xq 2011-02-23 12:55:52 +0000
632+++ test/Queries/geo/dms2.xq 2013-06-19 19:41:25 +0000
633@@ -1,4 +1,4 @@
634-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
635+import module namespace geoproj = "http://zorba.io/modules/geoproj";
636
637 (geoproj:deg-to-dms(10.169444444444444),
638 geoproj:deg-to-dms(10),
639
640=== modified file 'test/Queries/geo/geoproj1.xq'
641--- test/Queries/geo/geoproj1.xq 2011-02-23 12:55:52 +0000
642+++ test/Queries/geo/geoproj1.xq 2013-06-19 19:41:25 +0000
643@@ -1,5 +1,5 @@
644-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
645-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
646+import module namespace geoproj = "http://zorba.io/modules/geoproj";
647+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
648
649 geoproj:wgs84-to-omerc(10, 10, 1,
650 <geoproj-param:latlong>
651
652=== modified file 'test/Queries/geo/geoproj10.xq'
653--- test/Queries/geo/geoproj10.xq 2011-02-23 12:55:52 +0000
654+++ test/Queries/geo/geoproj10.xq 2013-06-19 19:41:25 +0000
655@@ -1,5 +1,5 @@
656-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
657-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
658+import module namespace geoproj = "http://zorba.io/modules/geoproj";
659+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
660
661 geoproj:wgs84-to-omerc(-11, 0, 1,
662 (<geoproj-param:latlong>
663
664=== modified file 'test/Queries/geo/geoproj11.xq'
665--- test/Queries/geo/geoproj11.xq 2011-02-23 12:55:52 +0000
666+++ test/Queries/geo/geoproj11.xq 2013-06-19 19:41:25 +0000
667@@ -1,5 +1,5 @@
668-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
669-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
670+import module namespace geoproj = "http://zorba.io/modules/geoproj";
671+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
672
673 geoproj:omerc-to-wgs84(-10, 0, 1,
674 (<geoproj-param:coord>
675
676=== modified file 'test/Queries/geo/geoproj12.xq'
677--- test/Queries/geo/geoproj12.xq 2011-02-23 12:55:52 +0000
678+++ test/Queries/geo/geoproj12.xq 2013-06-19 19:41:25 +0000
679@@ -1,5 +1,5 @@
680-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
681-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
682+import module namespace geoproj = "http://zorba.io/modules/geoproj";
683+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
684
685 geoproj:wgs84-to-omerc(-11, 169, 1,
686 (<geoproj-param:latlong>
687
688=== modified file 'test/Queries/geo/geoproj2.xq'
689--- test/Queries/geo/geoproj2.xq 2011-02-23 12:55:52 +0000
690+++ test/Queries/geo/geoproj2.xq 2013-06-19 19:41:25 +0000
691@@ -1,5 +1,5 @@
692-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
693-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
694+import module namespace geoproj = "http://zorba.io/modules/geoproj";
695+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
696
697 geoproj:omerc-to-wgs84(10, 10, 1,
698 (<geoproj-param:coord>
699
700=== modified file 'test/Queries/geo/geoproj3.xq'
701--- test/Queries/geo/geoproj3.xq 2011-02-23 12:55:52 +0000
702+++ test/Queries/geo/geoproj3.xq 2013-06-19 19:41:25 +0000
703@@ -1,5 +1,5 @@
704-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
705-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
706+import module namespace geoproj = "http://zorba.io/modules/geoproj";
707+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
708
709 geoproj:wgs84-to-omerc-gmlpos(10, 10, 1 div 1000,
710 <geoproj-param:latlong>
711
712=== modified file 'test/Queries/geo/geoproj4.xq'
713--- test/Queries/geo/geoproj4.xq 2011-02-23 12:55:52 +0000
714+++ test/Queries/geo/geoproj4.xq 2013-06-19 19:41:25 +0000
715@@ -1,4 +1,4 @@
716-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
717+import module namespace geoproj = "http://zorba.io/modules/geoproj";
718 declare namespace gml="http://www.opengis.net/gml";
719
720 geoproj:omerc-gmlpos-to-wgs84(10, 10, 1 div 1000,
721
722=== modified file 'test/Queries/geo/geoproj5.xq'
723--- test/Queries/geo/geoproj5.xq 2011-02-23 12:55:52 +0000
724+++ test/Queries/geo/geoproj5.xq 2013-06-19 19:41:25 +0000
725@@ -1,5 +1,5 @@
726-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
727-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
728+import module namespace geoproj = "http://zorba.io/modules/geoproj";
729+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
730
731 geoproj:wgs84-to-omerc(10, 100, 1,
732 <geoproj-param:latlong>
733
734=== modified file 'test/Queries/geo/geoproj6.xq'
735--- test/Queries/geo/geoproj6.xq 2011-02-23 12:55:52 +0000
736+++ test/Queries/geo/geoproj6.xq 2013-06-19 19:41:25 +0000
737@@ -1,5 +1,5 @@
738-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
739-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
740+import module namespace geoproj = "http://zorba.io/modules/geoproj";
741+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
742
743 geoproj:wgs84-to-omerc(10, 85, 1,
744 (<geoproj-param:latlong>
745
746=== modified file 'test/Queries/geo/geoproj7.xq'
747--- test/Queries/geo/geoproj7.xq 2011-02-23 12:55:52 +0000
748+++ test/Queries/geo/geoproj7.xq 2013-06-19 19:41:25 +0000
749@@ -1,5 +1,5 @@
750-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
751-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
752+import module namespace geoproj = "http://zorba.io/modules/geoproj";
753+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
754
755 geoproj:omerc-to-wgs84(10, 100, 1,
756 (<geoproj-param:coord>
757
758=== modified file 'test/Queries/geo/geoproj8.xq'
759--- test/Queries/geo/geoproj8.xq 2011-02-23 12:55:52 +0000
760+++ test/Queries/geo/geoproj8.xq 2013-06-19 19:41:25 +0000
761@@ -1,5 +1,5 @@
762-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
763-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
764+import module namespace geoproj = "http://zorba.io/modules/geoproj";
765+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
766
767 geoproj:wgs84-to-omerc(10, -100, 1,
768 (<geoproj-param:latlong>
769
770=== modified file 'test/Queries/geo/geoproj9.xq'
771--- test/Queries/geo/geoproj9.xq 2011-02-23 12:55:52 +0000
772+++ test/Queries/geo/geoproj9.xq 2013-06-19 19:41:25 +0000
773@@ -1,5 +1,5 @@
774-import module namespace geoproj = "http://www.zorba-xquery.com/modules/geoproj";
775-declare namespace geoproj-param = "http://www.zorba-xquery.com/modules/geoproj-param";
776+import module namespace geoproj = "http://zorba.io/modules/geoproj";
777+declare namespace geoproj-param = "http://zorba.io/modules/geoproj-param";
778
779 geoproj:wgs84-to-omerc(0, 0, 1,
780 (<geoproj-param:latlong>

Subscribers

People subscribed via source and target branches

to all changes: