I have several dxf files. Each file, contains the 0 layer. The 0 layer contains lines (which make a closed polygon). In each dxf the lines have their color and line width. I do not have autocad or else like. I have Qgis 1.7.4. I can put these dxf files into vector layers (as line vector) into Qgis.

I do not know the way (using Qgis 1.7.4 ): 1. To turn each vector layer (with lines) to vector layer with polygon. To “copy” some of these polygons (vector layers) into a new vector layer. 2. Can each polygon into the new vector layer to have different border color? thank you


In QGIS, you better work with shapefiles. If you import the dxf as layer, you can save it as shapefile, add that to the canvas, and work with that instead of the imported layer.

Lines and polygons are treated seperately in shapefiles. So you need a line file and a polygon file. You can transform lines to polygons with Vector -> Geometry tools -> Vector to polygon.

For coloring, you can set the color according to a data field with rightclick on the layer -> Properties, Style tab

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.