<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear list,<br><br>i'm trying to use r.neighbors with the weight option along with the sum function;<br>maibe i do not get how it's supposed to work...<br><br>this is what i'm using:<br><br>Neighborhood operation: sum<br>Neighborhood size: 3<br><br>Weight:<br><br>0 0 0<br>-1 0 1<br>0 0 0<br><br>and i get a null result.<br><br>This second filter i've tested seems to work:<br><br>Neighborhood operation: sum<br>Neighborhood size:             3<br><br>Weight:<br><br>0 0 0<br>1 0 1<br>0 0 0<br><br>tested on GRASS 6.4.3 both on windows and ubuntu<br><br>thanks,<br><br>roy.<br><br><br>                                           </div></body>
</html>