Loading TOC...

geogml.circle

geogml.circle(
   $radius as Number,
   $center as Node
) 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>)
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy