[Gdal-dev] multipage geotiff

Stephane Routelous route at CAE.COM
Wed Feb 22 15:39:05 EST 2006


Well, after checking the code, it is not what I want to do. 
Just because I asked the wrong question...
I don't want to generate overviews, I want to have sub images inside a
TIF file with different information.
Is that possible without changing the GDAL code ?
I will have an image with 
1024x1024
512x512
256x256
128x128
64x64
32x32
16x16
8x8
4x4
2x2
1x1
1x1
1x1
1x1
1x1
1x1
1x1
1x1
1x1
1x1
1x1

But where the level n-1 is NOT a resampling of the level n

Stephane

-----Original Message-----
From: Bill Binko [mailto:bill at binko.net] 
Sent: Wednesday, February 22, 2006 3:35 PM
To: Stephane Routelous
Cc: Matt Wilkie; gdal-dev at lists.maptools.org
Subject: Re: [Gdal-dev] multipage geotiff

Oh!  That would be:

    system("gdaladdo -r average abc.tif 2 4 8 16");
:-)

Just kidding!  Actually, I posted to mention that there is a bug in
gdaladdo such that if you put enough summary levels in there that the
"farthest out" overview is < 1 pixel, it will crash (at least on Linux).
So make sure you don't do something like the above on small test images.

Bill



Stephane Routelous wrote:

>Thanks,
>
>I would like to do it programmatically, so I will check the code of 
>gdaladdo.
>
>Best Regards,
>
>Stephane Routelous
>
>-----Original Message-----
>From: Matt Wilkie [mailto:matt.wilkie at gov.yk.ca]
>Sent: Wednesday, February 22, 2006 3:24 PM
>To: Stephane Routelous
>Cc: gdal-dev at lists.maptools.org
>Subject: Re: [Gdal-dev] multipage geotiff
>
>Stephane Routelous wrote:
>  
>
>>Hi,
>> 
>>I would like to generate geotiff images containing overviews 
>>(basically sub-images with different resolutions) Can I do that ? If I
>>    
>>
>
>  
>
>>can, how ?
>>    
>>
>
>yup:
>
>    gdaladdo -r average abc.tif 2 4 8 16
>
>http://www.remotesensing.org/gdal/gdaladdo.html
>
>cheers :)
>
>--
>matt wilkie
>--------------------------------------------
>Geographic Information,
>Information Management and Technology,
>Yukon Department of Environment
>10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
>867-667-8133 Tel * 867-393-7003 Fax
>http://environmentyukon.gov.yk.ca/geomatics/
>--------------------------------------------
>
>
>_______________________________________________
>Gdal-dev mailing list
>Gdal-dev at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/gdal-dev
>
>  
>





More information about the Gdal-dev mailing list