File: GEO.md

package info (click to toggle)
python-fakeredis 2.29.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,772 kB
  • sloc: python: 19,002; sh: 8; makefile: 5
file content (44 lines) | stat: -rw-r--r-- 1,471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Redis `geo` commands (10/10 implemented)

## [GEOADD](https://redis.io/commands/geoadd/)

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

## [GEODIST](https://redis.io/commands/geodist/)

Returns the distance between two members of a geospatial index.

## [GEOHASH](https://redis.io/commands/geohash/)

Returns members from a geospatial index as geohash strings.

## [GEOPOS](https://redis.io/commands/geopos/)

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

## [GEORADIUS](https://redis.io/commands/georadius/)

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

## [GEORADIUS_RO](https://redis.io/commands/georadius_ro/)

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

## [GEORADIUSBYMEMBER](https://redis.io/commands/georadiusbymember/)

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

## [GEORADIUSBYMEMBER_RO](https://redis.io/commands/georadiusbymember_ro/)

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

## [GEOSEARCH](https://redis.io/commands/geosearch/)

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

## [GEOSEARCHSTORE](https://redis.io/commands/geosearchstore/)

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