Tue, May 23 2006
23:53:16
|
|
Request created by guest
|
|
Subject: v.rast.calc does not handle null values with sqlite dirver
Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: grass-6.1.cvs_src_snapshot_2006_05_13
using sqlite driver.
When executing v.rast.stats on a vector file that is larger than the underlying
raster, v.rast.stats attempts to insert "nan" into the sqlite table for categories
where no data was found.
If fails with the following (syntax?) error:
DBMI-SQLite driver error:
Error in sqlite3_prepare():
no such column: nan
ERROR: Error while executing: "UPDATE ps_model SET navd88_cf_var=nan where
cat=35
"
I think that if you insert a "nan" (quoted) it will work. However, maybe a null
would be better here since this is a numeric column?
|
|
Thu, May 25 2006
20:15:20
|
|
Subject changed to v.rast.stats does not handle null values with sqlite dirver by msieczka
|
|
Sun, Jul 2 2006
23:21:23
|
|
Mail sent by mneteler
|
|
Hi,
thanks for finding, fixed in CVS.
Markus |
|
Sun, Jul 2 2006
23:21:25
|
|
Status changed to resolved by mneteler
|
|