[GRASS-user] Interpolate daily rainfall data over DEM

2018-06-18 Thread Lorenzo Bottaccioli
Hi all, Which is the best tool or tool-chain to interpolate the daily rainfall in (mm) over a DEM? What if I want to evaluate the overall presence of water in the terrain taking in to account evaporation? Ciao, Lorenzo ___ grass-user mailing list

[GRASS-user] r.sun and OpenCL not working

2016-11-11 Thread Lorenzo Bottaccioli
Hi list, I have configure grass7.04 -with-opencl --with-opencl-includes=/path/include --with-opencl-libs=/path/lib and I try to run it on a Intel Xeon dual socket 32-thread. The compilation say that OpenCl support is activated but when i run r.sun I don't see any multi-theard I uses only one CPU.

[GRASS-user] Workflow for DSM from LiDAR

2016-04-04 Thread Lorenzo Bottaccioli
High list, I have a dense LiDAR data ~8pt/m2, how can I process this data in order to obtain a dense digital surface model for example 50cm of relsolution? I'll like to have good detail of the rooftops for solar analysis , in particolar I'll like to have not to much noise in the slope and aspect

Re: [GRASS-user] Pygrass reading raster issue

2016-03-14 Thread Lorenzo Bottaccioli
g.region('-p') Out[40]: {'b': 0.0, 'cells': 25004108, 'cells3': 25004108, 'cols': 5554, 'cols3': 5554, 'depths': 1, 'e': 7.6745781172, 'ewres': 5.40651687472501e-06, 'ewres3': 5.40651687472501e-06, 'n': 45.0743663458333, 'nsres': 5.40651685670714e-06, 'nsres3':

Re: [GRASS-user] Pygrass reading raster issue

2016-03-14 Thread Lorenzo Bottaccioli
Region is Ok! 2016-03-14 14:45 GMT+01:00 Moritz Lennert <mlenn...@club.worldonline.be>: > Le Mon, 14 Mar 2016 13:45:42 +0100, > Lorenzo Bottaccioli <lorenzo.bottacci...@gmail.com> a écrit : > > > Hi all, > > > > I'm tring to read a raster map from my

[GRASS-user] Pygrass reading raster issue

2016-03-14 Thread Lorenzo Bottaccioli
Hi all, I'm tring to read a raster map from my grassData. I'm using this code import os import grass.script.setup as gsetup from grass.pygrass import raster gisbase = os.environ['GISBASE'] gisdbase = os.path.abspath("/home/myuser/grassData") location = 'mylocation'

[GRASS-user] r.external.out store data in memory

2016-03-11 Thread Lorenzo Bottaccioli
Hi list, I wanted to know if was possible and how to store produced rasters in memory (as an rasterio object or similar) and do not store/save the in the disk, because I just need to do some statistics and then delete them. This if possibele will speed up my workflow because I'll avoid I/O from

Re: [GRASS-user] r.mapcalc multiprocess

2016-03-11 Thread Lorenzo Bottaccioli
r/041047.html > > > > Hope that helps a bit. > > > > Kind regards, > > Stefan > > > > *From:* grass-user [mailto:grass-user-boun...@lists.osgeo.org] *On Behalf > Of *Lorenzo Bottaccioli > *Sent:* 10. mars 2016 17:14 > *To:* GRASS user list <gra

[GRASS-user] r.mapcalc multiprocess

2016-03-10 Thread Lorenzo Bottaccioli
Hi every one, I have just compiled grass with phtreds but when I run r.mapcalc it runs in only with one theard. How ca I fix this? Is it possible to check if is correclty compiled with phtreads? Tnx Lorenzo ___ grass-user mailing list

[GRASS-user] Compile error

2016-03-09 Thread Lorenzo Bottaccioli
Hi, I can not compile grass-gis from source. I have download grass-gis 7.0.3 source and I have run configure with ./configure --with-gdal=/usr/local/bin/gdal-config --with-pthread --with-opengl --with-openmp --with-opencl --with-freetype-includes=/usr/include/freetype2 --with-geos. When i do

[GRASS-user] Parallel proccess with pygrass and mapcalc

2016-03-02 Thread Lorenzo Bottaccioli
Hi I'm writing a code in python able to perform several mapcalc operation on various rasters. I'm using GRASS 7.0.1 and Python 2.7. I'have my files stored in /home/myuser/rasters/ and they are linked to GRASS with r.external. The out put of the operation are going out of GRASS in /home/myuser/tmp/

Re: [GRASS-user] v.rast.stats error

2015-11-20 Thread Lorenzo Bottaccioli
I'have created the vector with r.to.vect, before I have liked v.exeternel.out to the PostGIS DB. If I run v.what.rast there is no problem but I believe that the results are different. 2015-11-20 17:25 GMT+01:00 Martin Landa <landa.mar...@gmail.com>: > Hi, > > 2015-11-20 17:24 GM

[GRASS-user] v.rast.stats error

2015-11-20 Thread Lorenzo Bottaccioli
Hi, I'm reciving this error if I v.rast.stats : *v.rast.stats -c map=areasuit@lorenzo raster=opr@lorenzo column_prefix=opr_ method=average* *WARNING: No areas selected from vector map * *ERROR: No categories found in raster map* The vector is contained in a PostGIS db. Any suggestion? Lorenzo

Re: [GRASS-user] v.rast.stats error

2015-11-20 Thread Lorenzo Bottaccioli
: | | | ++ 2015-11-20 17:33 GMT+01:00 Martin Landa <landa.mar...@gmail.com>: > Hi, > > 2015-11-20 17:28 GMT+01:00 Lorenzo Bottaccioli < > lorenzo.bottacci...@gmail.com>: > > I'have created the vector with r.to.vect, before I have liked > > v.exete

Re: [GRASS-user] External raster from PostGIS

2015-11-09 Thread Lorenzo Bottaccioli
ernal source="PG:dbname=test_gis2 user=lorenzo" output=elev" where can I specify the layer that I have to select? can you give me an example of a wright use of the command? best Lorenzo 2015-10-23 18:40 GMT+02:00 Markus Neteler <nete...@osgeo.org>: > On Fri, Oct 23, 2015 at

Re: [GRASS-user] External raster from PostGIS

2015-10-23 Thread Lorenzo Bottaccioli
Hi Markus, I don't see any copy button in the GUI of r.external. Tnx 2015-10-23 17:20 GMT+02:00 Markus Neteler <nete...@osgeo.org>: > > On Oct 23, 2015 4:40 PM, "Lorenzo Bottaccioli" <lorenzo.bottacci...@gmail.com>@ <lorenzo.bottacci...@gmail.com>gmail.co

Re: [GRASS-user] External raster from PostGIS

2015-10-23 Thread Lorenzo Bottaccioli
18:34 GMT+02:00 Markus Neteler <nete...@osgeo.org>: > Hi Lorenzo, > > On Thu, Oct 22, 2015 at 6:03 PM, Lorenzo Bottaccioli > <lorenzo.bottacci...@gmail.com> wrote: > > Hi Markus, > > > > How do I implement such command in GRASS GIS? I have tried with

[GRASS-user] External raster from PostGIS

2015-10-22 Thread Lorenzo Bottaccioli
Hello, I'm tryng to import a raster file sotred in PostGIS with r.external but i cannot select the db. If I try with r.in.gdal and i connect to the db I can't see the table. Any suggestion? Lorenzo ___ grass-user mailing list

Re: [GRASS-user] External raster from PostGIS

2015-10-22 Thread Lorenzo Bottaccioli
<nete...@osgeo.org>: > On Thu, Oct 22, 2015 at 12:49 PM, Lorenzo Bottaccioli > <lorenzo.bottacci...@gmail.com> wrote: > > Hello, > > > > I'm tryng to import a raster file sotred in PostGIS with r.external but i > > cannot select the db. If I try with r.in.gd

Re: [GRASS-user] External Database and projections

2015-10-14 Thread Lorenzo Bottaccioli
Hello, Thanks for your suggestion. The point is that I need do develop a distributed infrastructure hence I need to store the raster in to a DB after the creation. Once I have created the raster immages I'll need to do some simple multiplication and I thought to do them with r.mapcalc. Then I'll

Re: [GRASS-user] External Database and projections

2015-10-14 Thread Lorenzo Bottaccioli
o a vector layer in PostGIS I > would do the raster operation in GRASS and then join the result to PG… > > > > Cheers > > Stefan > > > > > > *From:* Lorenzo Bottaccioli [mailto:lorenzo.bottacci...@gmail.com] > *Sent:* 14. oktober 2015 15:44 > *To:* Blumentra

[GRASS-user] External Database and projections

2015-10-07 Thread Lorenzo Bottaccioli
Hello everyone, I not very expert in this field and searching on the web didn't clarify my dubs. I wanted to store a raster DEM and some vectors map in to an external DB, GRASS will use the DEM in order to calculate various raster map of solar radiation and need to store the again in the external

[GRASS-user] r.horizon not working with single step

2015-08-04 Thread Lorenzo Bottaccioli
Hi Everyone, I'm running r.horizon with this command in grass 7.0 on unbuntu but doesn't work *(Tue Aug 4 12:29:35 2015) * *r.horizon elevation=elevation direction=270 maxdistance=1000 output=horizon distance=0.5* *(Tue Aug 4 12:29:36 2015) Comando terminato (0 sec) * If I try with