Hi<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">could you describe the method? is it just an extraction of<br>
category 2 from landcover_1m?<br></blockquote><div><br>Not exactly, is an extraction of the category 5  (forest) from the landclass96 image<br><br>r.mapcalc &#39;forest1996 = if (landclass96 == 5, 1, null())&#39; <br><br>
But the behaviour doesn&#39;t change if you choose the category 5  of the landcover_1m<br></div><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
[If it is ok with Markus &amp; Helena perhaps we could add it as the<br>
example on the r.li.mps help page]<br></blockquote><br>It will be great...<br><br>Thank&#39;s for reporting this as a bug<br><br>Ahmadou<br><br><br><div class="gmail_quote">2011/9/19 Hamish <span dir="ltr">&lt;<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">ahmadou dicko wrote:<br>
&gt; I  tried to reproduce the <a href="http://r.li" target="_blank">r.li</a> exemple from the GRASS book <br>
&gt; and have a problem with  r.li.mps, i tried with the 6.4.2svn<br>
&gt; version and i upgrade to 6.5svn but i still have the same<br>
&gt; issue.<br>
&gt;<br>
&gt; (i skip the part of the code where forest1996 is build).<br>
<br>
</div>could you describe the method? is it just an extraction of<br>
category 2 from landcover_1m?<br>
<br>
[If it is ok with Markus &amp; Helena perhaps we could add it as the<br>
example on the r.li.mps help page]<br>
<div class="im"><br>
<br>
&gt; I don&#39;t know if this matter but i use kubuntu natty. And<br>
&gt; ask me for more info if necessary.<br>
&gt; so forest1996 is my raster map of forest category (only).<br>
&gt;<br>
&gt; r.li.mps --overwrite map=forest1996 conf=movwindow7 output=forest_p_mps7<br>
</div>...<br>
<div class="im">&gt;  *** glibc detected *** r.li.mps: double free or corruption<br>
&gt; (fasttop): 0x0000000001e17bf0 ***<br>
</div>...<br>
<div class="im">&gt; r.li.mps(calculate+0x58e)[0x4017fe]<br>
&gt; r.li.mps(meanPatchSize+0x148)[0x402cc8]<br>
&gt; /usr/local/grass-6.5.svn/lib/libgrass_rli.so(worker+0x2fa)<br>
</div>...<br>
<div><div></div><div class="h5">&gt; 1314471                    /lib/x86_64-linux-gnu/libm-<br>
&gt; <a href="http://2.13.so" target="_blank">2.13.so</a>*** glibc detected *** r.li.mps: free(): invalid next<br>
&gt; size (fast): 0x0000000001e181e0 ***<br>
<br>
<br>
</div></div><font color="#888888">Hamish<br>
</font></blockquote></div><br>