Is there an ArcGIS-like implementation of Flow Accumulation for R?
What I am trying to avoid: Using ArcGIS; Using Grass; Using RpyGEO (but will if need be)
I am aware of the landscape/hydrology packages of RSAGA, enaR, and vegan, but none of these seem to have a flow accumulation function. I have seen previous reference to rsaga.flow.accumulation
, but that does not appear to be support any longer.
I have tried ??flow
, but only the RPyGEO
and a flow path
from the Raster package show any promise.
R
to go from a raw DEM to the flow accumulation? The tricky part is creating the flow direction grid; after that, a (very simple) graph algorithm does the trick. (And, for performance reasons, you wouldn't want to code that inR
if you could help it.) See the recent discussion at gis.stackexchange.com/questions/84309/…, which includes a link to an on-line version of the original Jenson and Domingue paper (1988).rsaga.fill.sinks
computes a flow direction using either Planchon and Darboux (2001) or Wang and Liu (2006) [it is only one of those, but the doc says "only for "wang.liu.2001"]. The consensus seems to be thatR
is a poor choice for this. I see the reason of that argument and they outweigh my desire to contain it withinR
; I will use python for those bits. Thanks for the help/info!