I am looking to calculate the shortest distance along a road network for multiple starting points. The reason I am not doing this manually is that I have more than 5000 starting points. Does anyone know how to do this in QGIS 3? I have researched extensively with no results for this particular problem.

Input data: Input data part 1 Input data part 2

Snapshot of the results, which are probably wrong: Results snapshot


If only distance is the desired output of your analysis, you may use the QNEAT3 plugin as mentioned in this answer. You can use the OD-Matrix algorithms to compute the distances/duration between points of one dataset or two different point datasets. You can install the plugin via the plugin manager in QGIS.

  • @Oliver, are you looking at just obtaining the distance of each point to the road network?
    – Tim56
    Feb 24 '20 at 14:29
  • Hi Tim. Yes I am. I am planning on exporting the distances to excel afterwards an continue my work there, so unless that it not an option, just finding the distances is enough for me. :)
    – Oliver
    Feb 24 '20 at 15:21
  • @Oliver did you manage to achieve the desired result with QNEAT3?
    – root676
    Feb 25 '20 at 9:14
  • @root676 Sorry for late answer. No, I have tried but I am still not sure what to use for the network layer. Also, does qneat3 calculate routes for the many points or does it simply calculate distance (direct distance in a line)?
    – Oliver
    Mar 6 '20 at 11:30
  • 1
    @root676 I wasnt able to find a mail in the link, but after a little digging I found a gmail with your name in it to which I have sent the files. I hope it is the right one, but I do not want to show it here in case you would like it to be private.
    – Oliver
    Mar 17 '20 at 8:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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