[GRASS-dev] Problems using pygrass' Region()
Pietro
peter.zamb at gmail.com
Mon Feb 16 22:38:38 PST 2015
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
More information about the grass-dev
mailing list