redis GEOADD


Example

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.43 37.77 "San Francisco" -104.99 39.74 "Denver"