Gap filling for categorical data

From GRASS-Wiki
Revision as of 00:08, 7 December 2011 by Neteler (talk | contribs) (from userML)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Q: How can I fill holes in a raster map with categorical data?

A: For categorical data use r.grow.distance which assigns the nearest non-NULL value to a NULL cell:

 r.grow.distance in=mymap value=mymap_filled