Implemented route drawing and functions including coordinateSampling, downSampling and print coordinates to file.