Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Metz
On Sun, Dec 30, 2012 at 11:44 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Markus I am using this commands. r.cost -k input=friction_landuse_roads output=cost_map start_points=map_source_pt stop_points=map_target_pt --o r.drain input=cost_map output=drain_map

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Metz
Markus Metz wrote: I am going to backport r.cost/r.walk/r.drain from 6.5 to 6.4. Done in r54470-1. Happy new year, Markus M best wishes miltinho 2012/12/30, Markus Metz markus.metz.gisw...@gmail.com: On Sun, Dec 30, 2012 at 8:59 PM, Milton Cezar Ribeiro

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
Hi Markus Thanks for all your help. Please, which svn command I need to run to get the daily trunk subversion? best miltinho 2012/12/31, Markus Metz markus.metz.gisw...@gmail.com: Markus Metz wrote: I am going to backport r.cost/r.walk/r.drain from 6.5 to 6.4. Done in r54470-1. Happy

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Neteler
On Mon, Dec 31, 2012 at 3:05 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Markus Thanks for all your help. Please, which svn command I need to run to get the daily trunk subversion? See here: http://trac.osgeo.org/grass/wiki/Release/6.4.3RC2-News -- SVN Checkout latest 6.4

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
Hi all, thanks again for the help with this. I tried several versions of 6.4X (6.42 weekly snapshot, 6.43.. ) and 6.5 but in none of them, when I try to see the parameters for create output direction on r.cost man page I can't see how can I generate direction for input on r.drain. Including the

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Metz
On Mon, Dec 31, 2012 at 3:52 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi all, thanks again for the help with this. I tried several versions of 6.4X (6.42 weekly snapshot, 6.43.. ) and 6.5 but in none of them, when I try to see the parameters for create output direction

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Neteler
On Mon, Dec 31, 2012 at 4:41 PM, Markus Metz markus.metz.gisw...@gmail.com wrote: see http://grass.osgeo.org/grass65/manuals/r.cost.html http://grass.osgeo.org/grass65/manuals/r.walk.html For r.drain, the option to use directions as input is indir, see

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
Hi there Everything worked fine. Congrats for all your great job on GRASS-GIS solution, and again many thanks for the effert on deal with this in the transition 2012/2013 (yes! 2013 in Australia and other places around world!). best wishes miltinho 2012/12/31, Markus Neteler nete...@osgeo.org:

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-30 Thread Milton Cezar Ribeiro
Hi Rashad I tested with the trunk svn, but apparently it still not worked to me. Are you able to test with my datased? https://www.yousendit.com/download/UW16RE9zTkxlM1JBSXNUQw Thanks! miltinho 2012/12/27, Mohammed Rashad mohammedrasha...@gmail.com: Hi Milton, I think this fix will solve

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-30 Thread Markus Metz
On Sun, Dec 30, 2012 at 8:59 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Rashad I tested with the trunk svn, but apparently it still not worked to me. Are you able to test with my datased? https://www.yousendit.com/download/UW16RE9zTkxlM1JBSXNUQw What are the commands

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-30 Thread Milton Cezar Ribeiro
Hi Markus I am using this commands. r.cost -k input=friction_landuse_roads output=cost_map start_points=map_source_pt stop_points=map_target_pt --o r.drain input=cost_map output=drain_map vector_points=map_target_pt --o I have not a direction map, and as for other source-target-friction maps

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-27 Thread Markus Metz
On Wed, Dec 26, 2012 at 10:01 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Mohamed and Markus Mohamed, thanks for your reply, I will wait for a solution within GRASS :-) Markus, thanks for your reply,. Sorry but I disagree a tiny bit, because is expected that between a

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-27 Thread Markus Metz
On Wed, Dec 26, 2012 at 10:01 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Hi Mohamed and Markus Mohamed, thanks for your reply, I will wait for a solution within GRASS :-) Markus, thanks for your reply,. Sorry but I disagree a tiny bit, because is expected that between a

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-27 Thread Milton Cezar Ribeiro
Hi Markus You are right. Thanks for your comments. In fact I don´t thougth on null cell between Source and Target, and agree that extent influences one archive or not a real least cost path solution. Cheers miltinho 2012/12/27, Markus Metz markus.metz.gisw...@gmail.com: On Wed, Dec 26, 2012

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-26 Thread Milton Cezar Ribeiro
Hi Mohamed and Markus Mohamed, thanks for your reply, I will wait for a solution within GRASS :-) Markus, thanks for your reply,. Sorry but I disagree a tiny bit, because is expected that between a source and target I will find a solution with the Least Cost path. Do you think that is there any

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-26 Thread Mohammed Rashad
Hi Milton, I think this fix will solve the problem[0]. For elevation data there might be cases where no path exists ie, only single pixel is the selected path. I had tested it by myself and it worked. Please apply the patch and let me know. If any problem comes in compilation or doing r.drain

[GRASS-user] r.drain problem when flow reach the border

2012-12-23 Thread Milton Cezar Ribeiro
Dear all, I am running a least cost path analysis combining r.cost and r.drain. But on some cases, when the least cost path between source and target reach the border of my map, r.drain stop on that position, and target point isn´t reached. Running on other softwares the algorithms the source and

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-23 Thread Mohammed Rashad
Hi Milton, I think there is a bug in r.drain direction map calculation. see this thread[0] It may take a day or two to get fixed. I will send you a patch as I cant commit ;) [0] http://lists.osgeo.org/pipermail/grass-user/2012-December/066546.html On Sun, Dec 23, 2012 at 11:37 PM, Milton

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-23 Thread Markus Metz
On Sun, Dec 23, 2012 at 7:07 PM, Milton Cezar Ribeiro miltinho.astrona...@gmail.com wrote: Dear all, I am running a least cost path analysis combining r.cost and r.drain. But on some cases, when the least cost path between source and target reach the border of my map, r.drain stop on that