
cts:geospatial-region-query-reference( $query as cts:geospatial-region-query ) as cts:reference*
Returns the geospatial region path index reference(s) specified when constructing the input query.
| Parameters | |
|---|---|
| query | A geospatial region path query. | 
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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.