Adding elevation data to a line vertices using a digital elevation model