NAME

r.surf.nnbathy - Interpolate surface from rasterized input using Pavel Sakov's nn, a natural neighbor intepolation library.

SYNOPSIS

r.surf.nnbathy
r.surf.nnbathy help
r.surf.nnbathy input=name output=name alg=name

Parameters:

input=name
Input raster map name
output=name
Output raster map name
alg=name
Interpolation algorithm for nnbathy to use
options: l,nn,ns
default: nn

DESCRIPTION

r.surf.nnbathy is an UNIX Shell and Awk script. It is an interface between the external nnbathy utility and GRASS. nnbathy is a surface interpolation program, which uses the nn - a natural neighbor interpolation library. nnbathy and nn were written by Pavel Sakov.

r.surf.nnbathy provides the 3 interpolation algorithms available in nnbathy. According to nn library documentation these are: Delaunay interpolation (alg=l), Watson's algortithm for Sibson natural neighbor interpolation (alg=nn) and Belikov and Semenov's algorithm for non-Sibsonian natural neighbor interpolation (alg=ns). For performing the underlaying Delaunay triangulation in all cases nnbathy uses triangle software by Jonathan Richard Shewchuk.

The output raster map is a continous surface interpolated from the input raster map.

nnbathy, if built with '-DNN_SERIAL' switch, is able to output a grid of virtually any size. It interpolates and writes one output point at a time only. This eliminates necessity to hold the whole output array in memory. However, even then all the input cells are still held in the memory.

In order to install nnbathy with serial input processing enabled, do the following:

Now copy the nnbathy executable to some directory in your PATH.

NOTES

SEE ALSO

v.to.rast

AUTHOR

Maciej Sieczka, Wroclaw, Poland, 2006-2008
sieczka at biol.uni.wroc.pl

Wroclaw University, Intitute of Plant Biology
Developed within the course and for the purpose of the CAVES project, funded under EU 6FP NEST programme.