I have a layer of driveway that is in polylines unclosed . They are just two parallel lines outlining the width of the driveway. Then again, there is a gap (sidewalk layer) and driveway continues until it touches the road. So my question is how to extend the line? and how to close all those lines to form a polygon?

I also have a lot boundary that has a unique ID. So I can summarize the lines that fall within the same boundary ID. But I am encountering the problem to connect the lines and make it a polygon layer.

enter image description here


there are different tools to close polylines automatically. The first that I would suggest in your case is "extend". If it is not enough, you can also use "integrate", but this could move some vertices that you don't want to move, therefore I always use it on a copy of my data. If your lines are to close there is a risk that they merge.

Another approach consists in building a convex hull (minimum bounding geometry) around lines with the same ID (use dissolve tool): this could be helpful to connect the ends. Alternatively, you can build buffer with square end around your lines.

  • Thanks, I have tried integrate. Like you said it is kinda risky to use it. It works for some of the lines only. In some cases it gives a V-shaped end. I will try extend tool later. I suppose I need to filter out only the portions that intersect with the lot and extend them, correct? – CV8501 May 8 '14 at 20:49
  • I like the convex hull idea! – Hornbydd May 9 '14 at 11:04

If it's just one, single driveway, then turn on editing and just draw the remaining lines. After that use the line to polygon tool.

  • The study area is about 20km2. I wanted to avoid the manual digitization; so , editing is not a good choice in this case. – CV8501 May 8 '14 at 20:46

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.