modified GDAL TRANSLATE attached

Frank Warmerdam warmerdam at p...
Tue Mar 20 15:17:56 EST 2001


Mark Salazar wrote:
> 
> Attached is a modified version of gdal_translate.c that I just
> finished. If you diff it against the v1.1.4 version you'll find 3
> changes:
> 
> 1) added the ability to specify 'outsize' x,y as percentages of the
> src window by appending '%' to the x,y number;
> 
> 2) added parens in the 'dfComplete=' denominator to force the percent
> complete figure to go from 0 to 100 once;
> 
> 3) changed the equation for 'adfGeoTransform[3]' as per
> 'adfGeoTransform[0]' ... without this the y coordinates get shifted by
> the window size even with a zero offset.

Mark,

Thank you very much! With a minimum of reformatting I have applied your
code to CVS.

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at p...
light and sound - activate the windows | http://pobox.com/~warmerda
and watch the world go round - Rush | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list