Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts.geospatialRegionQueryReference

cts.geospatialRegionQueryReference(
   query as cts.geospatialRegionQuery
) as Sequence

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.geospatialRegionQueryReference(
  cts.geospatialRegionQuery(
    cts.geospatialRegionPathReference('//item/region'),
    'contains', cts.box(10, 20, 30, 40))
);

=> A region path index reference of the following form:

  cts.geospatialRegionPathReference(
    "//item/region",("coordinate-system=wgs84/double"))
  

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