轨迹重合率分析API
POST
/trackmatch/v1/track
请求示例请求示例
Shell
JavaScript
Java
Swift
响应示例响应示例
{
"status": 0,
"message": "OK",
"data": {
"similarity": 97.33972803676709,
"processed_standard_track": [
{
"loc": {
"longitude": 120.401143542438,
"latitude": 36.27159381983164
},
"loc_time": 1542702871
},
{
"loc": {
"longitude": 120.40113828855124,
"latitude": 36.270452489393409
},
"loc_time": 1542702922
},
...
],
"processed_track": [
{
"loc": {
"longitude": 120.4011466648737,
"latitude": 36.271693510233969
},
"loc_time": 1542702871,
"unmatched": 1
},
{
"loc": {
"longitude": 120.40113828855124,
"latitude": 36.270452489393409
},
"loc_time": 1542702974
},
{
"loc": {
"longitude": 120.40253992118626,
"latitude": 36.2704141350664
},
"loc_time": 1542702974
},
{
"loc": {
"longitude": 120.40295813822128,
"latitude": 36.270305669161988
},
"loc_time": 1542702974
},
...
],
"standard_track_distance": 46761.142281986984,
"track_distance": 46955.66684267597,
"processed_standard_track_distance": 47758.28798339452,
"processed_track_distance": 47758.28798339452,
"unmatched_distance": 4301.566201098205,
"matched_distance": 43456.721782296314
}
}
请求参数
Query 参数
standard_track
string
必需
示例值:
["36.2817531985,120.392544449,1542695170,10,0,42,10", "36.2817531985,120.392544449,1542695176,10,0,42,10"]
track
string
必需
示例值:
同上
standard_option
string
可选
示例值:
need_mapmatch:1|transport_mode:auto|denoise_grade:1|vacuate_grade:1
option
string
可选
示例值:
同上
coord_type_input
string
可选
示例值:
bd09ll
coord_type_output
string
可选
示例值:
bd09ll
ak
string
必需
默认值:
{{ak}}
sn
string
可选
默认值:
{{sn}}
Body 参数application/octet-stream
未设置
返回响应
修改于 2022-08-22 02:00:39