MarkLogic 9 Product Documentation
geogml:linestring

geogml:linestring(
   $linestring as element()
) as cts:linestring

Summary

Create a cts:linestring value from a GML LineString element.

Parameters
linestring A GML LineString element.

Example

  xquery version "1.0-ml";
  import module namespace geogml = "http://marklogic.com/geospatial/gml"
         at "/MarkLogic/geospatial/gml.xqy";
  declare namespace gml="http://www.opengis.net/gml/3.2";

  geogml:linestring(
    <gml:LineString>
      <gml:posList srsDimension="2">45.67 88.56 55.56 89.44</gml:posList>
    </gml:LineString>)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy