[GRASS-dev] slow v.what.rast

Markus Neteler neteler at itc.it
Wed Oct 17 10:12:47 EDT 2007


On Wed, Oct 17, 2007 at 04:07:25PM +0200, grass at intevation.de wrote:
> Author: hamish
> 
> Update of /grassrepository/grass6/vector/v.what.rast
> In directory doto:/tmp/cvs-serv29282
> 
> Modified Files:
>         main.c
> Log Message:
> Add some debug messages to see where the slowdown is.
> The slowdown is in the "Updating db table" loop, my guess is
> the db_execute_immediate() for each point. Faster to write that
> to a stream then execute for all points at once? Only slow for DBF?

To enlarge discussion, I post this here.
Could it be implemented as transaction to speed up?

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------




More information about the grass-dev mailing list