2

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?

1
  • Why not open the DXF in QGIS natively?
    – Mapperz
    Sep 28, 2016 at 13:48

2 Answers 2

1

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...

Layer

Then browse for your .dxf file.

browse

Finally, once you've chosen your file, click 'Open' and a new window appears, choose your CRS

CRS

and select the features you want to "import" (you can 'ctrl+click' to choose more than one at a time).

features

That should work.

6
  • 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
  • No windows appeared... Sep 28, 2016 at 14:43
  • 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 use AutoCAD 2010 Sep 28, 2016 at 15:02
1

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.

  1. Add dxf with polylines to QGIS.
  2. Save dxf to shapefile
  3. Add shapefile to QGIS
  4. Use vector > geometry tools -> vector to polygon to create a shapefile with polygons

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.