[GRASS-user] gridding ASCII xyz data using near neighbour technique

Seb spluque at gmail.com
Mon May 18 16:47:49 EDT 2009


Hi,

I'm trying to emulate what GMT's nearneighbor algorithm does (or closely
enough) in GRASS.  This core of the algorithm assigns an average value
for each node in the raster using the values in a neighborhood within a
user-supplied radius.  The XYZ data are "almost" gridded, but not
exactly, so they need to be gridded using an algorithm like that,
without doing any sort of interpolation across null values of the
surface.  AFAICS in the docs, 'r.neighbors' seems to do this, but it
already needs a raster as input, so I'm not sure how best to proceed.
Any feedback welcome.  Thanks.


Cheers,

-- 
Seb



More information about the grass-user mailing list