<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
Hi Andreas:<br>
I had a chance to import some DWG files. Seems to be working nicely.
I tried with some old (ACAD2000) version and some newer ones and all
were correctly imported, with layer coloring, hatches, blocks, etc,
as far as I could see. <br>
<br>
Here are some issues that I noticed:<br>
<ol>
<li>There must be no "unusual" characters or spaces in name of the
DWG file, or the full path to the file. The file name and full
path need to be only ASCII.</li>
<li>Drag from the Browser panel does not seem to work (Invalid
layer reported from GDAL)</li>
<li>The conversion to gpkg is somewhat slow (one file, 7MB took
about 25 minutes to load, and grew to 56MB !) but there's no
visual indication that it is progressing. DWG files with XREF's
also take a long time. What you get is the "Not responding"
message in the DWG Import window. If you have patience :-) it
eventually finishes successfully. It would be preferable to see
some progress bar.<br>
</li>
<li>When opening the DWG Import window, the settings from the
previous import are still there (even if you close and reopen
QGIS). If you leave the same gpkg filename as the previous
import, it is overwritten, without any warning. I think it would
be better to have both text boxes, "Geopackage" and "Drawing",
<b>empty</b> every time the window opens. And an overwrite
warning would also be good. <br>
</li>
</ol>
<p>Thanks for your work on this!</p>
<p><br>
</p>
<p>Regards,</p>
<p>Micha<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/08/2018 17:18, Boaz Bar Ilan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAP+w7XQ4W9BOH1WNmAo0+3fq8jPhuJx5Z5-0u1p8n0Hkcf2X7w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="rtl">
<div dir="ltr">hi</div>
<div dir="ltr">thanks</div>
<div dir="ltr">I didn't succeed importing</div>
<div dir="ltr"> I followed the instructions</div>
<div dir="ltr">it seems that the created geopackage file is not
correct</div>
<div dir="ltr">is there accurate instruction ?</div>
<div dir="ltr">thanks</div>
<div dir="ltr">boaz</div>
<div dir="ltr"><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div dir="ltr">2018-08-02 15:53 GMT+03:00 Andreas Neumann <span
dir="ltr"><<a href="mailto:a.neumann@carto.net"
target="_blank" moz-do-not-send="true">a.neumann@carto.net</a>></span>:</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div
style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi Micha,</p>
<p>This is already implemeted quite a long time ago. You
have to use Menu "Project" --> "Import/Export" -->
"Import Layers from DWG/DXF".</p>
<p>What it does: it imports the DWG/DXF into a geopackage
and tries to keep styling and labeling as good as
possible. DXF blocks are converted to SVGs. It should
work fine in general, but of course there can be issues.</p>
<p>The major thing I am still missing is an easy way to
georeference vectors in QGIS, since many DWG/DXFs use a
local coordinate system.</p>
<p>Could you please report back if it works fine for you?</p>
<p>Greetings,<br>
Andreas</p>
<div>
<div class="h5">
<p>On 2018-08-02 14:43, Micha Silver wrote:</p>
</div>
</div>
<blockquote style="padding:0 0.4em;border-left:#1010ff 2px
solid;margin:0" type="cite">
<div>
<div class="h5"> Over the years the question of
reading DWG format files has come up [1]. And there
was even a crowd funding campaign some years ago [2]
. Andreas' initial design requirements document [3]
is still sitting on google docs.<br>
Does anyone have some update on this?<br>
<br>
Thanks,<br>
Micha<br>
<br>
[1] <a
class="m_799128787372017020moz-txt-link-freetext"
href="https://lists.osgeo.org/pipermail/qgis-user/2016-October/038043.html"
target="_blank" rel="noopener noreferrer"
moz-do-not-send="true">https://lists.osgeo.org/<wbr>pipermail/qgis-user/2016-<wbr>October/038043.html</a>
<br>
[2] <a
class="m_799128787372017020moz-txt-link-freetext"
href="https://blog.qgis.org/2015/12/08/crowd-funding-project-for-reading-cad-documents-in-qgis/"
target="_blank" rel="noopener noreferrer"
moz-do-not-send="true">https://blog.qgis.org/2015/12/<wbr>08/crowd-funding-project-for-<wbr>reading-cad-documents-in-qgis/</a><br>
[3] <a
class="m_799128787372017020moz-txt-link-freetext"
href="https://docs.google.com/document/d/1NJv1lwd5TnWdV-fTuW7g5ts1O8r3vb46xYeAIQ_BwGw/edit"
target="_blank" rel="noopener noreferrer"
moz-do-not-send="true">https://docs.google.com/<wbr>document/d/1NJv1lwd5TnWdV-<wbr>fTuW7g5ts1O8r3vb46xYeAIQ_BwGw/<wbr>edit</a><br>
<br>
<pre class="m_799128787372017020moz-signature">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
+972-523-665918</pre>
<br>
</div>
</div>
<div class="m_799128787372017020pre"
style="margin:0;padding:0;font-family:monospace">______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org"
target="_blank" moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank" rel="noopener noreferrer"
moz-do-not-send="true">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank" rel="noopener noreferrer"
moz-do-not-send="true">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br>
</p>
</div>
<br>
______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org"
moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank" rel="noreferrer" moz-do-not-send="true">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank" rel="noreferrer" moz-do-not-send="true">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
+972-523-665918</pre>
</body>
</html>