<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello Even,</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It makes sense that the driver is proprietary, but the documentation page:</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<a href="https://gdal.org/drivers/vector/dwg.html" id="LPlnk693911">https://gdal.org/drivers/vector/dwg.html</a><br>
</div>
<div id="LPBorder_GTaHR0cHM6Ly9nZGFsLm9yZy9kcml2ZXJzL3ZlY3Rvci9kd2cuaHRtbA.." class="LPBorder274695" contenteditable="false" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer274695" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td style="width: 100%;">
<div id="LPTitle274695" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor274695" href="https://gdal.org/drivers/vector/dwg.html" style="text-decoration: none; color: var(--themePrimary);">AutoCAD DWG — GDAL documentation</a></div>
<div id="LPDescription274695" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
DWG_INLINE_BLOCKS¶. The default behavior is for block references to be expanded with the geometry of the block they reference. However, if the DWG_INLINE_BLOCKS configuration option is set to the value FALSE, then the behavior is different as described here.</div>
<div id="LPMetadata274695" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
gdal.org</div>
</td>
</tr>
</tbody>
</table>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
makes no mention of this fact.</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Sadly, I am working with some clients who only use dwg, and I need the data in json, and autoCad doesn't use GDAL, so can't export to json.</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The work-around I have found is to ask the client to export the file as dxf, but it has been extremely difficult to get them to give me dxf files, and I don't know if the dxf is trimming information.</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I would rather pay for a driver to convert gdal files to json than pay for autoCad, especially since autoCad would only be used to convert files.</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
What is the process for including the gdal driver in the build? Is there a newbie tutorial on how to build gdal from source?</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you,</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://www.ski.org/users/brandon-biggs" title="https://www.ski.org/users/brandon-biggs">Brandon Biggs</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Engineer</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Smith-Kettlewell Eye Research Institute</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Office: <span style="font-size:10pt; font-family:Arial; text-align:center">415-345-2130</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-size:10pt; font-family:Arial; text-align:center">Cell: 650-833-9394</span></div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Even Rouault <even.rouault@spatialys.com><br>
<b>Sent:</b> Wednesday, October 16, 2019 1:02 AM<br>
<b>To:</b> gdal-dev@lists.osgeo.org <gdal-dev@lists.osgeo.org><br>
<b>Cc:</b> Alan Snow <alansnow21@gmail.com>; Brandon Biggs <brandon.biggs@ski.org><br>
<b>Subject:</b> Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On mardi 15 octobre 2019 19:06:15 CEST Alan Snow wrote:<br>
> Hi Brandon.<br>
> <br>
> I would recommend opening up an issue on the conda-forge feedstock:<br>
> <a href="https://github.com/conda-forge/gdal-feedstock">https://github.com/conda-forge/gdal-feedstock</a><br>
<br>
Do you realize that the DWG driver requires a proprietary (& non-gratis) SDK ?<br>
<br>
The alternative is the CAD driver (<a href="https://gdal.org/drivers/raster/cad.html">https://gdal.org/drivers/raster/cad.html</a>)
<br>
but it probably doesn't support everything of the DWG one<br>
<br>
Even<br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com">http://www.spatialys.com</a><br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>