I have four maps that I would like to patch together. The problem is
that on the boundary there are zero values after patching. I would
like to get rid of these values- interpolate the values based on the
surrounding values. I can not firgure out how to do this. Any help
is greatly appreciated
regards,
--
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
-K. Mullis
On Sat, Aug 22, 2009 at 12:33 AM, stephen sefick<ssefick@gmail.com> wrote:
I have four maps that I would like to patch together. The problem is
that on the boundary there are zero values after patching. I would
like to get rid of these values- interpolate the values based on the
surrounding values. I can not firgure out how to do this. Any help
is greatly appreciated
You could try this:
http://grass.osgeo.org/grass64/manuals/html64_user/r.fillnulls.html
Or r.neighbors with "mode" and a large moving window?
Markus
Hi stephen,
May be this?
g.region rast=g.mlist pat=srtm* sep=,
r.series input=g.mlist pat=srtm* sep=,
output=srtm_leste method=maximum
of you can play with r.mapcalc to identify where is zero, and calculate the mean using [-1,-1][-1,0],… [1,1] (not use [0,0]) to average (sum/8).
good luck,
miltinho
2009/8/21 Markus Neteler <neteler@osgeo.org>
On Sat, Aug 22, 2009 at 12:33 AM, stephen sefick<ssefick@gmail.com> wrote:
I have four maps that I would like to patch together. The problem is
that on the boundary there are zero values after patching. I would
like to get rid of these values- interpolate the values based on the
surrounding values. I can not firgure out how to do this. Any help
is greatly appreciated
You could try this:
http://grass.osgeo.org/grass64/manuals/html64_user/r.fillnulls.html
Or r.neighbors with “mode” and a large moving window?
Markus
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user