MarkLogic 10 Product Documentation
geogml:point

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

Summary

Create a cts:point value from a GML Point element.

Parameters
point A GML Point 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:point(
  <gml:Point>
    <gml:pos>12.5 -127.24</gml:pos>
  </gml:Point>
)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy