Gap filling for categorical data

From GRASS-Wiki
Revision as of 17:08, 6 December 2011 by Neteler (talk | contribs) (from userML)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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