Hi Markus,<br><br>I will try that. The GRASS_VECTOR_LOWMEM=1 works only for G7?<br><br>best<br><br>milton<br><br><div class="gmail_quote">2011/2/12 Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@googlemail.com">markus.metz.giswork@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On Sat, Feb 12, 2011 at 11:58 AM, Milton Cezar Ribeiro<br>
<div class="im"><<a href="mailto:miltinho.astronauta@gmail.com">miltinho.astronauta@gmail.com</a>> wrote:<br>
</div><div class="im">> Hi Markus,<br>
><br>
> Thanks for the reply. In fact a vector-based should solve this.<br>
> But, unfortulatelly, as I am working with a very large raster map<br>
> (48,000 x 60,000 pixels; 250,000 clumps), and GRASS fail when<br>
> I try r.to.vect under Windows/Vista. Is there any other options<br>
> of convert large raster maps to vector, instead of r.to.vect?<br>
><br>
</div>No, but you could try a recent version of GRASS 7 and after starting<br>
GRASS, set at the commandline<br>
<br>
export GRASS_VECTOR_LOWMEM=1<br>
<br>
then try r.to.vect<br>
<br>
It will take some time, but it should finish eventually.<br>
<br>
Markus M<br>
<br>
><br>
> Markus Metz:<br>
>><br>
>> Milton Cezar Ribeiro:<br>
<div><div></div><div class="h5">>> > Dear all,<br>
>> ><br>
>> > I have a raster map where each patch (i.e. forest fragment) have<br>
>> > different<br>
>> > ID.<br>
>> > I need to estimate the perimeter per patch, but R.le.patch can't do the<br>
>> > job.<br>
>><br>
>> Have you tried a vector approach? Then the perimeter can be simply<br>
>> uploaded with<br>
>> v.to.db option=perimeter.<br>
>><br>
>> (Watch out for the fractal problem, both r.le.patch and v.to.db)<br>
>><br>
>> Markus M<br>
>><br>
>> > ------------<br>
>> > GRASS 6.4> r.le.patch map=fragments sam=w per=p1 siz=s1 out=STATS.txt<br>
>> ><br>
>> > PARAMETER CHOICES:<br>
>> > MAP: fragments<br>
>> > SAMPLE: whole map TRACING: 8 neighbor<br>
>> > SIZE MEASURES:<br>
>> > mean patch size<br>
>> > PERIMETER MEASURES:<br>
>> > sum of perims<br>
>> ><br>
>> > R.LE.PATCH IS WORKING....;<br>
>> ><br>
>> > ERROR: G_calloc: unable to allocate 24806 * 8 bytes at alloc_cell.c:83<br>
>> > ------------<br>
>> ><br>
>> > Any hint?<br>
>> ><br>
>> > bests<br>
>> ><br>
>> > milton<br>
>> ><br>
>> > _______________________________________________<br>
>> > grass-user mailing list<br>
>> > <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
>> > <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br>