Redis · Concept
Geospatial
Redis geospatial indexes store coordinates with named members. Search them by radius or bounding box to find nearby locations.
Last updated
- Since
- 3.2.0
Syntax
GEOADD key longitude latitude member [longitude latitude member ...]
GEOSEARCH key FROMMEMBER member | FROMLONLAT longitude latitude BYRADIUS radius unit | BYBOX width height unitIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
GEOADDGEODISTGEOHASHGEOPOSGEOSEARCHGEORADIUSGEORADIUSBYMEMBER