I have thought about this issue some more. The problem that was noted was that 'take other exit' was not working on the proper node, but on an earlier node (at the same junction). As a result a large part of the path was discarded.
There is actually two possible reasons for what is happening.
- As mentioned before, it is possible that the path is not drawn far enough. In that case the junction that is selected is not the intended one but an earlier one. Do note that if the path is drawn exactly until the junction of interest, then 'take other exit' should not be available on that node.
- But possibly, TrackViewer is not properly selecting the proper path node (in case multiple path nodes are on top of each other on the same junction node). TrackViewer is supposed to use the last (drawn) node. But perhaps, due to numerical issues, it is selecting the wrong. I now do have an idea where in the code this might be happening. But as was already noted, sometimes it works, sometimes it doesn't. This makes it difficult to actually verify that the issue is solved. Does anyone have an example where the issue really happens often?
I did consider the idea that it should not be allowed to have 'take other exit' (one where a large part of the path is removed) should not be allowed on path nodes that have a reversal point later in the path. This is similar to not allowing 'take other exit' when there is already an end point.
Regarding point 1. Part of the issue is that when the path folds back on itself, it is not very clear until where the path is drawn. So I considered a few options to make it clearer until where the path was drawn.
The first possibility would be to draw a bigger disc on the last-drawn node:
greenshot000020.jpg (53.62K)
Number of downloads: 1
A second possibility is to draw a disc with a different color on the last-drawn node (in this case red):
greenshot000021.jpg (53.94K)
Number of downloads: 1
I can imagine that there are other options as well. Please let me know what you think.
Quote
As last point. I am indeed considering the possibility to merge paths. This would then mean that the path you are working on would be extended with another existing path.
Best regards.
Jeroen.