[GRASS-stats] Loading a point-vector table with 466 columns

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Wed May 27 14:59:03 EDT 2009


Hamish:
> Nikos wrt your 10hr script:
> v.db.update must open and close the DB for every time you call it.
> That is very slow and inefficient.

> Better is to write all SQL update commands to a file (end each line
> with a ';') then use that file as input to db.execute so it opens the
> DB, updates all fields, closes DB again in a single step. see the
> db.execute man page and v.in.garmin script for an example (where it
> made a huge improvement).

Thank a lot Hamish :-) I'll check-it out.



More information about the grass-stats mailing list