I have a shapefile with linestring type which are the roads and I want to be able to use this in PowerBI but it doesn't support linestring types. So I want to covert each of the lines into polygons. Polygons that are just rectangles of each of the lines as I still want to represent roads.

Is there a way I can do this in QGIS?

  • Did you try to use (buffer)?
    – Moh
    Commented Apr 1, 2018 at 21:09
  • 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 Apr 5, 2018 at 17:38

1 Answer 1


Buffer tool:

enter image description here.

If you are using older version of QGIS and need "flat" caps, use grass tool v.buffer which allows creation of flat or round caps.

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.