MI_GeoHash
Description
Returns a geohash index for a given point geometry at a given precision. The index will be created in the WGS84 coordinate system.
Syntax
MI_GeoHash ( geometry, precision )
Arguments
geometry is the point geometry to create a geohash index for, and
precision is an integer representing the precision of the geohash index. Values range from a required minimum of 1 to a recommended maximum of 12, where 1 is the lowest level of precision and 12 is the highest and most costly in terms of performance.
Examples
SOAP:
update "/User/IndexUtility" set geohash = MI_GeoHash(obj, 5)
http://<server>:<port>/rest/Spatial/FeatureService/tables/features.json?update=UPDATE "/User/IndexUtility" set geohash = MI_GeoHash(obj, 5)