Loading TOC...

geo.circle

geo.circle(
   $radius as Number,
   $center as Node
) as cts.circle

Summary

Create a cts:circle value from a radius and a node representing a point in one of the supported markup vocabularies.

Parameters
$radius The radius of the circle, in miles.
$center A node representing the point at the center of the circle.

Example

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

  geo:circle(47, <Dot Latitude="12.5" Longitude="-127.24"/>)
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy