0

Is there a way to convert a line or multiple lines into polygon?

I have a feature attribute as with, and the line represents the road. I want to convert every route into a polygon plane that somewhat looks like a road.

I think if line turns, then polygon will look disconnected. How to fix it, if possible?

Taras
  • 32,823
  • 4
  • 66
  • 137
Joe Chen
  • 9
  • 1
  • 3
    You could try buffer https://www.qgistutorials.com/en/docs/performing_spatial_queries.html or polygonize https://gis.stackexchange.com/questions/207463/convert-a-line-to-polygon?rq=1 depending on what you're after. – Michael Stimson Jun 21 '19 at 00:56

1 Answers1

2

Agree with @Michael use the Buffer option. It will create the polygon you require. The only thing u need to know is the width of the road. Different roads would have different width, so you might have to do it in batches, but then again its upto you if you want to keep a common width for all or go for different.

Shelly
  • 161
  • 6