是否可以从 Google 地图距离矩阵 API 中检索不到 1 秒的持续时间?
Is it possible to retrieve duration of less than 1 second from the Google Maps Distance Matrix API?
我在使用 Google 地图距离矩阵 API 提取道路网络上起点和终点节点之间的行程时间和距离数据以计算平均速度时尝试减少不确定性相当短的距离(30m 至 500m)。
我正在使用 Python Google 地图库
API 提供的标准行程时间为 1 秒,即整数分辨率。有谁知道在从 API 调用行程距离和持续时间数据时是否有命令以更精细的时间分辨率(例如 0.1 秒)提取行程时间?
根据 API 文档中的 "unit systems" section,
duration
: The length of time it takes to travel this route, expressed in seconds (the value field) and as text. The textual representation is localized according to the query's language parameter.
我在使用 Google 地图距离矩阵 API 提取道路网络上起点和终点节点之间的行程时间和距离数据以计算平均速度时尝试减少不确定性相当短的距离(30m 至 500m)。
我正在使用 Python Google 地图库
API 提供的标准行程时间为 1 秒,即整数分辨率。有谁知道在从 API 调用行程距离和持续时间数据时是否有命令以更精细的时间分辨率(例如 0.1 秒)提取行程时间?
根据 API 文档中的 "unit systems" section,
duration
: The length of time it takes to travel this route, expressed in seconds (the value field) and as text. The textual representation is localized according to the query's language parameter.