MarkLogic Server 11.0 Product Documentation
georss functions (GeoRSS)

The GeoRSS module provides support for geospatial queries using GeoRSS/Simple XML markup.

To use the GeoRSS module in your Server-Side JavaScript code, include a require statement similar to following line in your code:

const gml = require('/MarkLogic/geospatial/georss.xqy');

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

8 functions
Function name Description
georss.circle Create a cts:circle value from a radius and GeoRSS point element.
georss.complexPolygon Create a cts:complex-polygon value from a GeoRSS "Polygon" element.
georss.geospatialQuery Returns a cts:query matching points within given regions.
georss.linestring Create a cts:linestring value from a GeoRSS line element.
georss.parseGeorss Construct zero or more cts:region values from GeoRSS XML elements.
georss.point Create a cts:point value from a GeoRSS point element.
georss.polygon Create a cts:polygon value from a sequence of GeoRSS point elements or a GeoRSS polygon element.
georss.toGeorss Convert cts:region values to GeoRSS XML elements.
Powered by MarkLogic Server | Terms of Use | Privacy Policy