<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Jürgen,<br>
    <br>
    There is several problems with libdxfrw:<br>
    1. The library have GPLv2 license which is incompatible with GDAL
    X/MIT<br>
    2. The library support only DWG from r14 to the last 2003 version <br>
    3. This is third party dependency for GDAL.<br>
    4. There is already the DXF driver in GDAL.<br>
    <br>
    The GPLv2 is ok for QGIS, but it'll be nice to not duplicate <span
      id="result_box" class="short_text" lang="en"><span class="hps">efforts.
        <br>
        The GDAL is used widely in many projects and a DWG driver from
        GDAL will be available there (including QGIS). <br>
        During GSoC we plan to create not 100% featured driver (this is
        impossible for such small period), but something close to GDAL
        DXF driver. <br>
        <br>
        No idea what is best to do now. </span></span>
    <pre class="moz-signature" cols="72">Best regards,
    Dmitry</pre>
    <div class="moz-cite-prefix">16.03.2016 17:07, Jürgen E. Fischer
      пишет:<br>
    </div>
    <blockquote cite="mid:20160316140744.GA31955@norbit.de" type="cite">
      <pre wrap="">Hi Alexander,

On Wed, 16. Mar 2016 at 12:40:39 +0000, Борзых Александр Андреевич wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Overall idea
DWG  is very wide-spread format and it seems like there is a lot of requests
for a good conversion tools from DWG to more common spatial data. I  think
that current implementations of DWG support are not optimal. For  example
libdwg (abandoned), libredwg (GPLv3 incompatible with X/MIT).
</pre>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">There are near 7 versions of DWG format (R13, R14, R2000, R2004, R2007,
R2010, R2013) with differencies in file organisation, so driver should be
able to read from and write to all of them.
</pre>
      </blockquote>
      <pre wrap="">
There's also libdxfrw that supports these.  It's what we will use to do a
DWG/DXF import in QGIS.



Jürgen

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>