On Tue, Apr 2, 2013 at 7:01 PM, Markus Metz <[email protected]> wrote: > On Tue, Apr 2, 2013 at 5:35 PM, Markus Neteler <[email protected]> wrote: >> On Mon, Apr 19, 2010 at 7:27 PM, Markus Metz: >>> >>> António M. Rodrigues: >>> >>>> >>>> I've been reading about scripting and programming in GRASS, since I >>>> believe the solution probably >>>> involves writing some code based on r.cost. >>>> >>>> But of course, any help is welcomed. >> >> A similar (same?) question came up how to perform >> http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Cost_Allocation >> >>> Try GRASS 7 r41926, r.cost got a new raster output option with the nearest >>> start point. Is this what you had in mind? >> >> Trying this: >> r.cost input=cost_ras start_rast=source_ras output=costsurf >> nearest=cost_alloc >> >> I got a different result. > > I got the same result. Did you set 0 to NULL in the .asc files?
No. But doing so the result is identical, perfect. markusN _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
