I have a dataset of a number of points which are plotted on QGIS using their latitude and longitude. Now, I have to find out the total length of roads surrounding each point within a circle of radius, say 100m.

This feature comprising of total road length surrounding each point in a buffer radius is further to be used for land-use regression.

Can someone suggest on how to obtain this feature?

  • Tried to buffer the points, clip the roads using the buffer and use field calculator to compute line length of the clipping result? Commented Nov 18, 2019 at 6:43
  • Yes, I did that and it worked, thanks! :)
    – user153752
    Commented Nov 22, 2019 at 17:25

1 Answer 1


First, you prepare a buffer of your points with "vector > geoprocessing > buffer" and define 100 m as the buffer distance, leave every other option as is; after that there's a function just for that in "vector > analysis tools > sum line length", use your buffers and your lines as parameters; according to the manual: Sum line lengths This algorithm takes a polygon layer and a line layer and measures the total length of lines and the total number of them that cross each polygon. The resulting layer has the same features as the input polygon layer, but with two additional attributes containing the length and count of the lines across each polygon. The names of these two fields can be configured in the algorithm parameters.

  • 2
    don't forget to reproject the base data into a projection in metres or you will end up with the whole world in 100 degrees of the point.
    – Ian Turton
    Commented Nov 18, 2019 at 9:26
  • 1
    Thanks Elio! It worked, also, thanks Ian, I projected it in meters and then processed it. :)
    – user153752
    Commented Nov 22, 2019 at 17:25
  • If it worked you may mark the answer as accepted, this helps other users find their way through all possible answers
    – Elio Diaz
    Commented Nov 22, 2019 at 18:09

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.