Loading TOC...

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"/>)
  

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