Loading TOC...

MarkLogic 10 Product Documentation
cts:complex-polygon

cts:complex-polygon(
   $outer as cts:polygon,
   $inner as cts:polygon*
) as cts:complex-polygon

Summary

Returns a geospatial complex polygon value.

Parameters
outer The outer polygon.
inner The inner (hole) polygons.

See Also

Example

cts:complex-polygon(
  cts:polygon("0,0 10,0 10,10 0,10 0,0"),
  cts:polygon("5,0 7,0 7,5 5,5 5,0"))

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.