Get altitudes of a route in Google Earth

When we draw a route in Google Earth, it is possible to visualize its elevation in the application. But when we download the file, it only brings its latitude and longitude coordinates. The altitude is always zero.

In this article we will see how to add to this file the elevation obtained from the digital model (srtm) that uses Google Earth.

Draw the Route in Google Earth.

In this case, I am drawing a point route between two extremes where I am interested in the profile.

See the elevation profile in Google Earth.


To draw the profile, the route is touched with the right mouse button and the option "Show elevation profile" is selected. This displays the lower panel where, as it is traversed, the position and elevation are displayed on the object.

Download the kml file.

To download the file, tap on the side panel and with the right mouse button select "save place as ...". In this case we will call it «Route leza.kml», then press the «Save» button.

The problem is that seeing this file, we realize that it goes down with the coordinates but without altitude. This is the file if we visualize it with Excel, see how the column ns1: coordinates has a list of all the vertices of the route, and its elevation is all zero.

Get the elevation.

To obtain the elevation, we will use the program TCX Converter. In effect, when opening the original kml we can see that the elevation is zero in the ALT column.


To obtain the altitudes, we select the option "Modify Track", in the "Update Altitude" button. A message will appear that says that a connection to the Internet is necessary and that the elevations that would have been updated. Depending on the number of points you could freeze the application but after a few seconds we can see that the altitude has been updated.

Save the kml with elevation.

To save the kml with the elevations, we only select the "Export" tab, and choose to save the kml file.

As you can see, now the kml file has its altitude.

TCX converter is a free program that apart from being able to combine routes, you can export not only kml, but also routes .tcx (Training Center), -gpx (General GPX file), .plt (Oziexplorer PLT track file), .trk (CompeGPS file), .csv (can be seen in Excel), .fit (Garmin file) and also ploar .hrm.

Download TCX Converter

One Reply to "Get altitudes of a route in Google Earth"

  1. baixei or tcx mais nao is updating as altitudes appears m>
    or that I must be feito

Leave an answer

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.