There are two types of area I want to fill color:

  • The areas bounded by a line, such as a building

  • The area bounded by different lines, such as the river

I don't know how with QGIS. I only know how to fill colors in polygons but bot lines .May you provide some suggestions?


The image here shows that the building and rivers are composed of lines: The image here shows that the building and rivers are composed of lines

1 Answer 1


I believe in this case, as you are in QGIS 2.0, you will need to convert your lines to polygons using the lines to polygons tool in fTools plugin in QGIS.

You can read about the lines to polygons tool in the QGIS documentation for 2.0, under Documentation>User Guide>Plugins>fTools Plugin>Geometry tools

here is a snippet from the manual:

Tool - Lines to polygons

Purpose - Convert lines to polygons, multipart lines to multiple singlepart polygons.

you can access it by going vector>geometry tools>Lines to polygons ( i am going off of memory so it may have one or two more dropdowns to access it. But it is in the vector drop down menu)

Once you have converted the lines to polygons, you can easily fill the colour in using the methods you mentioned you know how to.

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.