[gdal-dev] GDAL & CAD Files

Michał Kowalczuk michkowalczuk at gmail.com
Tue Jun 25 13:11:26 PDT 2024


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.

https://www.opendesign.com/pricing
https://gdal.org/drivers/vector/dxf.html

Regards,
Michal

W dniu wt., 25.06.2024 o 22:04 Kurt Schwehr via gdal-dev <
gdal-dev at lists.osgeo.org> napisał(a):

> https://gdal.org/drivers/vector/dwg.html says:
>
> > DWG files are considered to have no georeferencing information through
> OGR
>
> From https://gdal.org/programs/ogr2ogr.html, you will need to specify the
> spatial reference system / projection with "-s_srs"
>
> -Kurt
>
> On Tue, Jun 25, 2024 at 12:55 PM Ashlyn Powell via gdal-dev <
> gdal-dev at lists.osgeo.org> wrote:
>
>> Hello GDAL Devs,
>>
>> 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.
>>
>> Any pointers are much appreciated! I thank you all for your time.
>>
>> Thank you,
>> --
>> Ashlyn Powell
>> GIS Analyst | GIS
>> ashlyn.powell at blewinc.com <ashlyn.haynes at blewinc.com>
>> 888-933-2111 <8889332111>
>> www.blewinc.com
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240625/ea707c56/attachment.htm>


More information about the gdal-dev mailing list