<div dir="auto">First of all, the dwg format is only available in gdal if you buy ODA SDK which is very expensive. To omit this you can switch to DXF format which is built-in by default in gdal.</div><div dir="auto"><br></div><div dir="auto"><div><a href="https://www.opendesign.com/pricing">https://www.opendesign.com/pricing</a></div></div><div dir="auto"><div><a href="https://gdal.org/drivers/vector/dxf.html">https://gdal.org/drivers/vector/dxf.html</a></div><br></div><div dir="auto">Regards,</div><div dir="auto">Michal </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">W dniu wt., 25.06.2024 o 22:04 Kurt Schwehr via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><a href="https://gdal.org/drivers/vector/dwg.html" target="_blank">https://gdal.org/drivers/vector/dwg.html</a> says:<br><div><br></div><div>> DWG files are considered to have no georeferencing information through OGR</div><div><br></div><div>From <a href="https://gdal.org/programs/ogr2ogr.html" target="_blank">https://gdal.org/programs/ogr2ogr.html</a>, you will need to specify the spatial reference system / projection with "-s_srs"</div></div><div dir="ltr"><div><br></div><div>-Kurt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 25, 2024 at 12:55 PM Ashlyn Powell via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Hello GDAL Devs, <br><br>I am new to using GDAL, and I just don't know enough about it yet. I am working with thousands of CAD files (DWG) to extract a project boundary line then export it out as a KML. I would love to automate this process. Does GDAL have the capability to work with DWG files?
Has anyone attempted this? A problem I could see happening is the projection not being set up correctly, and all of them exported boundary lines showing up in the ocean. <br><br>Any pointers are much appreciated! I thank you all for your time. <br clear="all"><div><br>Thank you, </div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><table align="left" border="0" cellpadding="0" cellspacing="0" style="font-family:tahoma,sans-serif;font-size:12px;width:442px;color:rgb(0,0,0)"><tbody style="font-family:tahoma,sans-serif"><tr style="font-family:tahoma,sans-serif"><td style="width:442px;vertical-align:top;height:10px;font-family:tahoma,sans-serif"><div style="font-size:14px;line-height:17px;font-weight:bold;font-family:tahoma,sans-serif"><span style="line-height:1.4;font-family:tahoma,sans-serif"><span style="font-size:16px;font-family:tahoma,sans-serif"><span style="font-family:tahoma,sans-serif;color:rgb(0,38,58)"><span style="font-family:verdana,geneva,sans-serif">Ashlyn Powell</span></span></span></span><span style="font-family:tahoma,sans-serif;color:rgb(0,38,58)"><br><em style="font-family:tahoma,sans-serif"><span style="font-size:12px;font-family:tahoma,sans-serif"></span></em></span></div><div style="line-height:14px;margin-bottom:10px;font-family:tahoma,sans-serif"><span style="font-family:tahoma,sans-serif;color:rgb(0,38,58)"><span style="font-family:verdana,geneva,sans-serif"><span style="line-height:1.4;font-family:verdana,geneva,sans-serif">GIS Analyst </span>| GIS</span></span></div><div style="line-height:14px;margin-bottom:10px;font-family:tahoma,sans-serif"><span style="font-family:verdana,geneva,sans-serif"><span style="line-height:1.4;font-family:verdana,geneva,sans-serif"><a href="mailto:ashlyn.haynes@blewinc.com" style="font-family:verdana,geneva,sans-serif;color:rgb(0,103,255)" target="_blank"><span style="font-family:verdana,geneva,sans-serif;color:rgb(0,38,58)">ashlyn.powell@blewinc.com</span></a></span><br><span style="font-family:verdana,geneva,sans-serif;color:rgb(0,38,58)"></span><a href="tel:8889332111" style="font-family:verdana,geneva,sans-serif;color:rgb(0,103,255)" target="_blank"><span style="font-family:verdana,geneva,sans-serif;color:rgb(0,38,58)">888-933-2111</span></a><span style="font-family:verdana,geneva,sans-serif;color:rgb(0,38,58)"></span><br><span style="line-height:1.4;font-family:verdana,geneva,sans-serif"><a href="http://www.blewinc.com/" style="font-family:verdana,geneva,sans-serif;color:rgb(0,103,255)" target="_blank"><span style="font-family:verdana,geneva,sans-serif;color:rgb(0,38,58)">www.blewinc.com</span></a></span></span></div></td></tr></tbody></table></div></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div></div>