Loading TOC...

MarkLogic 9 Product Documentation
cts.box

cts.box(
   south as Number,
   west as Number,
   north as Number,
   east as Number
) as cts.box

Summary

Returns a geospatial box value.

Parameters
south The southern boundary of the box.
west The western boundary of the box.
north The northern boundary of the box.
east The eastern boundary of the box.

See Also

Example

cts.box(45, -122, 78, 30);

=> [45, -122, 78, 30] (as a cts.box)

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