Loading TOC...


   $property as String,
   $lat as String,
   $long as String,
   [$options as String[]]
) as cts.reference


Creates a reference to a geospatial JSON property 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.

$property A JSON property name.
$lat A JSON property name.
$long A JSON property name.
$options Options. The default is ().

Options include:

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


cts.geospatialJsonPropertyPairReference("pt", "lat", "long")

=> cts.geospatialJsonPropertyPairReference("pt", lat", "long",


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