<div dir="ltr">Hi,<div><br></div><div style>I'm working in GRASS 6.4.2, WIndows 7.</div><div style><br></div><div style>I have a raster file that, for various reasons, has shrunk to smaller than its original size and it now now longer crosses the boundaries of a vector layer to which I need to assign values from the raster.</div>
<div style><br></div><div style>So I was wondering how I could 'grow' the raster all along its non-null edge by assigning a value to the edge of null cells that is one cell 'deep'. Ideally the value assigned should be based on the values of the surrounding non-null cells without affecting the value of the original non-null cells. I can then repeat this procedure until the raster exceeds the boundary of the vector layer everywhere.</div>
<div style><br></div><div style>So I actually want to 'pad' the raster's non-null values based on themselves. </div><div style><br></div><div style>I have looked at r.grow, r.spread and r.buffer, but none of them seems to do what I want.</div>
<div style><br></div><div style>Any ideas?</div><div style><br></div><div style>Thanks</div><div style>Hanlie</div></div>