GEORADIUS - 根据坐标搜索附近

Request/Response
以给定的经纬度为中心,返回半径内的地理位置。

Basic Info

Mode
Request/Response
Endianness
big-endian
Charset
utf8
Newline
default

Communicator

Connection Name
默认服务器

Request Parameter

Format
raw
Escape
No
Newline Style
CRLF
Charset
utf8
Text Template raw
*10
$9
GEORADIUS
${{key.length}}
{{key}}
${{longitude.length}}
{{longitude}}
${{latitude.length}}
{{latitude}}
${{radius.length}}
{{radius}}
${{unit.length}}
{{unit}}
$8
WITHDIST
$9
WITHCOORD
$5
COUNT
${{count.length}}
{{count}}

Template Variables

key
地理位置集合的键名 cities
longitude
中心点经度 116.40
latitude
中心点纬度 39.90
radius
搜索半径 100
unit
半径单位(m/km/mi/ft) km
count
限制返回结果数量 10

Response Parser

Format
raw
Line Wrapping
No
Append Newline
No
Show Timestamp
No
Clear on Execute
No
Scroll to Bottom
No