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

2017-05-12 Thread Moritz Lennert
On 10/05/17 23:49, Pierre Roudier wrote: Thanks Luca, that would be a good idea indeed! Any pointers to implement this? I'm unfamiliar with parallel processing in Pygrass. You can look at i.pansharpen for a simple example:

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

2017-05-10 Thread Pierre Roudier
Hi Paulo, fl is used to store flags passed to the command. There was a typo in my code, and Moritz was kind enough to commit a corrected version of the add-on (thanks Moritz!), Would be more than happy to merge both addons, they do look similar enough to be merged. Cheers, P On 9 May 2017 at

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

2017-05-10 Thread Pierre Roudier
Thanks Luca, that would be a good idea indeed! Any pointers to implement this? I'm unfamiliar with parallel processing in Pygrass. Cheers, P On 9 May 2017 at 18:36, Luca Delucchi wrote: > On 8 May 2017 at 07:16, Pierre Roudier wrote: > > Hi

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

2017-05-09 Thread Veronica Andreo
Now it works! Thanks a lot for such a quick fix :) best, Vero 2017-05-09 15:25 GMT+02:00 Moritz Lennert : > On 09/05/17 15:13, Moritz Lennert wrote: > >> On 09/05/17 15:03, Moritz Lennert wrote: >> >>> On 09/05/17 14:37, Veronica Andreo wrote: >>> Hello

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

2017-05-09 Thread Moritz Lennert
On 09/05/17 15:13, Moritz Lennert wrote: 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

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

2017-05-09 Thread Moritz Lennert
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

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

2017-05-09 Thread Moritz Lennert
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

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

2017-05-09 Thread Veronica Andreo
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

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

2017-05-09 Thread Paulo van Breugel
Hi Pierre, 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 ? Something else, last year I wrote an addon r.what.rastlabel

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

2017-05-09 Thread Moritz Lennert
On 09/05/17 07:26, pablo zader wrote: Very Nice!! I have one question: Because it is called v.what.rast.multi and not r.what.rast.multi? It is a frontend to v.what.rast which loads information from a raster map into the attribute table of a point vector map. As it is the vector map which is

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

2017-05-09 Thread Luca Delucchi
On 8 May 2017 at 07:16, Pierre Roudier wrote: > Hi all, > Hi, > FYI I just submitted my (first!) GRASS add-on, called v.what.rast.multi [0]. > > It is a super simple Python wrapper around v.what.rast, and allows to query > a suite of rasters in one go: > thanks, it is

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

2017-05-08 Thread pablo zader
Very Nice!! I have one question: Because it is called v.what.rast.multi and not r.what.rast.multi? Best 2017-05-08 18:25 GMT-03:00 Pierre Roudier : > Done -- thanks for the heads-up Moritz! > > On 8 May 2017 at 23:05, Moritz Lennert >

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

2017-05-08 Thread Pierre Roudier
Done -- thanks for the heads-up Moritz! On 8 May 2017 at 23:05, Moritz Lennert wrote: > On 08/05/17 07:16, Pierre Roudier wrote: > >> Hi all, >> >> FYI I just submitted my (first!) GRASS add-on, called v.what.rast.multi >> [0]. >> >> It is a super simple Python

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

2017-05-08 Thread Moritz Lennert
On 08/05/17 07:16, Pierre Roudier wrote: Hi all, FYI I just submitted my (first!) GRASS add-on, called v.what.rast.multi [0]. It is a super simple Python wrapper around v.what.rast, and allows to query a suite of rasters in one go: v.what.rast.multi map=mygeodetic_pts

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

2017-05-07 Thread Pierre Roudier
I guess I probably should have added the URL: https://trac.osgeo.org/grass/browser/grass-addons/grass7/vector/v.what.rast.multi Apologies! On 8 May 2017 at 17:16, Pierre Roudier wrote: > Hi all, > > FYI I just submitted my (first!) GRASS add-on, called