[GRASS-user] sqrt sql

Veronica Andreo veroandreo at gmail.com
Fri Mar 8 02:10:52 PST 2019


Hi

functionalities like sqrt() or log() are not available in base SQLite, then
you have to install an extension

See v.db.update manual page and this wiki:
https://grasswiki.osgeo.org/wiki/Build_SQLite_extension_on_Linux

HTH,
Vero



El vie., 8 mar. 2019 05:22, Frank David <frank.david at geophom.fr> escribió:

> Hello,
>
> How Is it possible to calculate a sqrt from attribut fields to fill
> another field, like :
>
> v.db.update map=myvector column=field2 query_column=sqrt(field1)
>
> Or is there any trick ?
>
> Thank you
>
> Frank
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190308/c39d38a4/attachment.html>


More information about the grass-user mailing list