gml functions

The table below lists all the "gml" XQuery library functions (in this namespace: http://www.opengis.net/gml).

The GML module provides support for geospatial queries using GML markup.

To use the GML module as part of your own XQuery module, include the following line in your XQuery prolog:

import module namespace gml = "http://www.opengis.net/gml" at "/MarkLogic/geospatial/gml.xqy";

The library namespace prefix gml is not predefined in the server.

7 functions
Function nameDescription
gml:box Create a cts:box value from a GML Envelope element.
gml:circle Create a cts:circle value from a radius and GML Point element.
gml:geospatial-query Returns a cts:query matching points within given regions.
gml:geospatial-query-from-elements Returns a cts:query matching points within given regions.
gml:interior-polygon Create a sequence of cts:polygon values from a GML Polygon element.
gml:point Create a cts:point value from a GML Point element.
gml:polygon Create a cts:polygon value from a sequence of GML Point elements or a GML Polygon element.