MarkLogic Server 11.0 Product Documentation
geokml:circle

geokml:circle(
   $radius as xs:double,
   $center as element()
) 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>)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy