
cts:geospatial-region-query-operation( $query as cts:geospatial-region-query ) as xs:string
Returns the comparison operation specified when constructing the input query.
| Parameters | |
|---|---|
| query | A geospatial region path query. | 
cts:geospatial-region-query-operation(
  cts:geospatial-region-query(
    cts:geospatial-region-path-reference("//item/region")
    "contains", cts:box(10, 20, 30, 40))
)
=> "contains"
  
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.