Re: [GRASS-user] Change GRASS region multiple times

2016-03-03 Thread Pietro
Dear Luna, On Wed, Mar 2, 2016 at 10:40 PM, Luna, Daniel Eduardo wrote: > I need to create a new raster map during the execution. I'm using the > commands: > > from grass.pygrass import raster > > newRasterMap = raster.RasterSegment('new') >

Re: [GRASS-user] stream network

2016-03-03 Thread Janet Choate
Michel, thank you - i'll try your r.mapcalc and vector suggestions. Janet On Thu, Mar 3, 2016 at 8:22 AM, Michel Wortmann wrote: > HI Janet, > can you specify what you mean by 'fully connected stream network'? > 'connected' doesnt mean much on a raster map or did you

Re: [GRASS-user] stream network

2016-03-03 Thread Janet Choate
Stefan, unfortunately - it's not something that is apparent by appearance. the problem was discovered after using the raster map as an input to another program - then it became clear that there were places where there were no upstream or downstream neighbors to some segments. thanks, Janet On

Re: [GRASS-user] Parallel proccess with pygrass and mapcalc

2016-03-03 Thread Pietro
Ciao Lorenzo, On Wed, Mar 2, 2016 at 6:10 PM, Lorenzo Bottaccioli wrote: > I have written this code from the example provided in >

Re: [GRASS-user] stream network

2016-03-03 Thread Michel Wortmann
HI Janet, can you specify what you mean by 'fully connected stream network'? 'connected' doesnt mean much on a raster map or did you convert it a vector? I would try to build your stream network from the accumulation raster map by thresholding it with a certain catchment size (in cells). Eg.

Re: [GRASS-user] v.in.ogr in Python Grass script

2016-03-03 Thread Michel Wortmann
earch Centre for Geoscience) Stiftung des öff. Rechts Land Brandenburg Telegrafenberg, 14473 Potsdam --- PGP Public Key: http://bit.ly/13d9Sca -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc

[GRASS-user] v.in.ogr in Python Grass script

2016-03-03 Thread Uwe Fischer
t; -- Stefan Lüdtke Section 5.4- Hydrology Tel.: +49 331 288 2821 Fax: +49 331 288 1570 Email: slued...@gfz-potsdam.de Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ (GFZ German Research Centre for Geoscience) Stiftung des öff. Rechts Land Brandenburg Telegraf

Re: [GRASS-user] v.in.ogr in Python script not working

2016-03-03 Thread Michel Wortmann
Hi Uwe, I think you are missing a few environment setup steps if you want to start your python script without starting grass. Here is all you need, although this wiki refers to GRASS7. The grass.setup.init is not enough.

[GRASS-user] v.in.ogr in Python script not working

2016-03-03 Thread Uwe Fischer
Hello, I' new to this list and this is my first question. I try to develop a script that is able to import CAD files (MicroStation DGN) into a grass mapset. First, I tried the command v.in.ogr in the menu system and everything works fine. The result is exactly as desired. Then, I tried to

Re: [GRASS-user] stream network

2016-03-03 Thread Stefan Lüdtke
Hi Janet, can you provide a screenshot of the river network, I think that helps to understand what is going on in your specific case?! Cheers, Stefan On 02/03/16 20:42, Janet Choate wrote: > Hi Will, > When running r.watershed on a small 35 hectare watershed, it produces a > fully connected