Raster internal tiling performance
Frank Warmerdam
warmerdam at POBOX.COM
Thu Feb 8 11:25:43 PST 2007
Dejan Gambin wrote:
> Hi,
>
> I have a set of ~20 small tif files (100-500KB each). Supposing I want to
> have a good "zoom-in" performance, will I gain much by tiling them
> internally with gdal_translate before doing gdaltindex (and gdaladdo after
> that) on them?
Dejan,
Generally speaking internal tiling won't have much impact on performance for
tiny files in the 100-500KB size range because it takes almost no time to
pull the whole file into RAM anyways.
> By the way, I have created one tiled tif file and it is very big relative to
> original (160MB tiled vs 350KB original)? I haven't seen this such a
> difference in size before.
I would presume the original was compressed and the tiled image was not.
Converting to tiled format can very slightly increase the size of an
uncompressed file, but does not example anything like what you are seeing.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the MapServer-users
mailing list