Loading TOC...

MarkLogic Server 11.0 Product Documentation
geogml:circle

geogml:circle(
   $radius as xs:double,
   $center as element()
) as cts:circle

Summary

Create a cts:circle value from a radius and GML Point element.

Parameters
radius The radius of the circle, in miles.
center A GML Point element representing the center of the circle.

Example

xquery version "1.0-ml";
import module namespace geogml = "http://marklogic.com/geospatial/gml"
         at "/MarkLogic/geospatial/gml.xqy";
declare namespace gml="http://www.opengis.net/gml/3.2";

geogml:circle(47, 
  <gml:Point>
    <gml:pos>12.5 -127.24</gml:pos>
  </gml:Point>)
  

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