GEORADIUS_RO
Performs a read-only radius query around supplied coordinates.
Geospatial · Example verified
Syntax covered here
GEORADIUS_RO key longitude latitude radius kmThe verified query uses kilometers and returns the member located at the query center.
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
> GEORADIUS_RO places 13.361389 38.115556 1 km
["Palermo"]