Loading TOC...

cts.geospatialAttributePairReference

cts.geospatialAttributePairReference(
   $element as xs.QName,
   $lat as xs.QName,
   $long as xs.QName,
   [$options as String[]]
) as cts.reference

Summary

Creates a reference to a geospatial attribute pair range index, for use as a parameter to cts:value-tuples. This function will throw an exception if the specified range index does not exist.

Parameters
$element An element QName name.
$lat An attribute QName name.
$long An attribute QName name.
$options Options. The default is ().

Options include:

"type=type"
Use the lexicon with the type specified by type (point or long-lat-point)
"coordinate-system=coord"
Use the given coordinate system. Possible values are "wgs84" and "raw".
"nullable"
Allow null values in tuples reported from cts:value-tuples when using this lexicon.
"unchecked"
Read the scalar type and coordinate-system info only from the input. Do not check the definition against the context database.

Example

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"])

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy