On Tue, 2007-09-18 at 21:23 -0600, Trevor Wiens wrote: > I have found an error in the CVS version of the average for r.neighbors. > > I've tested this with source compiles of the latest cvs snapshot on both a 32 > bit and 64 bit machine. > > Basically, the 6.2 version of r.neighbors gives the correct value. The cvs > version reports inflated values for DCELL input layers. > > For example if the input values in a 3x3 window are: > > 0.8747536354 0.9208617206 1.0010881339 > 1.0152474088 1.0720150743 1.0436036351 > 1.0319341389 1.0412245464 1.0209956859 > > the value for the center pixel should be: 1.0024137755 > > the cvs version reports 1.518590477 for a regular square window and > 1.5024137755 using a circular window.
There is no significant difference between the two versions. They are nearly identical, which unfortunately tends to point toward lib/gis. What is the exact command you are using, so we can try to replicate? -- 73, de Brad KB8UYR/6 <rez touchofmadness com> _______________________________________________ grass-dev mailing list [email protected] http://grass.itc.it/mailman/listinfo/grass-dev

