Hi Andrea, you may consider using "gdal_translate -b 1 -b 2 -b 3 inputTiff outputTiff"
I assume you are referring to overviews, right? In that case, gdal_translate won't copy overviews so you are lucky :) You may also consider adding tiling with "-co TILED=YES" to the previous command: "gdal_translate -b 1 -b 2 -b 3 -co TILED=YES inputTiff outputTiff" Default tiling is 256x256; you may specify different one with -co BLOCKXSIZE=nnn -co BLOCKYSIZE=mmm Hope this helps. Cheers, Daniele == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- On Wed, Jan 15, 2014 at 12:01 PM, Andrea Peri <[email protected]> wrote: > Hi, > > I have a lot of huge tiff not-gereferenced raster. > These tiff are all with 4 bands (RGBA) and 10 pyramids inside. > > I need to remove the piramids and retrieve a new tiff version without the > piramids and with only 3 bands (RGB). > > Usually this work is do using imagemagick or vips, but I like to try to > use the gdal-translate to do this. > But Im not sure , because the tiff are not georef and also I'm not sure if > gdal is capable to read a 4 pyramid tiff and generate a 3 not-piramid tiff. > > Thx for every hints. > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty àèìòù > ----------------- > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
