[gdal-dev] gdal_translate drops overviews

Even Rouault even.rouault at mines-paris.org
Fri Jan 14 13:20:26 EST 2011


Le vendredi 14 janvier 2011 08:41:42, Jean-Claude Repetto a écrit :
> On 01/14/11 00:02, Even Rouault wrote:
> > Le jeudi 13 janvier 2011 22:33:41, Jean-Claude REPETTO a écrit :
> >> Thanks for your answer. Unfortunately, I get an error message :
> >> 
> >> $ gdal_translate -co COPY_SRC_OVERVIEWS=YES 314-Calvi_ozf.map
> >> 314-Calvi.tif Input file size is 3303, 3080
> >> 0ERROR 1: Input and output dataset sizes or band counts do not
> >> match in GDALDatasetCopyWholeRaster()
> > 
> > Fixed by http://trac.osgeo.org/gdal/ticket/3905
> 
> Thanks for the fix. Now, the overviews are created. But the
> georeferencing is lost :

Jean-Claude,

This works for me. I get the 9 GCPs and the GCP projection as expected in the 
output GeoTIFF.

> 
> 
> Regards,
> Jean-Claude
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list