r.cost INFINITY patch

Pierre de Mouveaux pmx at audiovu.com
Tue Apr 25 06:52:44 EDT 2000


Hello,

here is a patch to r.cost (main.c file).
This patch is against Grass5.0beta7.

to apply the patch, just go into grass/src/raster/r.cost/cmd
the do a:
	parch -po -u < rcost.diff

and do a :
	gmake5.

(No need to rebuild the links)

I slightly changed the algorithm, so there is no more references to any infinite
value.

I tested both the new code and the patch application, so anything should go
seamlessly. 


Sorry for the annoyance,

Pierre.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rcost.diff
Type: text/x-c
Size: 1877 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20000425/9b18b186/rcost.bin


More information about the grass-user mailing list