I installed the full version, not only the corrected script.

Niels


Hamish schrieb:

Niels Thevs wrote:

I installed WINGRASS 63 RC6 and tried again v.rast.stats. Before
running it I chose a small region (only a bit more than 2 polygons).
The following error messages were printed:

:/GRASS/scripts/v.rast.stats: v.db.addcol: command not found
DBMI-DBF driver error:
Column 'qb4_reg1_n' not found
Error in db_execute_immediate()

Error while executing: 'UPDATE kacheladdstat SET qb4_reg1_n=1020 WHERE cat=24495'

Statistics calculated from raster map <[EMAIL PROTECTED]> and uploaded to attribute table of vector map <kacheladdstat>.

Done.

The dbf file of the vector has not been altered.



"v.db.addcol: command not found" is the key, the rest of the problems are
just due to that failing. Did you install a full version of GRASS
6.3.0rc6 or just upgrade the v.rast.stats script from there?


In 6.3svn I have just modified v.rast.stats (r30976) to better deal with
v.db.addcol errors. It already had a test to see if v.db.addcol failed
(exit code 1), but not if it failed because it couldn't run (for me on
linux: exit code 127). Now it stops for any error.


Hamish



      
____________________________________________________________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



--



-----------------------------------------------------
Dr. Niels Thevs
Chair of Geobotany and Landscape Ecology
Institute of Botany and Landscape Ecology
Greifswald University
Grimmer Strasse 88
17487 Greifswald
Germany

Tel.: +49-3834-86-4137
Fax:  +49-3834-86-4114

-----------------------------------------------------


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to