[QGIS-Developer] Library for importing dwg

Andreas Neumann a.neumann at carto.net
Fri Sep 4 11:10:11 PDT 2020


Hi Jesús,

No - that's a misconception. Despite the name of the library it also 
reads DWG files. It's not perfect, but it reads DWG ;-)

Greetings,

Andreas

Am 04.09.20 um 17:43 schrieb Jesús de Diego Alarcón:
> Hi Andreas
>
> First of all, thank you so much for your (quick) answer. I will take a 
> look but it seems that libdxfrw is working for *dxf files, not 
> dwg*...Any case I will take a look.
>
> Thanks again
>
> Jesús de Diego
>
> El vie., 4 sept. 2020 a las 14:48, Andreas Neumann 
> (<a.neumann at carto.net <mailto:a.neumann at carto.net>>) escribió:
>
>     Hi,
>
>     It is using the libdxfrw library.
>
>     Jürgen might have forked/patched it though, because activity in
>     the original project is basically stalled -  I think you can find
>     our version here:
>     https://github.com/qgis/QGIS/tree/master/external/libdxfrw
>
>     Greetings,
>
>     Andreas
>
>     On 2020-09-04 14:38, Jesús de Diego Alarcón wrote:
>
>>     Dear all
>>     I would like to know which library is using QGIS for importing
>>     dwg files (this functionality is accessible in /File > 
>>     Import/Export > Importing a DXF or DWG file /).
>>     I had supposed that this functionality was using the
>>     newly-developed OGR CAD driver... But I have tried with ogr2ogr
>>     both command line and Python console and dwg files are not
>>     supported (at least the same dwf file I am able to import with
>>     the mentioned functionality).
>>     Any help will be appreciated. Thank you in advance
>>     Jesús de Diego
>>     -- 
>>     Jesús de Diego Alarcón
>>     jesdial at gmail.com <mailto:jesdial at gmail.com>
>>
>>     "La vida es linda, lo malo es que muchos confunden lindo con fácil."
>>     Mafalda
>>
>>     _______________________________________________
>>     QGIS-Developer mailing list
>>     QGIS-Developer at lists.osgeo.org
>>     <mailto:QGIS-Developer at lists.osgeo.org>
>>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
>
> -- 
> Jesús de Diego Alarcón
> jesdial at gmail.com <mailto:jesdial at gmail.com>
>
> "La vida es linda, lo malo es que muchos confunden lindo con fácil."
> Mafalda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200904/140e1550/attachment.html>


More information about the QGIS-Developer mailing list