<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas",serif;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Courier New";
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">Somebody must get the same quality of “engineering” that we do here. :D<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">The last item received was in feet and aligns with California State Plane Zone 6, but they chopped off the first digit of both “X” and “Y” for everything. Who knows why. Maybe things
run faster for them with 6 digit coordinates rather than 7 digit ones like you mentioned. (???)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">Anyway, when I tried the simple drag and drop into QGIS 3.22 it never worked. Always an error message about invalid data, even after I used DWG Trueview to convert it to the oldest
possible versions (97/98 and 2000). I did manage to get it in AFTER converting the DWG to a DXF with an online conversion site. That DXF could be drug (I hate the word “dragged” – seems along the lines of “runned”) into QGIS and appeared OK. Export to a
shapefile and then do some affine adjustment magic and things can be worked with.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New"">Is there a reason that a DWG can’t be dropped into QGIS 3.22 but a DXF can? Are there some DWG versions that just don’t work? I thought I got a DWG to appear OK in 3.16, but maybe
I just imagined it and used a DXF before too. . . .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Qgis-user <qgis-user-bounces@lists.osgeo.org> <b>
On Behalf Of </b>Bernd Vogelgesang<br>
<b>Sent:</b> Sunday, November 21, 2021 10:53 AM<br>
<b>To:</b> Nicolas Cadieux <njacadieux.gitlab@gmail.com>; Greg Troxel <gdt@lexort.com>; Boaz Bar Ilan <boazprosie@gmail.com><br>
<b>Cc:</b> qgis-user <qgis-user@lists.osgeo.org><br>
<b>Subject:</b> Re: [Qgis-user] importing dwg/dxf<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 21.11.21 15:35, Nicolas Cadieux wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi, <br>
<br>
.dwg or dxf have no CRS. They can be in inches, feet, mm, cm, m... Usually meter in a local CRS like a local WGS84 UTM ZONE is used. You can usually find this in the metadata if available.
<br>
<br>
Nicolas <o:p></o:p></p>
</blockquote>
<p>I have no deep technical insight into dwg or dxf, but I am pretty sure that those CAD-"products" are able to be produced with valid coordinates, fitting to a common CRS. Most people using CAD-systems simply seem to be either too stupid for that, or just
do not care.<o:p></o:p></p>
<p>One of the reasons, CAD-"data" is produced with a local reference system instead with a normal CRS is, according to an CAD-operator I once asked about this, that some CAD-systems just slow down to in-operability when using real-world coordinates because
of the huge numbers, compared to the small coordinates in their own system.<br>
<br>
So, I would not even try to fix this, but instead ask those guys to stop scratching their balls and better send you proper real-world data and tell you which CRS they are in . The handling of this "data" is punishment enough afterwords.<o:p></o:p></p>
<p>Hope my dislike for this "technology" was not too obvious ;)<o:p></o:p></p>
<p>Cheers,<o:p></o:p></p>
<p>Bernd<o:p></o:p></p>
<p><o:p> </o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><br>
On 2021-11-21 9:07 a.m., Greg Troxel wrote: <br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Boaz Bar Ilan<a href="mailto:boazprosie@gmail.com"><boazprosie@gmail.com></a> writes:
<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">i always have problem importing dwg or dxf . the layers dont fit the
<br>
coardinations and even when i set the layers crs it doesnt work. <o:p></o:p></p>
</blockquote>
<p class="MsoNormal">I am far from an expert, but recently tried to deal with a dwg.
<br>
<br>
My impression is that they are almost always in local coordinates, and <br>
the path to success is something like using GeoScience plugin to define <br>
a local CRS based on control points where you know global coordinates <br>
and local, and then to use that CRS for the data. <br>
<br>
I recently imported some "PNEZD" data (csv with point it, northing, <br>
easting, vertical, and description, all in an unspecified local grid, <br>
from a total station data collector) and used geoscience to align it <br>
wtih RTK obsservations of a few points, and things fit quite well. <br>
<br>
How are you getting dwg? Are you using the proprietary dwg library with <br>
gdal, or is there some open source path? <br>
<br>
_______________________________________________ <br>
Qgis-user mailing list <br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a> <br>
List <a href="info:https://lists.osgeo.org/mailman/listinfo/qgis-user">info:https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
Unsubscribe:<a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Qgis-user mailing list<o:p></o:p></pre>
<pre><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><o:p></o:p></pre>
<pre>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre>
<pre>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre>
</blockquote>
</div>
</body>
</html>