redis and geo | Mar 6, 2016
Geospatial Redis commands encode positions of objects in a single 52 bit integer, using a technique called geohash. The encoding is further explained in the GEODECODE
and GEOADD
documentation. The GEOENCODE
command, documented in this page, is able to convert a longitude and latitude pair into such 52 bit integer, which is used as the score for the sorted set members representing geopositional information.
redis and geo | Mar 6, 2016
Return the distance between two members in the geospatial index represented by the sorted set.
More »redis and geo | Mar 6, 2016
Geospatial Redis commands encode positions of objects in a single 52 bit integer, using a technique called geohash. Those 52 bit integers are:
More »redis and geo | Mar 6, 2016
Adds the specified geospatial items (latitude, longitude, name) to the specified
key. Data is stored into the key as a sorted set, in a way that makes it possible to later retrieve items using a query by radius with the GEORADIUS
or GEORADIUSBYMEMBER
commands.
redis and sorted_set | Mar 5, 2016
Computes the union of numkeys
sorted sets given by the specified keys, and
stores the result in destination
.
It is mandatory to provide the number of input keys (numkeys
) before passing
the input keys and the other (optional) arguments.
redis and sorted_set | Mar 5, 2016
Returns the score of member
in the sorted set at key
.