<html style="direction: ltr;">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 11/20/2015 01:02 AM, wcd wrote:<br>
</div>
<blockquote
cite="mid:CACDVBKEkE28MiVDNuwhmTbrhEWtB_9VKTVAMvju9BpfMx2aU9Q@mail.gmail.com"
type="cite">
<div dir="ltr"><span style="font-size:12.8px">Hello all,</span>
<div style="font-size:12.8px">Does GRASS have a tool equivalent
to what ArcGIS callsĀ <a moz-do-not-send="true"
href="http://resources.arcgis.com/EN/HELP/MAIN/10.2/index.html#/Flow_Accumulation/009z00000051000000/"
target="_blank">Flow Accumulation</a>? Input is a flow
direction raster and output is a cumulative catchment area
raster. As an optional argument you can specify a weight
raster, which is really important for what I am trying to do -
count cells of woodland upstream from each cell in the flow
direction grid.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">All GRASS tools I thought could do
this require DTM as input, not flow direction raster, and they
also don't allow to specify the weight raster. As far as I can
see.</div>
<div style="font-size:12.8px"><br>
</div>
</div>
</blockquote>
<br>
As far as I can see, you have one option: r.drain creates drainage
lines based on a flow direction grid and and input grid ("weight"
raster). With the "-a" flag the total weights are placed into the
output cells. But this module gives you accumulation only along the
drainage lines, NOT a full flow accumulation grid.<br>
<br>
<blockquote
cite="mid:CACDVBKEkE28MiVDNuwhmTbrhEWtB_9VKTVAMvju9BpfMx2aU9Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="font-size:12.8px">Do you know about any other OSGeo
tools that could do this? Ideally Python friendly?</div>
<div style="font-size:12.8px">Best regards,</div>
<div style="font-size:12.8px">Filip Kral.</div>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div dir="LTR">
Micha Silver<br>
Arava Drainage Authority<br>
+972-523-665918
</div>
</div>
</body>
</html>