geo:circle( $radius as xs:double, $center as node() ) as cts:circle
Create a cts:circle value from a radius and a node representing a point in one of the supported markup vocabularies, such as KML, GML, or GeoJSON.
Parameters | |
---|---|
radius | The radius of the circle, in miles. |
center | A node representing the point at the center of the circle. |
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"/>)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.