<div>Hi Jonathan,</div>
<div> </div>
<div>When I need to do tiles processing of grass coupled R, I usually set a list of bounding boxes on R (a list of x1, x2, y1, y2), and then I put it on a for() looping. So, I set a new g.region using n= s= e= and w= parameters using system() function of R (you can do it of other ways). Just after the for() I reset g.region with -d.</div>
<div> </div>
<div>*but* you need to be very careful with your processing, because some of the results will be influenced by the boundary of new sub-regions.</div>
<div> </div>
<div>Good luck</div>
<div> </div>
<div>milton</div>
<div>brazil=toronto<br><br></div>
<div class="gmail_quote">2009/7/8 Jonathan Greenberg <span dir="ltr"><<a href="mailto:greenberg@ucdavis.edu">greenberg@ucdavis.edu</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">GRASSers:<br><br> I was curious -- how is tiled processing realized in GRASS GIS? Is there a fixed input tile size (in MB of RAM or # of lines)? Is there some documentation buried on the GRASS site that describes the algorithm? I'm trying to replicate an efficient tiled approach in R -- I was basing it off the ENVI approach (precalculate the input data memory footprint per line of data, read in as many lines as the memory cap allows, process, write those lines, rinse, repeat), but I was curious if GRASS had a different approach.<br>
<br>--j<br><br>-- <br><br>Jonathan A. Greenberg, PhD<br>Postdoctoral Scholar<br>Center for Spatial Technologies and Remote Sensing (CSTARS)<br>University of California, Davis<br>One Shields Avenue<br>The Barn, Room 250N<br>
Davis, CA 95616<br>Cell: 415-794-5043<br>AIM: jgrn307, MSN: <a href="mailto:jgrn307@hotmail.com" target="_blank">jgrn307@hotmail.com</a>, Gchat: jgrn307 <br>_______________________________________________<br>grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">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>
</blockquote></div><br>