[GRASS-dev] r.mapcalc bug on max and min?

Pietro peter.zamb at gmail.com
Mon Oct 6 09:09:25 PDT 2014


On Mon, Oct 6, 2014 at 5:53 PM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> I'm not going to stand in the way of those who really want to implement
> this, but why is this necessary ?
>
> eval(r.univar -g $map)
> r.mapcalc new=old/$max
>
> (and equivalent in other programming languages) works perfectly. Just
> thinking that there are other priorities and that we are going further from
> the KISS principle...

I can agree with your point, but it is not the topic of this message,
I open this topic because it is to a C/python level.
So please don't focus on the dummy task, It is only an example to test
the existing libraries, and I#m not able to understand where the
problem.is.

Best regards

Pietro


More information about the grass-dev mailing list