There is more to it than just finding the shortest route, you have to find the route that works best for you. To some extent you can do this from a map but there is nothing better than knowing the route options really well or even just looking ahead and deciding e.g. whether a steeper climb / descent works better for you than a slightly longer but more runnable alternative.