[GRASS-user] fill gaps

Hi all,

I am doing some post-classification smoothing. First areas lesser than
1ha are removed using `r.reclass.area` and then gaps (NULL cells)
filled using `r.filldir`. My region

rows: 977
cols: 1227
cells: 1198779

number of NULL cells to be filled

total null and non-null cells: 1198779
total null cells: 120560

Unfortunately `r.filldir` is taking ages in GRASS 6. Is there other
quicker way how to fill gaps (in GRASS 6)?

Thanks in advance, Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Martin Landa wrote:

Hi all,

I am doing some post-classification smoothing. First areas lesser than
1ha are removed using `r.reclass.area` and then gaps (NULL cells)
filled using `r.filldir`. My region

rows: 977
cols: 1227
cells: 1198779

number of NULL cells to be filled

total null and non-null cells: 1198779
total null cells: 120560

Unfortunately `r.filldir` is taking ages in GRASS 6. Is there other
quicker way how to fill gaps (in GRASS 6)?

For categorical data you could use r.grow.distance in=mymap
value=mymap_filled which assigns the nearest non-NULL value to a NULL
cell and is pretty fast.

Markus M

Thanks in advance, Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hi,

2011/12/6 Markus Metz <markus.metz.giswork@googlemail.com>:

For categorical data you could use r.grow.distance in=mymap
value=mymap_filled which assigns the nearest non-NULL value to a NULL
cell and is pretty fast.

works, thanks! Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa