MarkLogic 10 Product Documentation
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]")
Powered by MarkLogic Server | Terms of Use | Privacy Policy