Re: [GRASS-user] SQL in GRASS

2020-06-02 Thread Moritz Lennert
l: 0172/8876934 > >-Ursprüngliche Nachricht- >Von: grass-user [mailto:grass-user-boun...@lists.osgeo.org] Im Auftrag >von Moritz Lennert >Gesendet: Dienstag, 2. Juni 2020 15:07 >An: grass-user@lists.osgeo.org >Betreff: Re: [GRASS-user] SQL in GRASS > >On 2/06

Re: [GRASS-user] SQL in GRASS

2020-06-02 Thread Moritz Lennert
On 2/06/20 14:42, Uwe Fischer wrote: Hello list, I tried the following expression in a Python script, but it does not work Please be more specific than just saying "it does not work". Do you see an error message ? Wrong results in the table ? (I need to subtract the lowest value for

[GRASS-user] SQL in GRASS

2020-06-02 Thread Uwe Fischer
Hello list, I tried the following expression in a Python script, but it does not work (I need to subtract the lowest value for column "srtmh" from all other values for that item and write the result to column "strmh2"): grass.run_command('v.db.update', map='dgnpt', column='srtmh2',

Re: [GRASS-user] SQL and GRASS

2010-03-10 Thread Richard Chirgwin
Message: 6 Date: Sun, 7 Mar 2010 06:02:51 -0800 (PST) From: Gary Nobles garynob...@yahoo.com Subject: [GRASS-user] SQL and GRASS To: grass-user@lists.osgeo.org Message-ID: 1267970571671-4690410.p...@n2.nabble.com Content-Type: text/plain; charset=us-ascii GRASS is connected to a MySQL data

[GRASS-user] SQL and GRASS

2010-03-07 Thread Gary Nobles
GRASS is connected to a MySQL data base I want to select polygons which are not 0 so do I do: d.vect SiteGrid3 where SquareNumber0 or v.db.select map=SiteGrid3 column=square_no where=0 I have a second non spatial table described below(right) grass SiteGrid3 (one)Pottery table