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