[GRASS-user] sqrt sql

Frank David frank.david at geophom.fr
Fri Mar 8 05:11:05 PST 2019


Thank you very much Vero !

Frank

Le 08/03/2019 à 11:10, Veronica Andreo a écrit :
> 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 
> <mailto: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 <mailto:grass-user at lists.osgeo.org>
>     https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190308/9db70c94/attachment.html>


More information about the grass-user mailing list