MarkLogic Server 11.0 Product Documentation
georss:linestring

georss:linestring(
   $linestring as element(georss:line)
) as cts:linestring

Summary

Create a cts:linestring value from a GeoRSS line element.

Parameters
linestring A line element.

Example

  xquery version "1.0-ml";
  import module namespace georss = "http://www.georss.org/georss"
         at "/MarkLogic/geospatial/georss.xqy";

  georss:linestring(<georss:line>45.256 -110.45 46.46 -109.48 43.84 -109.86</georss:line>)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy