提交重新打开优化转向比展示为0的情况,优化转向比缺少某个箭头的算法

This commit is contained in:
wangxu 2026-04-20 12:01:20 +08:00
parent bf084b353f
commit 4ab9a054c8
1 changed files with 1 additions and 1 deletions

View File

@ -1529,7 +1529,7 @@ class RoadNet:
# 第一个点,取一定距离的上游几何点
pt0 = road_from.path[0]
# pt1 = self.query_cross(road_from.crossid_to).location
pt1 = road_from.path[-1]
pt1 = road_from.get_head_down_pt()
# pt2 = self.query_cross(road_to.crossid_from).location
pt2 = road_to.path[-1]
# 最后一个点,取一定距离的下游几何点