]> git.street.me.uk Git - andy/viking.git/commit - src/dems.h
Interpolating DEM data.
authorQuy Tonthat <qtonthat@gmail.com>
Mon, 15 Oct 2007 15:04:26 +0000 (15:04 +0000)
committerQuy Tonthat <qtonthat@gmail.com>
Mon, 15 Oct 2007 15:04:26 +0000 (15:04 +0000)
commit5ef1d57eb0a455bf87dc573e6cf3710084630aef
treedca0ffeb09b8535e590633830b53c08cc54d7dfc
parent3220e3365d3c899468f8b178552aeb19659ac3d7
Interpolating DEM data.

- DEM data can now be interpolated using ione of 3 methods:
  o no_interpolation: Take the nearest south-west data.
  o simple_interpolation: Interpolated using a simple method.
  o best_interpolation: Interpolated using Shepard method.

- "Apply DEM data" for a track now uses "best_interpolation".

- Elevation-distance graph now uses "best_interpolation".

- Elevation information displayed on status bar now uses most suitable
  interpolation methods according to the current zoom level.

Not much testing has been made to justify performance/accuracy trade-off
of the interpolating methods.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
ChangeLog
src/dem.c
src/dem.h
src/dems.c
src/dems.h
src/viktrack.c
src/viktrwlayer_propwin.c
src/vikwindow.c