[GIS] How to select a point imported from a GPX file

gpxqgis

I imported several GPX files and added a raster basemap for reference. The GPX files contains tracks so the points are sequentially numbered. I'd like to identify one of the points so I edit the GPX file and remove unwanted data (there is a bunch of unwanted data, miles and miles). The easiest way, I think, is to identify the last desired point, grab it's ID, and delete all points after / before it from the source file.

How do I select a point and get it's attributes like ID, lat / lon, elev, etc.?

I'm using QGIS 2.6.0 (Brighton).

Update #1 – I will edit the GPX file myself using an external app. I just need to ID the point.

Update #2 – I already have the files imported. Now that I can see where the points fall, I want to select one of the points to get an identifying attribute to use for modifying the track data. For example, my study area stops at an intersection of two roads. I want to grab the point nearest that intersection (ID, timestamp, some identifying attribute) and delete from the source file all points outside my study. Does QGIS have a tool that alows me to pick a point on screen and display the point's attributes? If not, how about a series of steps I can perform to get the information? I have an extensive CAD / engineering background and this is a feature in every CAD package I've used. I just need to know if it exists in QGIS and if so, where it is.

Update #3 – I found the Attribute Table for the layer but could not find a tool to graphically select a point and display its attributes. Getting closer…

Best Answer

In QGIS, you can add a GPX file using Add Vector Layer. In a dialogue you will be asked for the layers you want:

  • waypoints
  • tracks
  • track_points
  • routes
  • route_points

You get the track points with attributes using the track_points layer.

The alternative method of adding GPX files with the GPS Tool does not offer the trackpoints layer.

By the way, track points are not numbered in original GPX format:

<trkpt lat="51.320262" lon="7.132114">
 <ele>181.000000</ele>
 <time>2014-05-04T07:25:03Z</time>
 <desc>Lat.=51.320262, Long.=7.132114, Alt.=181.000000m, Speed=2Km/h, Course=140deg.</desc>
</trkpt>
<trkpt lat="51.320227" lon="7.132158">
 <ele>181.000000</ele>
 <time>2014-05-04T07:25:08Z</time>
 <desc>Lat.=51.320227, Long.=7.132158, Alt.=181.000000m, Speed=3Km/h, Course=142deg.</desc>
</trkpt>

They get an internal ID when they are imported into QGIS as points. You can compare the time stamp though.