GPS devices are not sensitive enough to measure a course as accurately as the techniques used to lay out and certify the course and runners are not capable of running the shortest possible route perfectly. There are many articles about this, but this classic from the race director of the Boston Marathon is our favorite.