Adding elevation data to line vertices using a digital elevation model