Hello everyone, welcome to another QGIS Tutorial for Beginners. In this article, we are going to learn how to open or import the DXF file into QGIS. As you know, QGIS is a powerful GIS tool that allows us to open, import and export various gis files. Make sure you have QGIS installed on your system. The following article will show you how to install QGIS on Ubuntu.
When importing DXF into QGIS, all the attributes, fields/columns in the DXF can be translated completely. During my work, I never had any issues converting this DXF. QGIS does a very good job at this.
Steps to Import DXF File into QGIS
I am using QGIS version 3.10 but the steps should be pretty similar even if you are using an older or newer version.
- Open QGIS
- Go to Layer | Add Layer | Add Vector Layer
- On the Source Type, choose file
- Browse the DXF file on the Source vector dataset
- Click Add
- In a few moments, your DXF file should be displayed in QGIS canvas
Watch the following video for the complete steps to import DXF file into QGIS.
Thanks for reading and see you next time.
Mikael PoliMay 27, 2020
I imported my dfx with the “import dwg/dfx files” function in the project window, and I gave a projection, but the coordinates arent good (it is supposed to be in montreal but it is in ecuador). Do you know what can i do?
Daniel GrootMarch 11, 2021
Hi, for me this doesn’t work. I get the error: Invalid Data Source : ‘[FILENAME].dxf is not a valid or recognized data source.’ Do you maybe know what I could do differently? Thank you.
Elise RobertsJune 30, 2021
It says the same for me as well
Martin GillainAugust 4, 2022
You can actually save .dxf files in two different formats => Binary and ASCII.
The former giving the aforementioned error and the latter working fine, I recommend using the ASCII format!