Re: [gdal-dev] thuban/ gdal : ERROR 4 not recognized format

2009-07-10 Thread Didrik Pinte
On Thu, 2009-07-09 at 19:58 +0200, Even Rouault wrote: > I see in a call to GDALDestroyDriverManager() in > http://wald.intevation.org/plugins/scmsvn/viewcvs.php/trunk/thuban/libraries/thuban/gdalwarp.cpp?rev=2866&root=thuban&view=markup. > > This is a very bad idea if you intend to call the Proj

Re: [gdal-dev] thuban/ gdal : ERROR 4 not recognized format

2009-07-09 Thread Even Rouault
I see in a call to GDALDestroyDriverManager() in http://wald.intevation.org/plugins/scmsvn/viewcvs.php/trunk/thuban/libraries/thuban/gdalwarp.cpp?rev=2866&root=thuban&view=markup. This is a very bad idea if you intend to call the ProjectRasterFile() method several times !! This deregisters all d

[gdal-dev] thuban/ gdal : ERROR 4 not recognized format

2009-07-08 Thread Didrik Pinte
Hi, I am trying to solve an annoying bug in Thuban. Thuban uses a python gdalwarp module to reproject raster files. Since gdal 1.5, everything worked fine. But now the following problem occurs. Loading a new raster in Thuban is done like this : 1. Open the file using gdal.Open() to get some inf