[GRASS-dev] [GRASS-user] pygrass: Region.set_current() doesn't work

Pietro peter.zamb at gmail.com
Fri Jul 25 02:05:11 PDT 2014


Hi Martin,

On Fri, Jul 25, 2014 at 10:39 AM, Martin Zbinden
<martin.zbinden at gmail.com> wrote:
> If I understand correctly, Region.set_current() can be used
> to effectively change the region currently used by GRASS. But changing
> extent of Raster()-object and executing set_current() does not have
> any effect.

I found the same thing some months ago:

https://lists.osgeo.org/pipermail/grass-dev/2014-February/067543.html

as explained by Vaclav:

"If you change region in C or using ctypes in Python, it is affecting
only the current process."

best regards

Pietro


More information about the grass-dev mailing list