[GRASS-dev] [GRASS-user] r.to.vect stats
wenzeslaus at gmail.com
Fri May 5 07:50:47 PDT 2017
On Fri, May 5, 2017 at 3:43 AM, Moritz Lennert <mlennert at club.worldonline.be
> Markus is probably right: working with an intermediate file solves all
> this and I don't think it would imply a serious speed decrease.
I have tested r.vect.stats (with pipe) and compared it with pipe in shell -
the time is the same (expected behavior). Here is the test with pipe in
shell for 19693050 (almost 20 million) points:
time sh -c "v.out.ascii input=points layer=-1 format=point sep=pipe |
r.in.xyz input=- output=bin2 method=mean sep=pipe --o"
And here is the same test but using temporary file (similar result with and
time sh -c "v.out.ascii input=points layer=-1 format=point sep=pipe
output=tmp.txt --o; r.in.xyz input=tmp.txt output=bin3 method=mean sep=pipe
According to this, using temporary file requires 1.4 more time.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev