[GRASS-user] How to implement 2D lookup table?

Rainer M. Krug Rainer at krugs.de
Thu May 23 07:57:34 PDT 2013


Vincent Bain <bain at toraval.fr> writes:

>> Not at all this sounds interesting. But could you give some more details
>> on how I could do this? and what do you mean by "calling LUT[i,j]"?
>
> Rainer,
> I fear my solution is hopeless.
> I first reminded in r.mapcalc algebra, one could point at a particular
> (row,col) position within a raster. But I was wrong. The bracketed
> notation is intended to be a so-called "neighborhood modifier" relative
> to a given cell : e.g. map[-2,-1] refers to the cell two rows above and
> one column to the left of the current cell (within a single map or
> across multiple maps).
>
> In a nutshell: it was a stupid proposal!

Not stupid - probably not workable here, but not stupid.

Cheers,

Rainer

 
>
> Bye,
> Vincent.
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


-- 
Rainer M. Krug



More information about the grass-user mailing list