MarkLogic 9 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"))
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy