[GRASS-user] Problem with v.rast.stats
António M . Rodrigues
amrodrigues at fcsh.unl.pt
Mon Apr 5 16:34:14 EDT 2010
Hi,
when using v.rast.stats to get stats for a raster over a polygon layer, I get the following error:
-----
DBMI-DBF driver error:
Error while executing: 'ALTER TABLE caop09c2 ADD COLUMN a2_per0-10 DOUBLE PRECISION
'
Cannot continue (problem adding column).
SQL parser error: syntax error, unexpected '-' processing '-'
in statement:
ALTER TABLE caop09c2 ADD COLUMN a2_per0-10 DOUBLE PRECISION
Error in db_execute_immediate()
Cannot continue (problem adding columns).
-----
This only happens when I choose the extended statistics option. If not, it works fine. Actually, GRASS
adds all the new fields but does not calculate the quantiles.
An extra question: is it possible to get more quantiles than those calculated using the default (1st,
median and 3rd)?
Thanks,
António
More information about the grass-user
mailing list