名称:MatchTracks
url: /rest/gis/matchTracks.json
位置服务API用于查询对象的GIS位置信息。
名称 | 类型 | 描述 |
---|---|---|
objectType | String | 对象类型 |
objectId | String | 对象ID |
startTime | Long | 轨迹起始时间 |
endTime | Long | 轨迹终止时间 |
geohashLen | Int | 轨迹伴随算法geohash长度 |
topN | Int | 轨迹伴随结果限制 |
timeInterval | Int | 轨迹伴随时间间隔 |
{
"objectId": "O0001P0009-12345119580",
"objectType": "O0001",
"startTime": 1427810636,
"endTime": 1428422997,
"geohashLen": 6,
"topN": 5,
"timeInterval": 186
}
{
"data": [
{
"avatar": "http://i3eye.alipay.net/static/img/kl/nanxing.png",
"label": "12345119580E,",
"objectId": "O0001P0009-12345119580E",
"objectType": "O0001",
"score": 1,
"trackName": "手机号轨迹",
"trackPoints": [
{
"geohash": "wtqfrhqz6p",
"lat": 29.95138889,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqz6p",
"lon": 122.3091667,
"time": 1427940441
},
{
"geohash": "wtqfrhqzfs",
"lat": 29.951456,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqzfs",
"lon": 122.309186,
"time": 1427940508
},
{
"geohash": "wtqfrhqz6p",
"lat": 29.95138889,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqz6p",
"lon": 122.3091667,
"time": 1427966403
},
{
"geohash": "wtqfrhqzfs",
"lat": 29.951456,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqzfs",
"lon": 122.309186,
"time": 1427968014
},
{
"geohash": "wtqfrhqz6p",
"lat": 29.95138889,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqz6p",
"lon": 122.3091667,
"time": 1428028748
},
{
"geohash": "wtqffe06zv",
"lat": 30.03163,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqffe06zv",
"lon": 122.10273,
"time": 1428136394
},
{
"geohash": "wtqfrhqz6p",
"lat": 29.95138889,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqz6p",
"lon": 122.3091667,
"time": 1428310467
},
{
"geohash": "wtqfrhqz6p",
"lat": 29.95138889,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqz6p",
"lon": 122.3091667,
"time": 1428329483
},
{
"geohash": "wtqfrhqzfs",
"lat": 29.951456,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqzfs",
"lon": 122.309186,
"time": 1428363307
},
{
"geohash": "wtqfrhqz6p",
"lat": 29.95138889,
"linkId": "L0088^O0001#O0001P0009-12345119580E^O0071#O0071P0001-wtqfrhqz6p",
"lon": 122.3091667,
"time": 1428421360
}
]
}
],
"elapsedTime": 205,
"errorcode": 0,
"noteMsg": "",
"success": true
}
在文档使用中是否遇到以下问题
更多建议
匿名提交