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

const geogml = require("/MarkLogic/geospatial/gml");  

const center = fn.head(xdmp.unquote(
  '<gml:Point xmlns:gml="http://www.opengis.net/gml/3.2">' + 
    '<gml:pos>12.5 -127.24</gml:pos>' +
  '</gml:Point>'
)).root;
geogml.circle(47, center);
  

Comments

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