Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-31 Thread Ang Sherpa
Thanks, *Best,* *Ang Dawa Sherpa* On Fri, Mar 31, 2017 at 3:34 PM, Helmut Kudrnovsky wrote: > >Actually when I tried to extract only the x and y with following code it > throws an error "KeyError: 'x'" > > > >s = >

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-31 Thread Helmut Kudrnovsky
>Actually when I tried to extract only the x and y with following code it throws an error "KeyError: 'x'" > >s = >gscript.parse_command(gscript.parse_command('v.report',map='snap_test',option='coor',units='meters') >print s['x'] as you can see > v.report map=mysampleoutlet_snapped at user1

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-30 Thread Ang Sherpa
Thanks Helmut, Actually when I tried to extract only the x and y with following code it throws an error "KeyError: 'x'" s = gscript.parse_command(gscript.parse_command('v.report',map='snap_test',option='coor',units='meters') print s['x'] *Best,* *Ang Dawa Sherpa* On Thu, Mar 30, 2017 at 3:45

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-30 Thread Helmut Kudrnovsky
Ang Sherpa wrote > Thanks Johannes, > > r.stream.snap does not have attribute table attached and throws an error: > "DB connection for vector map XXX not defined." > > With this case, it won't be of any good use as coordinate of new snaped > point cannot be extracted for feeding into

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-30 Thread Ang Sherpa
--- Original message >> From: Ang Sherpa >> Date:30/03/2017 07:32 (GMT+01:00) >> To: Johannes Radinger >> Cc: Helmut Kudrnovsky , GRASS user list >> Subject: Re: [GRASS-user] [snap pour point for r.water.outlet] >> >> Thanks Johannes, >>

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-30 Thread Ang Sherpa
t; Sorry I ment r.stream.snap... > > Original message > From: Ang Sherpa > Date:30/03/2017 07:32 (GMT+01:00) > To: Johannes Radinger > Cc: Helmut Kudrnovsky , GRASS user list > Subject: Re: [GRASS-user] [snap pour point for r.water.outlet] > > Thanks Johanne

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-30 Thread Johannes Radinger
geo.org> Subject: Re: [GRASS-user] [snap pour point for r.water.outlet] Thanks Johannes, Installed. No I have not installed r.stream.order, is it mandatory or ease the process? Best, Ang Dawa Sherpa On Thu, Mar 30, 2017 at 10:23 AM, Johannes Radinger <johannesradin...@gmail.

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Ang Sherpa
you first need to install it using e.g > g.extension. Have you installed r.stream.order before calling it? > > /j > > > Original message > From: Ang Sherpa > Date:30/03/2017 05:34 (GMT+01:00) > To: Helmut Kudrnovsky , GRASS user list > Subject: Re: [GR

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Johannes Radinger
novsky <hel...@web.de>, GRASS user list <grass-user@lists.osgeo.org> Subject: Re: [GRASS-user] [snap pour point for r.water.outlet] Thanks for the link Helmut, However, it throws an error stating: (Thu Mar 30 09:14:55 2017)

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Helmut Kudrnovsky
Ang Sherpa wrote > Hi users, > > While using "r.water.outlet" to delineate watershed basin, although the > coordinates of the stream was noted from google earth and fed into > "r.water.outlet" module, it produces plain raster. > > Is there any solution to make sure that the coordinates of outlet

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Daniel Victoria
I think you must use the accumulation map in the r.distance command. But bear in mind that you don't need the accumulation map but only your drainedge lines. Thus, you can threshold the flow accum map in order to delineate the rivers. And that could be a bit smaller than your complete flow

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Ang Sherpa
Thanks Daniel, Since I am developing Grass Gis based interactive app to delineate watershed basin, I have to bundle those raster files along with other python packages. When the users installs the app, these files will be automatically copied and ready to use for "r.water.outlet" module through

Re: [GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Daniel Victoria
Hi Ang, I had replied off list. I'm now replying to the list so other can comment The idea is that to delineate watersheds, the outlet has to lie in a place with high accumulation. So if you get your outlet points a bit messed up, a way to force them to go to the right place is to use

[GRASS-user] [snap pour point for r.water.outlet]

2017-03-29 Thread Ang Sherpa
Hi users, While using "r.water.outlet" to delineate watershed basin, although the coordinates of the stream was noted from google earth and fed into "r.water.outlet" module, it produces plain raster. Is there any solution to make sure that the coordinates of outlet point automatically snaps to