Gap filling for categorical data

From GRASS-Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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