Returns members from a geospatial index that are within a distance from a member.
GEORADIUSBYMEMBER_RO key
member radius <M |
KM | FT |
MI>
[WITHCOORD]
[WITHDIST]
[WITHHASH]
[COUNT count
[ANY]] [ASC
| DESC]
Read-only variant of the GEORADIUSBYMEMBER command.
This command is identical to the GEORADIUSBYMEMBER
command, except that it doesn’t support the optional STORE
and STOREDIST parameters.
GEOSEARCH with the BYRADIUS and
FROMMEMBER arguments.
One of the following:
WITH* option is specified, an array of matched
member namesWITHCOORD, WITHDIST, or
WITHHASH options are specified, the command returns an
array of arrays, where each sub-array represents a single item:
O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.
@geo @read @slow
ANY option for
COUNT.GEOADD, GEODIST, GEOHASH, GEOPOS, GEORADIUS, GEORADIUSBYMEMBER, GEORADIUS_RO, GEOSEARCH, GEOSEARCHSTORE.