MarkLogic 10 Product Documentation
mcgm:point

mcgm:point(
   $point as element(Dot)
) as cts:point

Summary

Create a cts:point value from a MCGM Dot element.

Parameters
point A Dot element.

Example

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

  mcgm:point(<Dot Latitude="12.5" Longitude="-127.24"/>)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy