I'm trying to measure the distance between some coordinate points along a road line from an OpenStreetMap source map, I am using QGIS 2.4.0.

My problem is to find a way to measure these distances between points on a irregular line like a road with some precision.

I got some points from a GPS took along some of the roads to verify if the precision is acceptable and help with the measurements. Also I have a table with another points in kilometers without coordinates system reference and I have to create a relation between all these points to relate the distance.

I was able to find some tools that give me a measurement in a straight line and It bring me a lot of imprecisions with kilometer points.

1 Answer 1


That's a very nice use case for Linear Referencing tools.

Have a look at my answer to this post: QGIS Linear Referencing.

There I explain the capabilities of the QGIS LRS plugin.

That should help you get started.

  • Good one! One more question: I have some segments for the same road that implicates different ids for each part of a road. The plugin understand It or should I find a way to create one ID for the same road? In that case have you a clue? Thanks for the help @gcarrillo !!! Feb 10, 2015 at 19:58
  • If all segments are part of the same road, I would do a UNION of them all, so that they are represented by a single line. @SérgioFerreira Please see gis.stackexchange.com/tour The way you reward people who answer your question is i) upvoting the question if it is useful for you, and ii) marking the answer as accepted if it solves (or helps you solve) the problem. Feb 10, 2015 at 23:31
  • 1
    Done It!!! Do you know if is possible create new milestones between known points I Got using LRS? Feb 11, 2015 at 0:20
  • Not sure what do you mean by milestones between known points. Please check again this post: gis.stackexchange.com/questions/130307/qgis-linear-referencing/… and the documentation of the plugin, if you don't find there what you want, chances are it's not supported. However, if you can provide much more detail for your new question, feel free to open a new question about that. Feb 11, 2015 at 1:22
  • 1
    Yeap, also is what I need. Thanks to point It to me! @gcarrillo Feb 11, 2015 at 2:12

Your Answer

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

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