Loading TOC...

geo:geohash-decode

geo:geohash-decode(
   $hash as xs: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:geohash-encode.

See Also

Example

geo:geohash-decode("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.