I am trying to refine/populate gpx tracks recorded by a GPS device. I would like to add 1 or 2 points between each gpx point recorded and snap these additional points to roads.

I am using essentially QGIS. Any suggestion how I could do this?

This issue is also discussed in this topic how-to-create-an-exact-tracking-route-from-gps-data.

As mentionned in one answer, the problem is called map matching.

For reference: some ideas are discussed on this post map-matching-links-and-ideas

  • It is just an idea, but you can export the gpx track to a shape file, then densify the lines (vector/geometry tools), then export the shape to gpx again. Commented Aug 24, 2015 at 2:02
  • That was what I had initially in mind, but in curve for instance, I do not know how to proceed to keep/project the new points on the road network.
    – kFly
    Commented Aug 24, 2015 at 22:26
  • Welcome to gis.stackexchange! Please note that a good question on this site is expected to show some degree of research on your part, i.e. what you have tried and - if applicable - code so far. For more info, you can check our faq.
    – underdark
    Commented Jul 30, 2016 at 13:59
  • For clarity, you want to end up with line features where the original GPS points might not be snapped to roads, but the additional interpolated ones are? And how do you decide if you want one or two extra ones?
    – Spacedman
    Commented Sep 3, 2016 at 7:32
  • As first thought, I wanted to keep the original points and set at the beginning of the process the number of points to be added in between these original points. The tricky part is to have these additional points snapped on roads segments, especially on curves. I could also accept to work with original points moved on roads, and the additional points added after but still on roads.
    – kFly
    Commented Sep 6, 2016 at 21:47

1 Answer 1


You can do this and more prior to importing into QGIS with a tool called GPS Track Editor (www.gpstrackeditor.com) It allows you to merge (from simultaneously running gps units), restructure, increase frequency (densify), reverse and filter for local inconsitances. A great free utility.

  • Thank you for link. The editor is doing track densification, but I haven't see a process to snap the points on existing roads. I am missing an option ?
    – kFly
    Commented Sep 5, 2015 at 8:57
  • i don't think this utility has this capability. my workflow has been to use the editor for merge, densification etc saving the new gpx file. I then import as vector layer to QGIS, save that as shp file (i select add to map as new layer). The shp file of the points can then be enabled for editing and then the points can be individually relocated using edit>move feature. Commented Sep 8, 2015 at 18:52
  • Thanks much for letting me know about this app. Just solved me the problem how to turn 2-3 second GPX to 1 second and "increase frequency" worked great. :-)
    – Juhele
    Commented Mar 19, 2019 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.