How can I convert a directions route into a path, to then use this path to show elevation profile?
I want to see the elevation profile of the road between to cities, like they show on bicycle races like Tour de France. I could create a path by tracing and then using the show elevation feature, which is tedious. What I want to do is obtain directions between the two cities, which traces a route on the map, convert this route to a path, and then show elevation profile of that path.
You can use Get Directions to create your city to city route. Save the directions to My Places with the little folder icon at the bottom of directions. All saved routes will be in a folder. Open the folder and scroll to the bottom. You should see the route underneath all the directions.
Right click on the route and select Show Elevation Profile.
I hope that helps.
Last edited Jun 5, 2019
Original PosterDavid Wanjiru marked this as an answer
You can use Get Directions to create your city to city route. Save the directions to My Places with the little folder icon at the bottom of directions. All saved routes will be in a folder. Open the folder and scroll to the bottom. You should see the route underneath all the directions.
Right click on the route and select Show Elevation Profile.
I hope that helps.
Last edited Jun 5, 2019
Original PosterDavid Wanjiru marked this as an answer
Thank you very much. This is exactly what I was looking for. For future readers of this question, when you save the directions to your places, if there are several routes possible between two destinations, a folder is created for each option, so you have to expand each folder to the see the route for each option.
There's no real simple way. When you create a path, Google Earth Pro doesn't add the elevation to the KML code. The program just reads the elevation directly from the elevation layer to make the elevation profile.
If you save your path as .kml or .kmz, I think you can load it into GPS Visualizer and tell it to 'Add DEM data and get the output as .csv that you can open in a spreadsheet. One column should be your elevation.
There are probably other programs that will convert KML to CSV and add elevation. Maybe GPS programs. You'd have to search.