[gdal-dev] How remove the piramids from TIFF non-georef
Daniele Romagnoli
daniele.romagnoli at geo-solutions.it
Wed Jan 15 07:30:47 PST 2014
Hi,
you could try a gdalinfo on one of your tiff and see the output.
Usually overviews are saved into different pages.
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 4:26 PM, Andrea Peri <aperi2007 at gmail.com> wrote:
> Hi,
> thx for hints.
>
> I'm not sure that the gdal overview are the same of pyramid tiff.
> My tiff are all multipages.
>
> There is same information about the overview of gdal ?
>
>
>
>
> 2014/1/15 Daniele Romagnoli <daniele.romagnoli at geo-solutions.it>
>
>> 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 <aperi2007 at gmail.com>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
>>> gdal-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>>
>>
>>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20140115/f26e9763/attachment.html>
More information about the gdal-dev
mailing list