<div dir="ltr">OK Nyall<div><br></div><div>I will also take a look</div><div><br></div><div>Thanks</div><div><br></div><div>Jesús</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 7 sept. 2020 a las 1:22, Nyall Dawson (<<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, 5 Sep 2020 at 06:11, Jesús de Diego Alarcón <<a href="mailto:jesdial@gmail.com" target="_blank">jesdial@gmail.com</a>> wrote:<br>
><br>
> OK Let's try then<br>
<br>
FYI there's also libredwg -- <a href="https://github.com/LibreDWG/libredwg" rel="noreferrer" target="_blank">https://github.com/LibreDWG/libredwg</a> ,<br>
which is seeing a lot of development focus recently (maybe at some<br>
stage we should abstract out the backend dwg library in qgis to give<br>
users a choice of backend to use for conversion...)<br>
<br>
Nyall<br>
<br>
><br>
> Thanks a lot<br>
><br>
> Jesús de Diego<br>
><br>
> El vie., 4 sept. 2020 a las 20:10, Andreas Neumann (<<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>>) escribió:<br>
>><br>
>> Hi Jesús,<br>
>><br>
>> No - that's a misconception. Despite the name of the library it also reads DWG files. It's not perfect, but it reads DWG ;-)<br>
>><br>
>> Greetings,<br>
>><br>
>> Andreas<br>
>><br>
>> Am 04.09.20 um 17:43 schrieb Jesús de Diego Alarcón:<br>
>><br>
>> Hi Andreas<br>
>><br>
>> 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.<br>
>><br>
>> Thanks again<br>
>><br>
>> Jesús de Diego<br>
>><br>
>> El vie., 4 sept. 2020 a las 14:48, Andreas Neumann (<<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>>) escribió:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> It is using the libdxfrw library.<br>
>>><br>
>>> 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: <a href="https://github.com/qgis/QGIS/tree/master/external/libdxfrw" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/tree/master/external/libdxfrw</a><br>
>>><br>
>>> Greetings,<br>
>>><br>
>>> Andreas<br>
>>><br>
>>> On 2020-09-04 14:38, Jesús de Diego Alarcón wrote:<br>
>>><br>
>>> Dear all<br>
>>><br>
>>> 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 ).<br>
>>><br>
>>> 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).<br>
>>><br>
>>> Any help will be appreciated. Thank you in advance<br>
>>><br>
>>> Jesús de Diego<br>
>>><br>
>>> --<br>
>>> Jesús de Diego Alarcón<br>
>>> <a href="mailto:jesdial@gmail.com" target="_blank">jesdial@gmail.com</a><br>
>>><br>
>>> "La vida es linda, lo malo es que muchos confunden lindo con fácil."<br>
>>> Mafalda<br>
>>><br>
>>> _______________________________________________<br>
>>> QGIS-Developer mailing list<br>
>>> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
>>> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>>> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> Jesús de Diego Alarcón<br>
>> <a href="mailto:jesdial@gmail.com" target="_blank">jesdial@gmail.com</a><br>
>><br>
>> "La vida es linda, lo malo es que muchos confunden lindo con fácil."<br>
>> Mafalda<br>
><br>
><br>
><br>
> --<br>
> Jesús de Diego Alarcón<br>
> <a href="mailto:jesdial@gmail.com" target="_blank">jesdial@gmail.com</a><br>
><br>
> "La vida es linda, lo malo es que muchos confunden lindo con fácil."<br>
> Mafalda<br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Jesús de Diego Alarcón<br><a href="mailto:jesdial@gmail.com" target="_blank">jesdial@gmail.com</a><br><br>"La vida es linda, lo malo es que muchos confunden lindo con fácil."<br>Mafalda</div>