Geo Module

This XQuery Module contains functions that may be applied to geometry data conforming to the Open Geospatial Consortium (OGC) Simple Feature (SF) data model. It is based on the EXPath Geo Module and uses the JTS library.

Geometries included in GML 2 are: Point, LineString, LinearRing, Polygon, MultiPoint, MultiLineString, MultiPolygon, and MultiGeometry. All nodes queried by BaseX should be a valid geometry. The only geometry type which is not supported by BaseX right now is MultiGeometry. Moreover, the module provides no support for GML 3.

=Conventions=


 * The module will be available if the basex-api library is found in the classpath. This is the case if you use one of the complete distributions of BaseX (zip, exe, war).
 * All functions are assigned to the  namespace, which is statically bound to the geo prefix.
 * All errors are assigned to the  namespace, which is statically bound to the experr prefix.

=General Functions=

geo:point-on-surface
=Spatial Predicate Functions=

geo:relate
=Analysis Functions=

geo:sym-difference
=Functions Specific to Geometry Type=

geo:interior-ring-n
=Errors=

=Changelog=

The module was introduced with Version 7.6.