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

2008-09-19 Thread Matthieu Rigal
Thanks to all the three for your quick responses ! I am getting several infos from the mailing list archives since one year, but since I couldn't get more infos about that subject, I decided to also ask a question here, and I'm happy to have done that ! My first question was to unprecise, sorry

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

2008-09-18 Thread Frank Warmerdam
On 9/18/08, Lucena, Ivan <[EMAIL PROTECTED]> 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 clos

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

2008-09-18 Thread Matt Wilkie
Will this work? http://maphew.googlecode.com/svn/trunk/gis/gdal_extras/bin/gdalcopyproj.py matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-

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

2008-09-18 Thread Lucena, Ivan
Frank, > ---Original Message--- > From: Frank Warmerdam <[EMAIL PROTECTED]> > Subject: Re: [gdal-dev] Fastest way to add the GeoTransform to a raster file > with Python > Sent: Sep 18 '08 16:09 > > On 9/18/08, Matthieu Rigal <[EMAIL PROTECTED]&g

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

2008-09-18 Thread Frank Warmerdam
On 9/18/08, Matthieu Rigal <[EMAIL PROTECTED]> wrote: > Hi all, > Since the method of Create, SetGeoTransform, etc... is "complicated" and > unefficient from a performance point of view, what is the way to quickly add > the GeoTransform, taken from a referenced raster to a raster that have lost

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

2008-09-18 Thread Matthieu Rigal
Hi all, Since the method of Create, SetGeoTransform, etc... is "complicated" and unefficient from a performance point of view, what is the way to quickly add the GeoTransform, taken from a referenced raster to a raster that have lost the information. Best regards, Matthieu -- Matthieu Rigal Pr