Re: [GRASS-dev] Question on C API and GRASS raster/region

2015-07-04 Thread Glynn Clements
Pietro wrote: As you can see the region struct has now 43 rows and 47 columns, but still the Rast_window_rows and the Rast_window_cols return still the 'old' one. The Rast_window_[rows|cols] functions are described in the documentation () as Number of [rows|cols] in active window. with

[GRASS-dev] Question on C API and GRASS raster/region

2015-07-01 Thread Pietro
Dear devs, I'm trying to clarify the behavior of the C API of grass concerning the interaction between raster and region, since I'm more confortable with Python, I've just open an ipython interpreter inside a GRASS session, the mapset is the North Carolina. I've imported some libraries and