MarkLogic Server 11.0 Product Documentation
geo.geohashDecode

geo.geohashDecode(
   hash as String
) as cts.box

Summary

Given a geohash string, return the bounding box for that hash.

Parameters
hash The geohash value, as produced by geo.geohashEncode.

See Also

Example

geo.geohashDecode('c3k6svq')

=> cts.box('[52.499542, -117.55646, 52.500916, -117.55508]')
Powered by MarkLogic Server | Terms of Use | Privacy Policy