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@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@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.pow...@blewinc.com <ashlyn.hay...@blewinc.com> >> 888-933-2111 <8889332111> >> www.blewinc.com >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/gdal-dev >> > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev