Filling in holes in DTM
Hi Cara, There is a very efficient function in SAGA called "Close Gaps" that does exactly that. What makes it especially efficient is that it allows you to set a mask map. See:
rsaga.get.usage("grid_tools", 7)
SAGA CMD 2.0.3
library path: C:/Progra~1/saga_vc/modules
library name: grid_tools
module name : Close Gaps
Usage: 7 -INPUT <str> [-MASK <str>] [-RESULT <str>] [-THRESHOLD <str>]
-INPUT:<str> Grid
Grid (input)
-MASK:<str> Mask
Grid (optional input)
-RESULT:<str> Changed Grid
Grid (optional output)
-THRESHOLD:<str> Tension Threshold
BR,
T. Hengl
http://home.medewerker.uva.nl/t.hengl/
-----Original Message----- From: r-sig-geo-bounces at stat.math.ethz.ch [mailto:r-sig-geo-bounces at stat.math.ethz.ch] On Behalf Of Tobin Cara Sent: Thursday, November 19, 2009 3:16 PM To: r-sig-geo at stat.math.ethz.ch Subject: [R-sig-Geo] Filling in holes in DTM Hello, Would anyone know a good way to fill in holes within a DTM? There is no data inside these holes and it is affecting my calculations, so I prefer for an interpolation of the nearest neighbors to fill in a value or something similar. Thank you, Cara [[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo