Powered by Zoomin Software. For more details please contactZoomin

What's New in MarkLogic 11

Geospatial Region Accessors Can Now Return Double Values

Geospatial Region Accessors Can Now Return Double Values

  • Last Updated: April 14, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 11.0
    • Documentation

The introduction of support for double precision coordinates in MarkLogic 9 means that some geospatial operations may return different results than in the past.

Previously, geospatial region accessor functions such as the XQuery function cts:point-latitude or the Server-Side JavaScript function cts.pointLatitude always returned float values. As of MarkLogic 9, these functions can return either single or double precision values, depending on the governing coordinate system. If you do not use a double precision coordinate system, you should not notice a difference.

The following functions are affected.

XQuery Function

JavaScript Function

cts:point-latitude

cts.pointLatitude

cts:point-longitude

cts.pointLongitude

cts:box-west

cts.boxWest

cts:box-east

cts.boxEast

cts:box-south

cts.boxSouth

cts:box-north

cts.boxNorth

For more details, see How Precision Affects Geospatial Operations in the Search Developer's Guide.

TitleResults for “How to create a CRG?”Also Available inAlert