
geo functions
The table below lists all the "geo" XQuery library functions (in this namespace: http://marklogic.com/geospatial).
The Geo module provides support for geospatial queries using GML, KML, GeoRSS/Simple, or Metacarta Geospatial markup.
To use the Geo module as part of your own XQuery module, include the following line in your XQuery prolog:
import module namespace geo = "http://marklogic.com/geospatial"
at "/MarkLogic/geospatial/geospatial.xqy";
The library namespace prefix geo is not predefined
in the server.
7 functions
| Function name | Description |
|---|---|
| geo:box | Create a cts:point value from an element representing a box in one of the supported markup vocabularies. |
| geo:circle | Create a cts:circle value from a radius and an element representing a point in one of the supported markup vocabularies. |
| geo:geospatial-query | Returns a cts:query matching points within given regions. |
| geo:geospatial-query-from-elements | Returns a cts:query matching points within given regions. |
| geo:interior-polygon | Create a sequence of cts:polygon values from a polygon element in one of the supported markup vocabularies. |
| geo:point | Create a cts:point value from an element representing a point in one of the supported markup vocabularies. |
| geo:polygon | Create a cts:polygon value from a sequence of point elements in one of the supported markup vocabularies. |
Copyright © 2010–2013 MarkLogic Corporation. All rights reserved. | Powered by
MarkLogic Server and rundmc.