Loading TOC...

georss.circle

georss.circle(
   radius as Number,
   center as element(georss.point)
) as cts.circle

Summary

Create a cts:circle value from a radius and GeoRSS point 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 georss = "http://www.georss.org/georss"
         at "/MarkLogic/geospatial/georss.xqy";

  georss:circle(47, <georss:point>12.5 -127.24</georss:point>)
  

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