Re: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Matteo Ghetta via QGIS-Developer
thanks for all the answers! I forgot to tell the those files are importable in Windows. Does it change anything? Matteo On 7/13/23 09:59, Matthias Kuhn wrote: Hi Matteo, libdxfrw doesn't support this version yet. There's an open PR for libdxfrw for importing newer versions:

Re: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Matthias Kuhn via QGIS-Developer
Hi Matteo, libdxfrw doesn't support this version yet. There's an open PR for libdxfrw for importing newer versions: https://github.com/LibreCAD/libdxfrw/pull/63 You might be able to manually patch it if you are adventurous Matthias On Thu, Jul 13, 2023 at 9:44 AM Stefan Giese (WhereGroup)

Re: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Stefan Giese (WhereGroup) via QGIS-Developer
Hi Matteo, did you import via drag-and-drop from the Browser or did you use use the dedicated Project ► Import/Export ► Import Layers from DWG/DXF tool? Best Stefan Am 13.07.2023 um 09:10 schrieb Matteo Ghetta via QGIS-Developer: Hi all, I'm on a Debian testing fresh machine and with both

Re: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Andreas Neumann via QGIS-Developer
Hi, There are actually several options and libraries for the handling of dxf/dwg files: - libdxfrw (patched and improved by Jürgen) and lives within the QGIS source tree - this is used for the import/export when using the commands in the project menu for several layer at once - ogr (

Re: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread WhereGroup
Hi Matteo, I assume that those are provided via GDAL. Check https://gdal.org/drivers/vector/ for how to get a GDAL that supports them. https://gdal.org/drivers/vector/cad.html sounds like you need to make sure that your GDAL was compiled with its internal libopencad or you could use

Re: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Frank Broniewski via QGIS-Developer
An: qgis-developer@lists.osgeo.org Betreff: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian Hi all, I'm on a Debian testing fresh machine and with both QGIS 3.28 from package and master compiled I cannot import DWG/DXF. This is the error I get: Drawing import failed (unsupported version. Cannot read

[QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Matteo Ghetta via QGIS-Developer
Hi all, I'm on a Debian testing fresh machine and with both QGIS 3.28 from package and master compiled I cannot import DWG/DXF. This is the error I get: Drawing import failed (unsupported version. Cannot read AutoCAD 2018/2019/2020 documents.) I don't remember if there is a procedure on