Loading TOC...

geo.interiorPolygon

geo.interiorPolygon(
   $polygon as Node
) as ValueIterator

Summary

Create a sequence of cts:polygon values from a polygon node in one of the supported markup vocabularies. These polygons represent the interior polygons, if any.

Parameters
$polygon A node representing a polygon.

Example

  xquery version "1.0-ml";
  import module namespace geo = "http://marklogic.com/geospatial"
      at "/MarkLogic/geospatial/geospatial.xqy";
  declare namespace georss= "http://www.georss.org/georss";

  (: Returns empty; no interior polygon in this format :)
  geo:interior-polygon( 
    <georss:polygon>
      12.5,-127.24 15.25,-127.8 13.45,-126.1 12.5,-127.24
    </georss:polygon>
  ) 
  

Comments

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