[GRASS-dev] [grass-code I][419] v.rast.stats fails for some features

grass-codei at wald.intevation.org grass-codei at wald.intevation.org
Mon Jun 4 10:27:38 EDT 2007


code I item #419, was opened at 04/06/2007 14:27
Status: Open
Priority: 3
Submitted By: Ferdi Urbano (feurbano)
Assigned to: Nobody (None)
Summary: v.rast.stats fails for some features 
Issue type: module bug
Issue status: None
GRASS version: None
GRASS component: vector
Operating system: Windows
Operating system version: windows xp
GRASS CVS checkout date, if applies (YYMMDD): 


Initial Comment:
v.rast.stats fails to update values for some (random?) features:

in the "UPDATE myfields SET =1331 WHERE cat=9" strings, the field name is not included.

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

$ v.rast.stats myfields raster=elevation.dem colprefix=dem
Adding column <dem_n>
Adding column <dem_min>
Adding column <dem_max>
Adding column <dem_range>
Adding column <dem_mean>
Adding column <dem_stddev>
Adding column <dem_varian>
Adding column <dem_cf_var>
Adding column <dem_sum>
Processing category 1 (1/63)
Processing category 2 (2/63)
Processing category 3 (3/63)
Processing category 4 (4/63)
Processing category 5 (5/63)
Processing category 6 (6/63)
Processing category 7 (7/63)
Processing category 8 (8/63)
Processing category 9 (9/63)
      0 [main] sh 26540 open_stackdumpfile: Dumping stack trace to sh.exe.stackd                                                            ump
DBMI-DBF driver error:
SQL parser error in statement:
UPDATE myfields SET =1331 WHERE cat=9
Error in db_execute_immediate()

ERROR: Error while executing: "UPDATE myfields SET =1331 WHERE cat=9"
Processing category 10 (10/63)
Processing category 11 (11/63)

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

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=204&aid=419&group_id=21




More information about the grass-dev mailing list