1

enter image description hereIn QGIS, is there a Plugin or a geoalgorithm that allows you to convert lines to polygons but incorporates a particular attribute?

I have roadside kerbs which have a field for road name, and if possible would like to convert these to polygons using the road name so we have the road carriageway, so it would also need to close the polylines.

The conversion tools I've tried don't allow for attribute selection so it means it only creates polygons where there are joining lines, such as a whole block.

6
  • Yes, check this thread gis.stackexchange.com/a/379411/99589
    – Taras
    Nov 24 '20 at 4:20
  • Thanks. That is close but I would need it to represent the true shape. Is there a tool to close polylines based on attributes which could then allow me to convert it to polygon?
    – Josh
    Nov 26 '20 at 2:48
  • Can you be so kind and attach some additional graphic that will elucidate your desired output?
    – Taras
    Nov 26 '20 at 5:55
  • Apologies. I've added an example. I'd like the kerb to close off and be converted to a polygon so it represents the paved roadway.
    – Josh
    Nov 26 '20 at 22:57
  • Can you please share a piece of data with us? I can suggest using the "Geometry by expression" with make_polygon($geometry) but not sure if it can work for you.
    – Taras
    Nov 27 '20 at 8:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.