<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 2 Mar 2024 at 07:04, Paulo van Breugel via grass-dev <<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On March 2, 2024 1:00:23 AM GMT+01:00, Michael Barton via grass-dev <<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a>> wrote:<br>
>It's been awhile since I've done this but I thought I remembered that a new map created with r.copy is constrained by the computational region. That does not seem to the case, at least in 8.4 dev. Maybe it has been this way for awhile (long while?) and I didn't notice it.<br></blockquote><div><br></div><div><br></div><div>g.copy is a general tool which creates a copy of the data. Perhaps you are interested in r.clip which is a raster tool and is driven by the computational region as expected. r.clip clips according to the current computation region (preserves original raster alignment  by default).<br></div><div><br></div><div><a href="https://grass.osgeo.org/grass-stable/manuals/addons/r.clip.html">https://grass.osgeo.org/grass-stable/manuals/addons/r.clip.html</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I think, but I'm not 100% sure, that has always been the case.</blockquote><div><br></div><div>Here is g.copy documentation from v6.4 it does not mention anything about region. It seems to go back to US Army CERL.<br></div><div><br></div><div><a href="https://github.com/OSGeo/grass-legacy/blob/2734c86fd5cb976b4a94b04a2cdc75b4613f6a77/general/manage/cmd/g.copy.html#L6">https://github.com/OSGeo/grass-legacy/blob/2734c86fd5cb976b4a94b04a2cdc75b4613f6a77/general/manage/cmd/g.copy.html#L6</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> In any case, it seems to be the logical behavior, otherwise it wouldn't be a true copy?<br></blockquote><div><br></div><div>Are the different expectations coming from differences between  raster tools and general tools? With r.copy (as opposed to g.copy), you could perhaps argue for respecting the computational region, but I think the "true copy" expectation would still be strong.<br></div><div><br></div><div>Vaclav<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
><br>
>Michael<br>
>_____________________________<br>
><br>
>C. Michael Barton<br>
>Associate Director, School of Complex Adaptive Systems (<a href="https://scas.asu.edu" rel="noreferrer" target="_blank">https://scas.asu.edu</a><<a href="https://scas.asu.edu/" rel="noreferrer" target="_blank">https://scas.asu.edu/</a>>)<br>
>Professor, School of Human Evolution & Social Change (<a href="https://shesc.asu.edu" rel="noreferrer" target="_blank">https://shesc.asu.edu</a>)<br>
>Director, Center for Social Dynamics & Complexity (<a href="https://complexity.asu.edu" rel="noreferrer" target="_blank">https://complexity.asu.edu</a>)<br>
>Arizona State University<br>
>Tempe, AZ 85287-2701<br>
>USA<br>
><br>
>Executive Director, Open Modeling Foundation (<a href="https://openmodelingfoundation.github.io" rel="noreferrer" target="_blank">https://openmodelingfoundation.github.io</a><<a href="https://openmodelingfoundation.github.io/" rel="noreferrer" target="_blank">https://openmodelingfoundation.github.io/</a>>)<br>
>Director, Network for Computational Modeling in Social & Ecological Sciences (<a href="https://comses.net" rel="noreferrer" target="_blank">https://comses.net</a>)<br>
><br>
>personal website: <a href="http://www.public.asu.edu/~cmbarton" rel="noreferrer" target="_blank">http://www.public.asu.edu/~cmbarton</a><br>
><br>
><br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</blockquote></div></div>