As of Redis version 6.2.0, this command is regarded as deprecated.
It can be replaced by GEOSEARCH with the BYRADIUS argument when migrating or writing new code.
GEORADIUS_RO key longitude latitude radius <M | KM | FT | MI> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC]
@read,
@geo,
@slow,
Read-only variant of the GEORADIUS command.
This command is identical to the GEORADIUS command, except that it doesn't support the optional STORE and STOREDIST parameters.
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ✅ Standard ✅ Active-Active |
✅ Standard ✅ Active-Active |
Deprecated as of Redis v6.2.0. |
One of the following:
WITH* option is specified, an Array reply of matched member namesWITHCOORD, WITHDIST, or WITHHASH options are specified, the command returns an Array reply of arrays, where each sub-array represents a single item:
ANY option for COUNT.