[GIS] Getting length data from GPX files within QGIS

gpxqgis

I just got a Garmin etrex and promptly took it for a hike. I can get the path and the trackpoints into QGIS with no issue. However, I cannot figure out how to get the distance between the trackpoints. I've played with the CRS and the file formats (converting to .shp for example).

When I go into the attribute table and attempt to calculate a new field using $length, all I get are NULL values.

Any ideas?

Best Answer

You need to convert it to a line, lines have lengths, points do not. You will need a plugin like Points to Paths to convert the points to lines and then you can get the length of the lines.