Opened 8 years ago

Closed 12 days ago

#170 closed enhancement (fixed)

Add ogr support for DWG format

Reported by: TC Haddad Owned by: Jeff McKenna
Priority: enhancement Milestone: 5.2.0 release
Component: MS4W - GDAL Version: 3.2.7
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Jeff McKenna)

Not sure if this is possible, as it is unclear to me if a user must have a license to use this format or not. However I'm submitting here in case it seems possible. It has been a format that users have requested in the past.

For some reason there are 2 different gdal reference pages:

http://www.gdal.org/drv_cad.html
http://www.gdal.org/drv_dwg.html

Also these might be helpful:

http://trac.osgeo.org/gdal/wiki/DxfDwg

https://github.com/sandyre/libopencad

https://www.opendesign.com/files/guestdownloads/OpenDesign_Specification_for_.dwg_files.pdf

If building DWG into ogr is not possible, it appears an alternative for users is to use a converter tool to change files from DWG to DXF, which is already in ogr:

https://www.opendesign.com/guestfiles/TeighaFileConverter

Change History (15)

comment:1 by Jeff McKenna, 7 years ago

Milestone: 4.0 release4.1 release

comment:2 by Jeff McKenna, 7 years ago

Type: defecttask

comment:3 by Jeff McKenna, 7 years ago

Type: taskenhancement

comment:4 by Jeff McKenna, 6 years ago

Milestone: 4.1 release4.2 release

Milestone renamed

comment:5 by Jeff McKenna, 6 years ago

Milestone: 4.2 release4.1 release

Milestone renamed

comment:6 by Jeff McKenna, 5 years ago

Milestone: 4.1 release4.1.0 release

Milestone renamed

comment:7 by Jeff McKenna, 4 years ago

Milestone: 4.1.0 release5.0.0 release

Milestone renamed

comment:8 by Jeff McKenna, 4 years ago

Description: modified (diff)

The GDAL "CAD" driver is available in MS4W 5.0.0-alpha. (needs testing)

comment:9 by Jeff McKenna, 16 months ago

Milestone: 5.0.0 release5.0.1 release

(need to re-examine this, with @tchaddad, for MS4W 5.0.1 release)

comment:10 by Jeff McKenna, 8 months ago

Milestone: 5.0.1 release5.2.0 release

Milestone renamed

comment:11 by Jeff McKenna, 2 weeks ago

Milestone: 5.2.0 releasefuture

comment:12 by Jeff McKenna, 2 weeks ago

hmm the OGR DWG "CAD" driver seems to not be in MS4W 5.2.0-rc2, I think it is a config issue, I'll consider adding it for RC3.

comment:13 by Jeff McKenna, 13 days ago

@tchaddad I will enable the "OGR CAD" driver, for this next rc3 release. ( https://gdal.org/en/stable/drivers/vector/cad.html ) Hope that is acceptable.

comment:14 by Jeff McKenna, 12 days ago

Milestone: future5.2.0 release

comment:15 by Jeff McKenna, 12 days ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.