georadiusbymember_ro.3valkey - Man Page

Returns members from a geospatial index that are within a distance from a member.

Synopsis

GEORADIUSBYMEMBER_RO key member radius <M | KM | FT | MI> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC]

Description

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.

Alternative

GEOSEARCH with the BYRADIUS and FROMMEMBER arguments.

Reply

One of the following:

Complexity

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.

Acl Categories

@geo @read @slow

History

See Also

geoadd(3valkey), geodist(3valkey), geohash(3valkey), geopos(3valkey), georadius(3valkey), georadiusbymember(3valkey), georadius_ro(3valkey), geosearch(3valkey), geosearchstore(3valkey)

Info

2025-10-21 9.0.0 Valkey Command Manual