[Gdal-dev] image tile question
Haobo Yu
haoboy at gmail.com
Thu Mar 16 01:00:11 EST 2006
Frank,
I'll try it out. To me, internal GeoTIFF tiling is a much more elegant
solution than cutting an image to pieces. I'm glad that I don't have to
do the latter.
Thanks so much for your quick reply and clear instruction.
(And I have been enjoying your gdal a lot. It's a marvel to me that you
have thin-plate transform built-in!)
Best,
Haobo
> My general advice would be to use internal GeoTIFF tiling, and build
> overviews. For example:
>
> gdal_translate -co TILED=YES old.tif new_tiled.tif
> gdaladdo new_tiled.tif 2 4 8 16 32 64 128
>
> This format should work quite efficiently with MapServer in many
> use patterns, and is easy to manage. Luckily 10K x 10K especially large
> though it is substantial.
>
> > (2) If I need to create smaller tile images, is there a good tool/script
> > to cut a large GeoTIFF file? I don't mind writing one, but didn't want
> > to reinvent the wheel, either.
>
> I'm not aware of a script, but you can use the gdal_translate to cut
> out a chunk of an image, assigning appropriate georeferencing.
>
> For instance:
>
> gdal_translate -srcwin 0 0 2000 2000 in.tif out_0_0.tif
> gdal_translate -srcwin 2000 0 2000 2000 in.tif out_1_0.tif
> ...
>
> Best regards,
More information about the Gdal-dev
mailing list