From: Diana Esch-M. <des...@la...> - 2003-02-20 00:28:15
|
Sorry if this is sent twice, we were having problems with mail today ....... I have the following method. The file I am trying to copy has no geotransform or projection or metadata. The file I create has the origin 0,1? Why? Both are HFA files. Thanks, Diana def CopyDatasetInfo( self,src, dst ): if src.GetGCPCount() > 0: dst.SetGCPs( src.GetGCPs(), src.GetGCPProjection() ) dst.SetGeoTransform( src.GetGeoTransform() ) dst.SetProjection( src.GetProjection() ) dst.SetMetadata( src.GetMetadata() ) |