[gdal-dev] Fastest way to add the GeoTransform to a raster file with Python

Frank Warmerdam warmerdam at pobox.com
Thu Sep 18 16:06:57 EDT 2008


On 9/18/08, Lucena, Ivan <ivan.lucena at pmldnet.com> wrote:
> Frank,
...
> Wouldn't be fair to say that some formats also requires a call to FlushCache() afterwards?

Ivan,

FlushCache may help push the updated geotransform out to the
file immediately for some formats.  But if you are just going to
close the dataset then that should already do the equivelent of
a FlushCache().  So, FlushCache() is only of use to try and
push updates out to a file without closing the file.

Whether it is implemented or not varies from driver to driver.

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    | Geospatial Programmer for Rent


More information about the gdal-dev mailing list