轨迹纠偏
POST
/rectify/v1/track
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.map.baidu.com/rectify/v1/track?point_list&ak=&sn='
响应示例响应示例
{
"status":0,
"message":"成功",
"total":38,
"distance":7004.2268595795,
"toll_distance":0,
"low_speed_distance":0,
"points":[
{
"loc_time":1624295452,
"latitude":36.271593819832,
"longitude":120.40114354244,
"speed":1.2875764132772,
"direction":178.38227415059
},
{
"loc_time":1624295615,
"latitude":36.270452489393,
"longitude":120.40113828855,
"speed":8.4496861276931,
"direction":93.59750062432
},
...
{
"loc_time":1624296515,
"latitude":36.241216624104,
"longitude":120.36069744837,
"speed":31.788581427876,
"direction":130.91381579391
}
]
}
请求参数
Query 参数
point_list
string
必需
rectify_option
string
可选
示例值:
need_mapmatch:1|transport_mode:auto|denoise_grade:1|vacuate_grade:1
supplement_mode
string
可选
示例值:
no_supplement
coord_type_output
string
可选
示例值:
bd09ll
ak
string
必需
默认值:
{{ak}}
sn
string
可选
默认值:
{{sn}}
返回响应
修改于 2022-08-22 02:00:33