Loading TOC...

geogml.linestring

geogml.linestring(
   linestring as Node
) 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>)
  

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