[GRASS-user] exponentiation with v.db.update
dylan.beaudette at gmail.com
Tue Jun 9 12:26:20 EDT 2009
Which database back-end are you using? I seem to recall that the DBF
back-end only supports a very limited subset of update operations.
On Tue, Jun 9, 2009 at 8:56 AM, A. Marcia
BARBOSA<anamarciabarbosa at gmail.com> wrote:
> I'm trying to populate a column with 10 raised to the power of the
> values in another column:
> v.db.update map=ItaReg column=x qcolumn=10^logx
> but I get a dbmi protocol error. I've tried using either single or
> double quotes with no success. If I use a combination of both, i.e.
> "qcolumn= ' 10^logx ' " it doesn't report any error, but doesn't do
> the operation either (the column remains unchanged).
> It works fine for other operations (e.g. 10*logx), though. Is there
> another way in which I should specify the exponentiation?
> grass-user mailing list
> grass-user at lists.osgeo.org
More information about the grass-user