Loading TOC...

MarkLogic 10 Product Documentation
cts.circle

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

Summary

Returns a geospatial circle value.

Parameters
radius The radius of the circle. The units for the radius is determined at runtime by the query options (miles is currently the only option).
center A point representing the center of the circle.

See Also

Example

cts.circle(20, cts.point(37.655983, -122.425525));

=> @20 37.655983,-122.42552 (as a cts.circle)

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