[GRASS-user] r.basin: Completes on Some Basins, Fails on Others
David Montoya
jdmonto0 at gmail.com
Thu Jun 7 08:31:44 PDT 2012
Hi, I run the example of r.basin and I get this message at the end:
Traceback (most recent call last):
File "/home/admin-lsc/Grass/Modulos/r.basin.py", line 427, in <module>
sys.exit(main())
File "/home/admin-lsc/Grass/Modulos/r.basin.py", line 235, in main
mainchannel = float(dict_mainchannel['Length']) / 1000
KeyError: 'Length'
On Wed, Jun 6, 2012 at 5:12 PM, Helmut Kudrnovsky <hellik at web.de> wrote:
> >The other three go through the entire process then fail with
> >the error message that the outlet needs to be on a stream channel created
> by
> >r.stream.extract.
> >
>
> AFAIK from my r.basin-tests the outlet-point has to be exactly on stream
> channel created by r.stream.extract
>
> > I use the same protocol on each sub-basin: zoom in very close to where
> > the
> >sub-basin boundary and stream channel cross, then note the x, y
> coordinates
> >from the status line on the display window frame.
>
> maybe following ML-disscussion could be helpfull to find the exact crossing
> of stream and boundary:
>
> [GRASS-user] intersection between two lines vector to obtain points:
>
> http://lists.osgeo.org/pipermail/grass-user/2012-March/064062.html
> http://lists.osgeo.org/pipermail/grass-user/2012-March/064063.html
>
> and then v.to.db to upload exact x,y-coordinates in the attribute table
>
>
>
>
> -----
> best regards
> Helmut
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/r-basin-Completes-on-Some-Basins-Fails-on-Others-tp4979599p4979607.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
--
David Montoya González
Ing. Forestal, Universidad Nacional de Colombia
Laboratorio de Sistemas Complejos, UNAL Medellin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120607/4ef67caf/attachment.html>
More information about the grass-user
mailing list