GEORADIUSBYMEMBER
Since 1.1.0Geospatial
Syntax
GEORADIUSBYMEMBER key member radius <M | KM | FT | MI> [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC | DESC] [STORE key | STOREDIST key]GEORADIUS centred on a member of the index, not a position.
Examples
> GEOADD g 13.361389 38.115556 Palermo 15.087269 37.502669 Catania
(integer) 2
> GEORADIUSBYMEMBER g Palermo 200 km
1) "Palermo"
2) "Catania"