summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/geodist.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-04 07:19:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-04 07:20:07 +0000
commitdd874ab02db04853d4b5952712ab34693f9a93de (patch)
tree4b4e05d004da14862aa1680cf761476fa2b4a05c /iredis/data/commands/geodist.md
parentReleasing debian version 1.12.1-1. (diff)
downloadiredis-dd874ab02db04853d4b5952712ab34693f9a93de.tar.xz
iredis-dd874ab02db04853d4b5952712ab34693f9a93de.zip
Merging upstream version 1.13.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/geodist.md')
-rw-r--r--iredis/data/commands/geodist.md22
1 files changed, 9 insertions, 13 deletions
diff --git a/iredis/data/commands/geodist.md b/iredis/data/commands/geodist.md
index 3f32a89..af78cdf 100644
--- a/iredis/data/commands/geodist.md
+++ b/iredis/data/commands/geodist.md
@@ -1,28 +1,24 @@
-Return the distance between two members in the geospatial index represented by
-the sorted set.
+Return the distance between two members in the geospatial index represented by the sorted set.
-Given a sorted set representing a geospatial index, populated using the `GEOADD`
-command, the command returns the distance between the two specified members in
-the specified unit.
+Given a sorted set representing a geospatial index, populated using the `GEOADD` command, the command returns the distance between the two specified members in the specified unit.
If one or both the members are missing, the command returns NULL.
The unit must be one of the following, and defaults to meters:
-- **m** for meters.
-- **km** for kilometers.
-- **mi** for miles.
-- **ft** for feet.
+* **m** for meters.
+* **km** for kilometers.
+* **mi** for miles.
+* **ft** for feet.
-The distance is computed assuming that the Earth is a perfect sphere, so errors
-up to 0.5% are possible in edge cases.
+The distance is computed assuming that the Earth is a perfect sphere, so errors up to 0.5% are possible in edge cases.
@return
@bulk-string-reply, specifically:
-The command returns the distance as a double (represented as a string) in the
-specified unit, or NULL if one or both the elements are missing.
+The command returns the distance as a double (represented as a string)
+in the specified unit, or NULL if one or both the elements are missing.
@examples