cts.geospatialAttributePairReference( element as xs.QName, lat as xs.QName, long as xs.QName, [options as String[]] ) as cts.reference
Creates a reference to a geospatial attribute pair range index, for use as a
parameter to
cts.valueTuples
This function will throw an exception if the
specified range index does not exist.
precision
option takes precedence over
that implied by the governing coordinate system name, including the
value of the coordinate-system
option. For example, if the
governing coordinate system is "wgs84/double" and the precision
option is "float", then the reference uses single precision. An exception
is thrown if an index with the specified precision does not exist.
cts.geospatialAttributePairReference(xs.QName("pt"), xs.QName("lat"), xs.QName("long")); => cts.geospatialAttributePairReference(fn.QName("","pt"), fn.QName("","lat"), fn.QName("","long"), ["type=point","coordinate-system=wgs84"])
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.