Re: [GRASS-user] v.net vector orientation when creating a stream network with gauges

2016-03-09 Thread Will Fields
Hi Chris, d.vect has an option to display the direction of lines, and the vector digitizer has a tool to flip the direction of things. The man pages have details about those things work. Regards, Will On Wed, Mar 9, 2016 at 2:28 PM, Bartolomei.Chris wrote: >

[GRASS-user] v.net vector orientation when creating a stream network with gauges

2016-03-09 Thread Bartolomei.Chris
Good afternoon, I was hoping someone could provide some insight as to how v.net works. I have a set of (438) watershed boundaries and their DEMs from which I have created the stream vectors from the DEM rasters (r.watershed, r.thin, r.to.vect, v.clean, etc.) I also have the set of USGS stream

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread Moritz Lennert
On 09/03/16 18:01, jean pierre huart wrote: Launching the two scripts directly in GRASS7 console using my location/mapset give the following results for just one width, height (1280,960): Using d.mon (not ok) viascript.png PNG 640x480 640x480+0+0 8-bit DirectClass 30.5KB 0.000u 0:00.000 I

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread jean pierre huart
Launching the two scripts directly in GRASS7 console using my location/mapset give the following results for just one width, height (1280,960): Using d.mon (not ok) viascript.png PNG 640x480 640x480+0+0 8-bit DirectClass 30.5KB 0.000u 0:00.000 With GRASS_RENDER_IMMEDIATE (ok) viascript2.png

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread jean pierre huart
I launch a script without starting GRASS explicitly on an existing location, inspired by the solution proposed at https://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly. I do not have any error in the logs, the image is created, but with default size (640x480)

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread Moritz Lennert
On 09/03/16 16:55, jean pierre huart wrote: Bingo! Thanks Moritz, - the existing file... I didn't care about it, convinced that the --overwrite parameter will wipe it out. I agree that is a bit confusing (and could maybe be handled better), but --overwrite comes into action at the time of

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread jean pierre huart
Bingo! Thanks Moritz, - the existing file... I didn't care about it, convinced that the --overwrite parameter will wipe it out. - os.environ['GRASS_RENDER_FILE_READ']='TRUE' to pile layers in one file, I thought it was only to import the first layer from an existing image. Launching this

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread Moritz Lennert
On 09/03/16 15:39, jean pierre huart wrote: Thanks Vinay, for the suggestion but I get an error on the d.out.file instruction. By the way, I've investigated the problem a bit further and found that I mixed up instructions from manuals of different versions. So coming back to GRASS v 7.0.x

Re: [GRASS-user] How to define the png image dimensions when using d.mon?

2016-03-09 Thread jean pierre huart
Thanks Vinay, for the suggestion but I get an error on the d.out.file instruction. By the way, I've investigated the problem a bit further and found that I mixed up instructions from manuals of different versions. So coming back to GRASS v 7.0.x references I finally succeed in obtaining a

Re: [GRASS-user] Compile error

2016-03-09 Thread Markus Neteler
On Mar 9, 2016 11:22 AM, "Lorenzo Bottaccioli" < lorenzo.bottacci...@gmail.com> wrote: > > Hi, > > I can not compile grass-gis from source. I have download grass-gis 7.0.3 source ... > Errors in: > /home/lorenzo/tools/grass-7.0.3/display/d.path ... > -- > In case of errors please change into the

[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