On Wed, Feb 20, 2013 at 4:19 PM, Nikos Alexandris
<n...@nikosalexandris.net> wrote:
> Nikos Alexandris:
>
> Markus Metz wrote:
>
>
>> For rescaling to 0-1000, you could try something like
>> r.mapcalc "bandX_int = round(1000 * bandX)"
>
> Nice!  But I wonder why round-ing is required?

rounding is not required, just a bit more accurate than truncating
with int(1000 * bandX).

Markus M
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to