id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 4350,CopyDataSource doesn't attach driver,brfr,Even Rouault,"Hi, a thing I noticed while using CopyDataSource: the driver is lost, see the short code example below: {{{ Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2 Type ""help"", ""copyright"", ""credits"" or ""license"" for more information. >>> from osgeo import ogr >>> from osgeo import gdal >>> print gdal.VersionInfo() 1730 >>> in_ds = ogr.Open('points.shp') >>> in_ds.GetDriver() > >>> in_drv = in_ds.GetDriver() >>> out_ds = in_drv.CopyDataSource(in_ds, 'cp.shp') >>> out_ds.GetDriver() >>> out_drv = out_ds.GetDriver() >>> out_drv is None True >>> }}} Greetings Frank",defect,closed,normal,1.9.0,OGR_SF,1.7.3,normal,fixed,,