GEORADIUSBYMEMBER_RO

Performs a read-only radius query centered on a stored member.

Geospatial · Example verified

Syntax covered here

GEORADIUSBYMEMBER_RO key member radius km

The case uses a single stored location and confirms that it matches its own surrounding radius.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> GEOADD places 13.361389 38.115556 Palermo
1
# connection: default
> GEORADIUSBYMEMBER_RO places Palermo 1 km
["Palermo"]