Hello GRASS community,
I have two maps - where one map is slightly larger than the other - so that the smaller map is missing data just around the edges based on the outline of the larger map.
The smaller map is a map of floating point values, the larger map has a single value of 1.
I would like to fill in the missing edge data of the smaller map based on the outline of the larger map - setting the null areas to the nearest value in the smaller map.
Thank you for any advice!
Janet
If I understand correctly, 1) set the computational region to match the larger map, 2) use r.grow.distance with input=smaller map and option ‘value’, 3) use r.mapcalc to trim the values based on the larger map.
Best,
Anna
On Mon, Feb 13, 2023 at 11:06 AM Janet Choate <jsc.eco@gmail.com> wrote:
Hello GRASS community,
I have two maps - where one map is slightly larger than the other - so that the smaller map is missing data just around the edges based on the outline of the larger map.
The smaller map is a map of floating point values, the larger map has a single value of 1.
I would like to fill in the missing edge data of the smaller map based on the outline of the larger map - setting the null areas to the nearest value in the smaller map.
Thank you for any advice!
Janet
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user