<div dir="ltr"><div><div><div><div>Hi Paulo,<br><br></div>fl is used to store flags passed to the command.<br><br></div>There was a typo in my code, and Moritz was kind enough to commit a corrected version of the add-on (thanks Moritz!),<br><br></div><div>Would be more than happy to merge both addons, they do look similar enough to be merged.<br><br></div>Cheers,<br><br></div>P<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 May 2017 at 19:30, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Pierre,<br>
<br>
I have one question about the code. In lines 126-130 you create an object 'fl', which you subsequently do not seem to use. Perhaps in line 150 it should be flags=fl ?<br>
<br>
Something else, last year I wrote an addon r.what.rastlabel (<a href="https://github.com/ecodiv/GRASS-scripts/tree/master/v.what.rastlabel" rel="noreferrer" target="_blank">https://github.com/ecodiv/GRA<wbr>SS-scripts/tree/master/v.what.<wbr>rastlabel</a>) which can be used to (multiple) raster values and labels. Optionally, it can also upload raster values only, like your addon (that part uses the same approach you use). I have not yet added it to the grass addon repository. I might do that later, at which point we can also see if it makes sense to merge the two.<br>
<br>
Cheers,<br>
<br>
Paulo<span class=""><br>
<br>
<br>
On 5/9/17 8:36 AM, Luca Delucchi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 8 May 2017 at 07:16, Pierre Roudier <<a href="mailto:pierre.roudier@gmail.com" target="_blank">pierre.roudier@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
</blockquote>
Hi,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FYI I just submitted my (first!) GRASS add-on, called v.what.rast.multi [0].<br>
<br>
It is a super simple Python wrapper around v.what.rast, and allows to query<br>
a suite of rasters in one go:<br>
<br>
</blockquote>
thanks, it is useful<br>
to improve a little bit, you add multiprocessing to the module, for<br>
example a process for each raster<br>
</blockquote></span>
Interesting, could help to speed up with large point data layers.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers,<br>
<br>
Pierre<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote></div><br></div>