geokml.linestring( linestring as Node ) as cts.linestring
Create a cts:linestring value from a KML LineString element.
Parameters | |
---|---|
linestring | A KML LineString element. |
xquery version "1.0-ml"; import module namespace geokml = "http://marklogic.com/geospatial/kml" at "/MarkLogic/geospatial/kml.xqy"; declare namespace kml="http://www.opengis.net/kml/2.2"; geokml:linestring( <kml:LineString id="ID"> <kml:coordinates>-110.45,45.256 -109.48,46.46 -109.86,43.84</kml:coordinates> </kml:LineString>)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.