Loading TOC...

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.