If you turn optimized route on and set up a task with a goal line (assume a 3k radius)there is an issue. An optimized point sitting on the 3k radius (but not on the goal line) is created and the task statistics are computed to that point. However the task is correctly signaled completed when the line is crossed. This was discovered in PC sim mode.
I was unable to find mention of this bug in the forum. I hope the description is clear.
Lukas just sent me a possible solution for !distance to line (closest point between us and the segment). So please let me try it for gliders, and then you may use it or adapt it for PGs.