GEOSEARCH
Finds locations by radius around a named member.
Geospatial · Example verified
Syntax covered here
GEOSEARCH key FROMMEMBER member BYRADIUS radius kmThe tested combination is FROMMEMBER with BYRADIUS in kilometers.
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
> GEOSEARCH places FROMMEMBER Palermo BYRADIUS 1 km
["Palermo"]