我正在使用OSRM匹配服务并获得响应
但我无法获得任何可靠的方法将响应转换为汽车行驶的方式ids(特别是哪些将在交叉路口工作)
方式ID不可用,但您可以通过在请求中添加annotations=nodes
选项来获取节点ID,即http://router.project-osrm.org/match/v1/driving/13.388860,52.517037;13.397634,52.529407;13.428555,52.523219?annotations=nodes
注释对象记录在http://project-osrm.org/docs/v5.15.2/api/#annotation-object上