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