MarkLogic 10 Product Documentation
mcgm:circle

mcgm:circle(
   $radius as xs:double,
   $center as element(Dot)
) as cts:circle

Summary

Create a cts:circle value from a radius and MCGM Dot element.

Parameters
radius The radius of the circle, in miles.
center A Point element representing the center of the circle.

Example

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

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