Loading TOC...

MarkLogic Server 11.0 Product Documentation
cts:geospatial-region-query-reference

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

Summary

Returns the geospatial region path index reference(s) specified when constructing the input query.

Parameters
query A geospatial region path query.

See Also

Example

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

=> A region path index reference of the following form:

   cts:geospatial-region-path-reference(
     "//item/region",("coordinate-system=wgs84"))
  

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