Re: [GRASS-user] Uploading NumPy array as a new column to a vector map

2019-02-16 Thread César Augusto Ramírez Franco
On Thu, Feb 14, 2019, 19:25 Daniel Victoria Never tried it but you got me curious. > > It looks simpler to define a new function or the database using python > sqlite3 libs > > > https://docs.python.org/2/library/sqlite3.html#sqlite3.Connection.create_function > > Cheers > Thanks for the

Re: [GRASS-user] Uploading NumPy array as a new column to a vector map

2019-02-16 Thread César Augusto Ramírez Franco
On Fri, Feb 15, 2019, 09:17 Markus Neteler Hi, > > Am Do., 14. Feb. 2019, 15:50 hat César Augusto Ramírez Franco < > caesar...@gmail.com> geschrieben: > >> Greetings, >> >> I have a municipality polygon layer with a poverty index (percent) and a >> population count, I'm multiplying them to

Re: [GRASS-user] Uploading NumPy array as a new column to a vector map

2019-02-16 Thread César Augusto Ramírez Franco
On Fri, Feb 15, 2019, 06:01 Micha Silver > On 2/14/19 4:49 PM, César Augusto Ramírez Franco wrote: > > Greetings, > > I have a municipality polygon layer with a poverty index (percent) and a > population count, I'm multiplying them to visualize the vulnerability for > each municipality, due to

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-16 Thread Frank David
Hi Micha, Thank you for your email. Your script is very interesting, but I think I cannot use it because: 1- you make a sum of your viewshed list, and each viewshed value is 0 or 1 (hidden or visible). But my problem is with viewshed values from 0 upto 250 (for each viewshed this is the

Re: [GRASS-user] get the shifted minimum from a raster series

2019-02-16 Thread Micha Silver
On 2/16/19 12:00 PM, Frank David wrote: Hi Micha, Thank you for your email. Your script is very interesting, but I think I cannot use it because: 1- you make a sum of your viewshed list, and each viewshed value is 0