Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts.complexPolygon

cts.complexPolygon(
   outer as cts.polygon,
   inner as cts.polygon[]
) as cts.complexPolygon

Summary

Returns a geospatial complex polygon value.

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

See Also

Example

cts.complexPolygon(
  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.