You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Instructions should ignore VirtualEdges created during lookup #1013
When during the lookup phase of a route request a new virtual edge is generated for StartPoint -> FirstRoute, we have to ignore these VirtualEdges. They lead to a wrong number of turns or might be interpreted as turns, which shouldn't be the case. Here is one example case, the requested point is place very close to Edge2:
changed the title [-]Instructions Should Ignore VirtualEdges created during lookup[/-][+]Instructions should ignore VirtualEdges created during lookup[/+]on Mar 27, 2017
Not sure if this has something to do with this but do you return a weight smaller than 1e-3 in Weighting.calcWeight? Currently we do not check weight boundaries for CH but we could to do so e.g. in CHGraphImpl.setWeight also there you see the WEIGHT_FACTOR=1000
It could be, yes. But this issue was about weights being too small. We should probably check the CH weightings, and if they are too small/big we should correct the values and log an error?
Activity
[-]Instructions Should Ignore VirtualEdges created during lookup[/-][+]Instructions should ignore VirtualEdges created during lookup[/+]karussell commentedon Mar 27, 2017
Not sure if this has something to do with this but do you return a weight smaller than 1e-3 in Weighting.calcWeight? Currently we do not check weight boundaries for CH but we could to do so e.g. in CHGraphImpl.setWeight also there you see the WEIGHT_FACTOR=1000
karussell commentedon Apr 10, 2017
Can we close here and is the real underlying reason same as #1022?
boldtrn commentedon Apr 19, 2017
It could be, yes. But this issue was about weights being too small. We should probably check the CH weightings, and if they are too small/big we should correct the values and log an error?
karussell commentedon Apr 9, 2018
Done