Loading TOC...

cts:geospatial-region-query-weight

cts:geospatial-region-query-weight(
   $query as cts:geospatial-region-query
) as xs:double

Summary

Returns the weight specified when constructing the input query.

Parameters
$query A geospatial region path query.

See Also

Example

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

=> 2.0
  

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