[GRASS5] r.contour bug with NULL data
neteler at geog.uni-hannover.de
Mon Jan 15 07:58:11 EST 2001
On Mon, Jan 15, 2001 at 07:12:48PM +0700, Justin Hickey wrote:
> Hi Markus
> Markus Neteler wrote:
> > Hi all,
> > r.contour obviously fails if "no data" sections are
> > within a raster map:
> > r.contour -q in=dgm12.5 step=10 out=contour10
> > Error, 1 crossings in Cell 185, 157
> > Error, 1 crossings in Cell 188, 160
> > Help would be appreciated (or shall I put into RT?)
> Speaking of "no data" sections of raster maps, a few years ago I wrote a
> module called r.fill.null that scanned raster maps for "holes" in the
> data. If it found any, it would average the surrounding cell values to
> fill the hole using a 3x3 neighborhood. THis only works on small holes
> but it did give us completely filled surfaces.
> Do you think there is enough interest to add this to Grass?
Definitely! I was searching for such a tool recently to fill holes in
raster maps. Perhaps you tool could be taught to fill any hole size?
Or one has to run it several times..
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev