r.fillnulls.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <H2>DESCRIPTION</H2>
  2. <EM><b>r.fillnulls</b></EM> - Fills NULL (no data areas) in input map and
  3. stores filled map to a new output map. The fill data are interpolated
  4. from the no data area boundaries buffer using <EM>v.surf.rst</EM>
  5. spline interpolation.<br>
  6. <EM>(GRASS Shell Script)</EM>
  7. <H2>NOTES</H2>
  8. Each area boundary buffer is set to three times the map resolution to get nominally
  9. three points around the edge. This way the algorithm interpolates into the hole with
  10. a trained slope and curvature at the edges, in order to avoid that such a flat plane
  11. is generated in a hole.
  12. <P>
  13. During the interpolation following warning may occur:<p>
  14. <tt>
  15. Warning: strip exists with insufficient data<br>
  16. Warning: taking too long to find points for interpolation--please change
  17. the region to area where your points are</tt>
  18. <p>
  19. This warning is generated if large data holes exist within the surface.
  20. As the idea of <em>r.fillnulls</em> is to fill such holes, the user may
  21. ignore the warning. The interpolation will be continued. However, the user
  22. may pay attention to below notes.
  23. <H2>ATTENTION</H2>
  24. The algorithm is based on <EM><A HREF="v.surf.rst.html">v.surf.rst</A></EM>
  25. regularized splines with tension interpolation module which interpolates the
  26. raster cell values for NULL data areas from the boundary values of the NULL
  27. data area. An eventual raster MASK is respected during the NULL data area(s)
  28. filling. The interpolated values are patched into the NULL data area(s) of
  29. the input map and saved into a new raster map.
  30. <H2>WARNING</H2>
  31. Depending on the shape of the NULL data area(s) problems may occur due to an
  32. insufficient number of input cell values for the interpolation process. Most
  33. problems will occur if a NULL data area reaches a large amount of the map
  34. boundary. The user will have to carefully check the result using
  35. <EM><a href="r.mapcalc.html">r.mapcalc</A></EM> (generating a difference map to the
  36. input map) and/or <EM><A HREF="d.what.rast.html">d.what.rast</A></EM> to
  37. query individual cell values.<p>
  38. <H2>SEE ALSO</H2>
  39. <EM><A HREF="r.fill.dir.html">r.fill.dir</A>,
  40. <A HREF="v.surf.rst.html">v.surf.rst</A></EM>
  41. <P> Mitas, L., Mitasova, H., 1999, Spatial Interpolation. In: P.Longley,
  42. M.F. Goodchild, D.J. Maguire, D.W.Rhind (Eds.), Geographical Information
  43. Systems: Principles, Techniques, Management and Applications, Wiley,
  44. pp.481-492
  45. <p>Mitasova H., Mitas L.,&nbsp; Brown W.M.,&nbsp; D.P. Gerdes, I.
  46. Kosinovsky, Baker, T.1995, Modeling spatially and temporally distributed
  47. phenomena: New methods and tools for GRASS GIS. <i>International Journal of
  48. GIS</i>, 9 (4), special issue on Integrating GIS and Environmental modeling,
  49. 433-446.
  50. <p><a href="http://skagit.meas.ncsu.edu/~helena/gmslab/papers/lmg.rev1.ps">Mitasova H.
  51. and Mitas L. 1993</a>: Interpolation by Regularized Spline with Tension: I.
  52. Theory and Implementation, <i>Mathematical Geology</i> 25, 641-655.
  53. <p><a href="http://skagit.meas.ncsu.edu/~helena/gmslab/papers/hmg.rev1.ps">Mitasova H.
  54. and Hofierka L. 1993</a>: Interpolation by Regularized Spline with Tension:
  55. II. Application to Terrain Modeling and Surface Geometry Analysis,
  56. <i>Mathematical Geology</i> 25, 657-667.
  57. <H2>AUTHORS</H2>
  58. r.fillnulls: Markus Neteler, University of Hannover<p>
  59. and authors of v.surf.rst<br>
  60. Improvement by Hamish Bowman, NZ
  61. <p><i>Last changed: $Date$</i>