
geo:interior-polygon( $polygon as node() ) as cts:polygon*
Create a sequence of cts:polygon values from a polygon node in one of the supported markup vocabularies, such as KML or GML. These polygons represent the interior polygons, if any.
| Parameters | |
|---|---|
| polygon | A node representing a polygon. |
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>
)