There's more...
The Geo set is actually stored as a sorted set (zset in Redis) and all the commands in a sorted set can be applied to the Geo data type. For example, removing a Geo index from a Geo set can be done by ZREM, and retrieving all the members of a Geo set can be achieved by ZRANGE.
For your reference, the implementation of GEOHASH is based on a 52-bit integer representation (which gives an accuracy of less than 1 meter). When a standard GEOHASH string is needed, you can call GEOHASH to get a string whose length is 11.
For performance concerns, GEORADIUS has the time complexity of O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius, according to the documents ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access