Using geo module in BaseX GUI 7.7.2

Friday, 7 February 2014 · 2 messages
NB
Nathan Braun7 Feb 2014 18:15 #
Hi, when I want to use the geo functions out of the GUI, I get the error " [XPST0017] Function v not implemented." What could be possibly wrong? What I did: 1) enable geo module through Options->Packages->Install... 2) chose etc/modules/geo.xqm 3)In the Editor window, took an example from the Wiki http://docs.basex.org/wiki/Geo_Module
import module namespace geo = "http://expath.org/ns/geo";
declare namespace gml='http://www.opengis.net/gml';

let $point := <gml:Point><gml:coordinates>1,2</gml:coordinates></gml:Point>
return geo:dimension($point)
Is there anything else to consider? As far as jvisualvm says, the jars such as basex-api.jar and jts-1.13.jar are on the classpath. Any ideas? Thanks, Nathan
ZD
Zachary DeLuca7 Feb 2014 19:32 #
Nathan, Geo functionality for me works out of the box with no modifications. Go to Options->Packages and Delete what you added in step 2 and everything should work. When I do your steps 1 and 2, I also get "Function v not implemented." But Deleting the package makes it work again. Zach
Quoted text · Nathan Braun · 33 lines
On Fri, Feb 7, 2014 at 12:15 PM, Nathan Braun <nathan.braun at ebp.de> wrote: > Hi, > > when I want to use the geo functions out of the GUI, I get the error " > [XPST0017] Function v not implemented." > What could be possibly wrong? > > What I did: > > 1) enable geo module through Options->Packages->Install... > 2) chose etc/modules/geo.xqm > 3)In the Editor window, took an example from the Wiki > http://docs.basex.org/wiki/Geo_Module > > import module namespace geo = "http://expath.org/ns/geo"; > declare namespace gml='http://www.opengis.net/gml'; > > let $point := <gml:Point><gml:coordinates>1,2</gml:coordinates></gml:Point> > return geo:dimension($point) > > Is there anything else to consider? As far as jvisualvm says, the jars such > as basex-api.jar and jts-1.13.jar are on the classpath. > > Any ideas? > Thanks, > Nathan > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >

⚡Generated with XQuery