[GRASS-user] fill in null areas equal to nearest value

Anna Petrášová kratochanna at gmail.com
Mon Feb 13 08:45:31 PST 2023


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 at 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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20230213/2b7f0356/attachment.htm>


More information about the grass-user mailing list