[gdal-dev] How remove the piramids from TIFF non-georef

Imran Rajjad rajjad at gmail.com
Wed Jan 15 10:38:38 PST 2014


gdaladdo -clean

Did u try this?
On Jan 15, 2014 9:11 PM, "Antonio Falciano" <afalciano at yahoo.it> wrote:

> Il 15/01/2014 12:01, Andrea Peri ha scritto:
>
>> 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.
>>
>
> Andrea,
> you can do it with gdal_translate and its creation options [1].
> You can try with something like this:
>
> gdal_translate -co COPY_SRC_OVERVIEWS=NO -co ALPHA=NO -co TFW=YES -co
> PROFILE=BASELINE input.tif output.tif
>
> Hope this helps.
>
> Cheers,
> Antonio
>
> [1] http://www.gdal.org/frmt_gtiff.html
>
> --
> Antonio Falciano
> http://www.linkedin.com/in/antoniofalciano
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140115/3d1d3f8d/attachment-0001.html>


More information about the gdal-dev mailing list