[GRASS-dev] new addon: v.what.rast.multi

Moritz Lennert mlennert at club.worldonline.be
Tue May 9 06:13:51 PDT 2017

On 09/05/17 15:03, Moritz Lennert wrote:
> On 09/05/17 14:37, Veronica Andreo wrote:
>> Hello Pierre,
>> Thanks for this new add-on! Comes on time for me :)
>> I'm testing it and I have observed something odd.
>> I'm querying integer maps but v.what.rast.multi gives me float values. I
>> run v.what.rast and I get the proper integer values. Does it have
>> anything to do with what Paulo just pointed out?
> The module just loops over a series of v.what.rast calls, so results
> should not be different. If any, Paulo's point reinforces this as the
> '-i' flag (i.e.interpolate nearest points) is never used...

Sorry, I take that back: the -i flag is always set as what is passed on 
to v.what.rast is 'flags' and without the '-i' flag set still is 
non-null (it contains "{'i': False}") and so

'if (interp_flag->answer)'

in v.what.rast/main.c returns true.

So, yes the issue is linked to Paulo's remark.


More information about the grass-dev mailing list