OgrProvider returns null for DXF file

Jun 25, 2010 at 4:44 PM


I'm trying to set my VectorLayer DataSource to an instance of OgrProvider by passing in a DXF file.  I know the new version of Gdal/Ogr is supposed to support DXF files in 1.7.0 (I'm using FWTools 2.4.7).  When I construct the OgrProvider with the DXF file I'm getting Null returned from...

_ogrDataSource = OgrOgr.Open(filename, 1);

inside the Ogr constructor.  Do I have to do something special for Gdal/Ogr to support DXF files or should it just work 'out of the box'?




Jun 28, 2010 at 10:04 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.