Loading TOC...

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>)
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.