Hi Pietro, thanks for the explanation

On Tue, Feb 17, 2015 at 7:38 AM, Pietro <peter.z...@gmail.com> wrote:

> Dear Paulo,
>
> as explained by Vaclav:
>
> "If you change region in C or using ctypes in Python, it is affecting
> only the current process." [0].
>
> Therefore the pygrass Region, that it is using C through ctypes, it is
> working only on the current process.
>
> "On the hand, if you change region using g.region, only region for
> subprocesses is changed but library functions are not affected. So,
> g.region
> will affect pygrass.modules.Module but not pygrass.raster, pygrass.vector
> and others." [1]
>
> I hope this make the things clearer.
>
> Best regards
>
> Pietro
>
> [0] https://lists.osgeo.org/pipermail/grass-dev/2014-February/067543.html
> [1] https://lists.osgeo.org/pipermail/grass-dev/2014-July/070200.html
>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to