Re: [GRASS-user] Allow setting environment variables in grass_env_file

2017-12-06 Thread Markus Neteler
Ken, On Sun, Dec 3, 2017 at 2:37 PM, Ken Mankoff wrote: > Dear GRASS List, > > In the grass72 startup script, in the function: > > def bash_startup(location, location_name, grass_env_file): > > These lines exist: > > for line in readfile(env_file).splitlines(): > if not line.s

Re: [GRASS-user] Copy and concatenate a vector attribute between layers

2017-12-06 Thread Peter Tittmann
Moritz, v.db.connect -p c34_patch Vector map is connected by: layer <1/c34_patch> table in database /project_area/sqlite/sqlite.db> through driver with key So it seems that only layer 1 is connected. When try to connect layer 2: v.db.connect map=c34_patch@project_area table=c34_patch laye

Re: [GRASS-user] r.watershed

2017-12-06 Thread Shane Carey
Yep, I like that also - for me though - you can see the big rivers in the hillshade but it is clearly not picking them out! Any ideas why this is? Is the threshold value very important do you know? Thanks On Wed, Dec 6, 2017 at 1:11 PM, Mark Seibel wrote: > Hi. > > I just used the tutorials fro

Re: [GRASS-user] Copy and concatenate a vector attribute between layers

2017-12-06 Thread Moritz Lennert
Am 6. Dezember 2017 18:42:22 MEZ schrieb Peter Tittmann : >Thank you, Moritz. > >I'm pretty familiar with SQL but can’t figure out how layer 2 is stored >in the database. When I `pragma table_info()` I only see the >layer 1 attributes. v.db.connect -p (or grass.script.vector_db() )will show you

Re: [GRASS-user] Copy and concatenate a vector attribute between layers

2017-12-06 Thread Peter Tittmann
Thank you, Moritz. I'm pretty familiar with SQL but can’t figure out how layer 2 is stored in the database. When I `pragma table_info()` I only see the layer 1 attributes. I’ll work with the GRASS approach you suggested. Best, Peter > On Dec 1, 2017, at 11:53 PM, Moritz Lennert > wrote: >

Re: [GRASS-user] r.watershed

2017-12-06 Thread Mark Seibel
Hi. I just used the tutorials from this page https://grasswiki.osgeo.org/ > wiki/Creating_watersheds to extract the stream network - however it could > be more accurate so was wondering is r.terraflow a better option for me. I > was using r.watershed originally > I've found r.watershed to be the

Re: [GRASS-user] r.watershed

2017-12-06 Thread Mark Seibel
Hi Shane. How did you add culverts or other artificial flow control features to achieve water flowing through roads? Culverts can be added by digitizing the connection points (line) across the road from high accumulation to high accumulation on the other side of the road. It can be a long iterat

Re: [GRASS-user] r.watershed

2017-12-06 Thread Shane Carey
I just used the tutorials from this page https://grasswiki.osgeo.org/wiki/Creating_watersheds to extract the stream network - however it could be more accurate so was wondering is r.terraflow a better option for me. I was using r.watershed originally Do you know why sink filling is needed for r.te

Re: [GRASS-user] r.watershed

2017-12-06 Thread Marco Alicera
How did you add culverts?! Such a great question and I also wonder how you did. Short ago I knew about Itzï and its ability to do it with SWMM http://itzi.readthedocs.io/en/latest/tutorial.html#culvert-modelling. Looking forward to testing it -- Marco 2017-12-06 9:24 GMT+01:00 Shane Carey : > Hi

Re: [GRASS-user] r.watershed

2017-12-06 Thread Shane Carey
Hi Mark, Thanks for your reply! Sounds great. How did you add culverts or other artificial flow control features to achieve water flowing through roads? I have a rivers layer and I compared it the streams I've obtained from r.watershed and r.watershed appears to not match these streams (which wer