Loading TOC...

geo.linestring

geo.linestring(
   $linestring as Node
) as cts.linestring

Summary

Create a cts:linestring value from a node representing a linestring in one of the supported markup vocabularies.

Parameters
$linestring A node representing a linesting.

Example

  xquery version "1.0-ml";
  import module namespace geo = "http://marklogic.com/geospatial"
         at "/MarkLogic/geospatial/geospatial.xqy";

  geo:linestring(
     <kml:LineString id="ID">
       <kml:coordinates>-110.45,45.256  -109.48,46.46  -109.86,43.84</kml:coordinates>
     </kml:LineString>)
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy