Flow Accumulation Algorithm
You could also look at calling out to a GIS environment from R to make the calculation. For example, there are bridge libraries to talk to SAGA [1], GRASS [2], and ArcGIS [3] from within R which can all read data formats raster can create. 1. https://cran.r-project.org/web/packages/RSAGA/ 2. https://cran.r-project.org/web/packages/rgrass7/ 3. https://cran.r-project.org/web/packages/RPyGeo/ -----Original Message----- From: R-sig-Geo [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of Tim Peterson Sent: Wednesday, November 18, 2015 4:53 PM To: r-sig-geo at r-project.org Subject: Re: [R-sig-Geo] Flow Accumulation Algorithm Hi Andre Have you tried using TauDEM? The following demonstrates that it can be called from R - http://hydrology.usu.edu/taudem/taudem5/TauDEMRScript.txt Also, TauDEM includes the much more realistic D-infinity flow direction and accumulation. Cheers Tim
On 19/11/15 02:35, Andr? Bertoncini wrote:
Hi everyone, Does anyone knows where I can find a code in R for the computation of flow accumulation from a DEM? I'm having a problem because the raster package does not perform this task in a straightforward way. Any hints are welcome. Regards,
-- ---------------------- Dr. Tim Peterson The Department of Infrastructure Engineering The University of Melbourne, 3010 Australia T: +61 3 8344 9950 <tel:%2B61%203%208344%209950>, M: +61 0438 385 937 <tel:%2B61%200438%20385%20937> Dept. profile : http://www.ie.unimelb.edu.au/people/staff.php?person_ID=141135 Research Gate : https://www.researchgate.net/profile/Tim_Peterson7 Google Scholar: http://scholar.google.com.au/citations?user=kkYJLF4AAAAJ&hl=en&oi=ao _______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo