Loading TOC...

MarkLogic 12 EA 1 Product Documentation
cts:geospatial-region-query-region

cts:geospatial-region-query-region(
   $query as cts:geospatial-region-query
) as cts:region*

Summary

Returns the region criteria specified when constructing the input query.

Parameters
query A geospatial region path query.

See Also

Example

cts:geospatial-region-query-region(
  cts:geospatial-region-query(
    cts:geospatial-region-path-reference("//item/region")
    "contains", cts:box(10, 20, 30, 40))
)

=> cts:box("[10, 20, 30, 40]")
  

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