Geo Module Help
Thursday, 16 June 2016 · 2 messages · last reply 18 Jun 2016
GS
George Sofianos16 Jun 2016 17:05 #
I have some XML files with geographical data. I can see they are using "http://www.opengis.net/gml/3.2" for the gml namespace. If I try to run some geo functions I get the error: [experr:GEO0001] Unrecognized Geo type: Point
If I change the gml namespace to "http://www.opengis.net/gml" it runs fine. I don't know if it has to be fixed on the data level or it is something that BaseX needs to take care of. It's my first time I have to deal with XML geo data, so I'm clueless at the moment. Any thoughts? Thanks
CG
Christian Grün18 Jun 2016 14:50 #
Hi George,
as you have already found out, our Geo Module (and the used Java library) only supports GML 2.x. I have added a little comment to the Wiki article of the Geo Module.
Sorry for that
Christian
Quoted text · George Sofianos · 10 lines
On Thu, Jun 16, 2016 at 5:05 PM, George Sofianos <gsf.greece at gmail.com> wrote: > I have some XML files with geographical data. I can see they are using > "http://www.opengis.net/gml/3.2" for the gml namespace. If I try to run some > geo functions I get the error: [experr:GEO0001] Unrecognized Geo type: Point > > If I change the gml namespace to "http://www.opengis.net/gml" it runs fine. > I don't know if it has to be fixed on the data level or it is something that > BaseX needs to take care of. It's my first time I have to deal with XML geo > data, so I'm clueless at the moment. Any thoughts? Thanks >
Written for BaseX 8.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery