[GRASS-user] Re: r.grow.distance

Markus Metz markus.metz.giswork at googlemail.com
Thu May 27 04:57:24 EDT 2010


fine in 7.0, broken in 6.x, this fixes it for me in 6.5:

Index: main.c
===================================================================
--- main.c	(revision 42353)
+++ main.c	(working copy)
@@ -287,6 +287,12 @@
 	    check(col, 1, -1);
 	}

+	for (col = 0; col < ncols; col++)
+	    check(col, -1, 0);
+
+	for (col = ncols - 1; col >= 0; col--)
+	    check(col, 1, 0);
+
 	if (dist_name) {
 	    if (out_row != dist_row)
 		for (col = 0; col < ncols; col++)


makes sense?

Markus M


fengel wrote:
>
> Sorry for that. I hope this one's ok...
>
> http://osgeo-org.1803224.n2.nabble.com/file/n5107306/test_case.zip
> test_case.zip
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-grow-distance-tp5100098p5107306.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
>


More information about the grass-user mailing list