redis/geodist

Geospatial Distance

Calculate distance

geospatial
advanced

Command

GEODIST key member1 member2

Explanation

Returns the distance between two members in the geospatial index.

Examples

Distance in kilometers

GEODIST cities "Palermo" "Catania" km