[FWTools] calculate from meters to feet
Frank Warmerdam
warmerdam at pobox.com
Thu Apr 2 15:39:15 EST 2009
znfmail-newsletters at yahoo.com wrote:
> So I really have two questions right now. Since my goal is to merge all
> the tiles into the bigtiff I've decided it would be best to process the
> raw 1x3 degree grids delivered to us. Is there a gdal utility for
> converting the Z value from meters to feet?
Zach,
You can rescale image data with the -scale option to gdal_translate.
For instance:
gdal_translate -scale 0 0.3048 0 1.0 meters.tif feet.tif
should rescale meters to us feet (essentially rescale the input
range 0 to 0.3048 to the output range 0 to 1.0.
> Alternate question would I be better off exporting from my 7.5 minute
> tiles already processed then translate and merge (examples below)?
I have no opinion on this.
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 FWTools
mailing list