[GRASS-dev] Update of r.surf.idw to FP

Maciej Sieczka tutey at o2.pl
Tue Mar 20 16:46:49 EDT 2007


Markus Neteler wrote:
> On Tue, Mar 20, 2007 at 06:24:09PM +0000, Glynn Clements wrote:
>> Markus Neteler wrote:
>>
>>> I have tried to update r.surf.idw to floating point:
>>> http://mpa.itc.it/markus/tmp/rsurfidw.diff
>>>
>>> but I am not quite sure if this is efficient like this.
>>> Currently it doesn't compile due to some "extern" magic
>>> which I don't quite understand.
>>> I have been inspired by r.example.
>> The problem is that you have renamed some (but not all) occurrences of
>> "cell" to "outrast", although the variable is still called "cell".
> 
> I see.
> Thinking about it again: probably it is a waste of time.
> 
> Proposal:
> - write a script to emulate r.surf.idw[2], calling
>    - r.to.vect
>    - v.surf.idw
> - retire r.surf.idw and r.surf.idw2, substitute them by this script.

Would we get rid of the script in GRASS 7? IMHO in GRASS 7 it won't be
necessary to pretend that r.surf.idw[2] is still present.

Maciek




More information about the grass-dev mailing list