[gdal-dev] -scale command

hjp85 henrypatton at gmail.com
Fri Apr 16 10:18:30 EDT 2010


I have numerous velocity raster images from an ice sheet model that I would
like to scale so that each raster has has a maximum value of 1000 and
minimum value of 0. At the moment they all have different max values
depending on what the fastest velocity of the ice sheet is at that moment in

What i'm not sure on is how to construct the command. The example given is;
-scale [src_min src_max [dst_min dst_max]]

but how do you get the input range to be automatically computed (i.e.
src_min and src_max), so that i don't have to look up each one in turn?

-scale 0 1000 doesn't work for me...

View this message in context: http://n2.nabble.com/scale-command-tp4913331p4913331.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.

More information about the gdal-dev mailing list