Skip to content

Redis geo commands (10/10 implemented)

GEOADD

Adds one or more members to a geospatial index. The key is created if it doesn't exist.

GEODIST

Returns the distance between two members of a geospatial index.

GEOHASH

Returns members from a geospatial index as geohash strings.

GEOPOS

Returns the longitude and latitude of members from a geospatial index.

GEORADIUS

Queries a geospatial index for members within a distance from a coordinate, optionally stores the result.

GEORADIUS_RO

Returns members from a geospatial index that are within a distance from a coordinate.

GEORADIUSBYMEMBER

Queries a geospatial index for members within a distance from a member, optionally stores the result.

GEORADIUSBYMEMBER_RO

Returns members from a geospatial index that are within a distance from a member.

GEOSEARCH

Queries a geospatial index for members inside an area of a box or a circle.

GEOSEARCHSTORE

Queries a geospatial index for members inside an area of a box or a circle, optionally stores the result.