Dear Gunther,

Great to hear that things are already possible. Can you please point me to some docs on how this is working?

Most of my use cases will be covered by Simple features (points, lines, polygon also in the multi form), geometry collections of one geometry type (so collections of eg multipoints only, but not multipoint and multipolygon in one collection) and curves defined by 3 points.
Functionality as described in http://expath.org/spec/geo does meet my needs.

regards, Marco
On 24-09-2025 18:52, Gunther Rademacher wrote:
Dear Marco,

thank you for your interest in the BaseX Geo Module.

Although unpublished, we currently have an updated version that works with both GML 2 and GML 3.2. It supports the basic geometry types (Point, Polygon, etc.), while more complex constructs, such as Feature Collections, are not covered. In practice, this means that the module can parse and process GML 3.2 geometries, but there are limitations with regard to the broader schema. The module has already been used successfully in customer projects with GML 3.2 data.

The functionality largely corresponds to the EXPath Geo Module specification, http://expath.org/spec/geo , with both GML 2 and their corresponding GML 3.2 geometries being recognized. Functions that return geometries will produce results in GML 2 or GML 3.2, depending on the input.

To better understand your situation, could you share which parts of GML 3 you rely on most - for example, specific geometry types? In addition, it might be helpful for you to review the EXPath specification and check whether the functions described there already meet your needs. This would give us a clearer picture of whether the current functionality is sufficient for your use case.

Best regards,
Gunther
Gesendet: Mittwoch, 24. September 2025 um 15:44
Von: "Marco Duiker - LandGoed via BaseX-Talk" <basex-talk@mailman.uni-konstanz.de>
An: basex-talk@mailman.uni-konstanz.de
Betreff: [basex-talk] gml3 support
Dear BaseX people,

As I use BaseX mainly for data containing a lot of geospatial information i'd love to see support for querying gml (3.x) in BaseX.

Google points me to some promising but very old materials (eg. https://files.basex.org/publications/Seydi%20Gheranghiyeh%20%5B2015%5D,%20Geospatial%20Processing%20in%20BaseX.pdf) which is already more than 10 years old.

I can see that the Geo module was removed at version 10 and only supported gml 2.

This leads me to a few questions. Any help greatly appreciated:

Regards, MArco

-- 
Marco Duiker
LandGoed
Technisch directeur
+31617115114

-- 
Marco Duiker
LandGoed
Technisch directeur
+31617115114