I have a raster map in GRASS that looks like this:
The red cells have a value of 1, the yellow cells have a value of 0.
I am trying to use the
r.grow command to 'fill in' the gaps in the red lines, but it seems that whatever options I give the command, the output is either exactly the same as the input, or entirely 1, or entirely 0.
The way to run the command that seems most sensible is:
r.grow input=extracted@PERMANENT output=gr8 radius=3.01
which, as far as I can tell, should grow all positive cells by 3 cells. However, it doesn't seem to do anything at all - the output map is exactly the same as the input map. Changing the
new values doesn't seem to change it either.
Am I doing something wrong here? I have read through the manual page for the
r.grow command many times, but can't see what I'm missing.