[GRASS-dev] On i.histo.match (Re: On (Landsat) imagery naming patterns)

Markus Metz markus.metz.giswork at gmail.com
Wed Feb 20 07:34:30 PST 2013


On Wed, Feb 20, 2013 at 4:19 PM, Nikos Alexandris
<nik at 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


More information about the grass-dev mailing list