<div dir="ltr">Dear Andrea,<div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 2, 2014 at 6:26 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI Andrea,<br>
<span class=""><br>
On Fri, Oct 31, 2014 at 3:18 PM, Andrea Timmermann <<a href="mailto:timmermann@gmx.at">timmermann@gmx.at</a>> wrote:<br></span><br>
<span class=""><br>
> Reading features...<br>
> Writing raster map...<br>
> Converted points/lines: 1 of 1<br>
> v.to.rast complete.<br>
> ERROR: Module built against version $Revision: 62060 $ but trying to use<br>
> version $Revision: 62364 $. You need to rebuild GRASS GIS or untangle<br>
> multiple installations.<br>
<br>
</span>Mhh, "this should not happen" issue. In a winGRASS installer there<br>
should not be any version mixture.<br>
Helli, Martin, any ideas?<br></blockquote><div><br></div><div>Did you update G7 without updating the r.stream* perhaps? I'm not sure if this would lead to the error above mentioned, but to give it a try, please remove and then reistall the r.stream modules using g.extension </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
[...]<br><br>
<span class=""><br>
> I also have two more questions:<br>
> - Should I set the computational region to the whole raster map I am using<br>
> or to the vector map defining my basin? (I tried both alternatives and<br>
> r.basin writes something a bit different on the screen depending on what I<br>
> use)<br>
<br>
</span>This is a question for the author of r.basin, I don't know.<br></blockquote><div><br></div><div>The vector map defining your basin is actually an output of the module. You should set the computational region to include the closing section and the area above it up to the ridges (the top of the mountains). This is the best guess on where your basin is more or less contained. If your entire raster is reasonably small, it is OK to set the computational region to the whole raster, otherwhise, you should try to include the ridges that define your basin of interest. If your selection is wrong, you'll be able anyway to detect it because your basin will extend to the limits of your computational region. In this case you will know that you should extend the computational region. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> I am using a mask based on my vector map, so maybe the computations are<br>
> anyways done only for the area covered by the basin?<br>
<br>
</span>... also here.<br></blockquote><div><br></div><div>No, the module does not reduce the region automatically. My suggestion would be to set the computational region reasonably larger than the vector and not to use it as a mask. This is because it could prevent including cells that drain into the basin. You can prove it running r.watershed on the raster masked by the polygon representing the basin. Query the flow accumulation that you obtain (you can use r.mapcalc) to see if there are negative values. The negative values are conventionally used in r.watershed to detect cels that are "incomplete" as sinks for other cells to drain into. </div><div><br></div><div>Hope this helps,</div><div>madi</div></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font color="#666666">Best regards,</font></div><div><font color="#666666"><br></font></div><div><font color="#666666">Dr. Margherita DI LEO </font></div><div><span style="color:rgb(102,102,102);font-family:arial;font-size:small">Scientific / technical project officer</span><br></div><div><font color="#666666"><br></font></div><div><font color="#666666">European Commission - DG JRC </font></div><div><font color="#666666">Institute for Environment and Sustainability (IES)</font></div><div><font color="#666666">Via Fermi, 2749</font></div><div><font color="#666666">I-21027 Ispra (VA) - Italy - TP 261</font></div><div><font color="#666666"> </font></div><div><font color="#666666">Tel. +39 0332 78 3600 </font></div><div><font color="#666666"><a href="mailto:margherita.di-leo@jrc.ec.europa.eu" target="_blank">margherita.di-leo@jrc.ec.europa.eu</a></font></div><div><font color="#666666"><br></font></div><div><font color="#666666">Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.</font></div></div></div>
</div></div>