I have some regions in an AutoCAD dxf file that needs to be imported in QGIS as polygons. I tried to import these regions from dxf but nothing happens also using the Dxf2SHP converter. What can I do?
2 Answers
I imagine this question has already been answered, but what you can do is to add a Vector Layer: Layer > Add Layer > Add Vector Layer...
Then browse for your .dxf file.
Finally, once you've chosen your file, click 'Open' and a new window appears, choose your CRS
and select the features you want to "import" (you can 'ctrl+click' to choose more than one at a time).
That should work.
-
I tried the approach suggested by Berenguer, but no geometry was imported. Sep 28, 2016 at 14:23
-
Does the window of the last image of my answer appear in your case? Sep 28, 2016 at 14:24
-
-
Can you explain what kind of AutoCAD draw do you have? (maybe a link to a screenshot or something...) Sep 28, 2016 at 14:53
-
I assume QGIS can not access regions direct (add layer) and can not import regions (dxf2shp). Try to use a dxf with closed polylines instead of regions.
- Add dxf with polylines to QGIS.
- Save dxf to shapefile
- Add shapefile to QGIS
- Use vector > geometry tools -> vector to polygon to create a shapefile with polygons