Loading TOC...

geokml.circle

geokml.circle(
   $radius as Number,
   $center as Node
) as cts.circle

Summary

Create a cts:circle value from a radius and KML Point or Location element.

Parameters
$radius The radius of the circle, in miles.
$center A KML Point or Location element representing the center of the circle.

Example

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

  geokml:circle(47, 
	 <kml:Point>
		 <kml:coordinates>-127.24,12.5</kml:coordinates>
	 </kml:Point>)
  

Comments

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