Error: Stopped at D:/projects/xquery/geo test.xq, 1/57: [XQST0059] Module not found: http://expath.org/ns/geo.
Query: import module namespace geo = "http://expath.org/ns/geo"; declare namespace gml='http://www.opengis.net/gml'; for $x in db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, $x/south)</gml:coordinates> </gml:LinearRing> ) OS: Windows 7 Installation Method: Windows installer Launch: basexgui.bat I had this problem long ago. https://www.mail-archive.com/search?l=basex-talk@mailman.uni-konstanz.de&q=subject:%22%5C%5Bbasex%5C-talk%5C%5D+Geo+Module+Not+found%22&o=newest&f=1