Tutorial by Examples

The GEOADD command allows a user to add geospatial information (item name, longitude, latitude) to a particular key. The GEOADD command can be used to add a single item to a key: GEOADD meetup_cities -122.43 37.77 "San Francisco" or multiple items to a key: GEOADD meetup_cities -122....
The GEODIST command allows a user to determine the distance between two members within a geospatial index while specifying the units. To find the distance between two meetup cities: GEODIST meetup_cities "San Francisco" "Denver" mi

Page 1 of 1