Obtaining terrain elevation data is essential for numerous engineering applications. However, regardless of the technique used to obtain the elevation data, there will be errors intrinsic to the instruments and to the measurement technique used, as well as depending on the model of Earth representation, which are plane, spherical or ellipsoidal. In this perspective, this work proposes a comparative approach between the elevation data obtained from the geodesic coordinates, provided by Global Navigation Satellite System (GNSS), and those obtained from Google Earth (GE) and Shuttle Radar Topography Mission (SRTM). The data collection was carried out in the urban section between km 125 to km 145,500 of Dom Pedro-I Highway (SP-065), State of São Paulo, Brazil. The quality of the results is evaluated based on the Mean Quadratic Error (RMSE). The main results showed that the elevation data obtained through the SRTM show greater agreement or adjustment to the GNSS data when compared to the higher quality and less variation than those obtained through the GE, since they have smaller RMSE and are closer to the average elevations calculated for the highway segment analyzed. However, it is worth noting that the use of GE can be a good alternative for low-cost preliminary studies.