mcgm:circle( $radius as xs:double, $center as element(Dot) ) as cts:circle
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. |
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"/>)