GEOENCODE / GEODECODE commands removed.

Rationale:

1. The commands look like internals exposed without a real strong use
case.
2. Whatever there is an use case, the client would implement the
commands client side instead of paying RTT just to use a simple to
reimplement library.
3. They add complexity to an otherwise quite straightforward API.

So for now KILLED ;-)
This commit is contained in:
antirez
2015-07-09 17:42:59 +02:00
parent 965abcf10a
commit b96af595a5
3 changed files with 0 additions and 108 deletions
-13
View File
@@ -72,19 +72,6 @@ start_server {tags {"geo"}} {
r georadiusbymember nyc "wtc one" 7 km withdist
} {{{wtc one} 0.0000} {{union square} 3.2544} {{central park n/q/r} 6.7000} {4545 6.1975} {{lic market} 6.8969}}
test {GEOENCODE simple} {
r geoencode 1.8063239 41.2358883
} {3471579339700058 {1.8063229322433472 41.235888125243704}\
{1.806328296661377 41.235890659964866}\
{1.8063256144523621 41.235889392604285}\
{3471579339700058 3471579339700059}}
test {GEODECODE simple} {
r geodecode 3471579339700058
} {{1.8063229322433472 41.235888125243704}\
{1.806328296661377 41.235890659964866}\
{1.8063256144523621 41.235889392604285}}
test {GEOHASH is able to return geohash strings} {
# Example from Wikipedia.
r del points