Loading TOC...

MarkLogic Server 11.0 Product Documentation
cts.complexPolygonOuter

cts.complexPolygonOuter(
   complexPolygon as cts.complexPolygon
) as cts.polygon?

Summary

Returns a complex polygon's outer polygon.

Parameters
complexPolygon The complex polygon.

See Also

Example

const node = {Arapahoe:"POLYGON(( \n\
            0.396982870000000E+02 -0.104935135000000E+03, \n\
            0.396965870000000E+02 -0.104938635000000E+03, \n\
            0.396965870000000E+02 -0.104938635000000E+03, \n\
            0.397110870000000E+02 -0.104931634000000E+03, \n\
            0.397066870000000E+02 -0.104926934000000E+03, \n\
            0.397012870000000E+02 -0.104932834000000E+03, \n\
            0.396971870000000E+02 -0.104928134000000E+03, \n\
            0.396965870000000E+02 -0.104928134000000E+03, \n\
            0.396965870000000E+02 -0.104928134000000E+03, \n\
            0.396965870000000E+02 -0.104931534000000E+03, \n\
            0.396966870000000E+02 -0.104934335000000E+03, \n\
            0.396966870000000E+02 -0.104934335000000E+03, \n\
            0.396981250000000E+02 -0.104934109000000E+03), \n\
            ( 0.396981250000000E+02 -0.104934109000000E+03, \n\
            0.397001130000000E+02 -0.104931652000000E+03, \n\
            0.397001870000000E+02 -0.104934034000000E+03, \n\
            0.396981250000000E+02 -0.104934109000000E+03))"};
cts.complexPolygonOuter(cts.parseWkt(node.Arapahoe));

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