-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Closed
Labels
Description
As originally posted on StackOverflow:
- Add x to mytest
127.0.0.1:6379> geoadd mytest -78.45 38.13 x
(integer) 1
- Try to find points within 50.000km of x:
127.0.0.1:6379> georadius mytest 72.8 19.13 50000 km
(empty list or set)
- Add y to mytest:
127.0.0.1:6379> geoadd mytest 72.8 19.13 y
(integer) 1
- Calculate distance between x and y:
127.0.0.1:6379> geodist mytest x y km
"12979.3623"
Shouldn't "x" be returned at (2), considering that, by (4), it's only 12979km away?
Reactions are currently unavailable