On Mon, May 31, 2010 at 3:50 AM, Glynn Clements
<[email protected]> wrote:
>
> [CC to grass-dev]
>
> Nikos Alexandris wrote:
>
>>     # faster/ easier way: use of the "grass.region()" function
>>     rows = int(grass.region()['rows'])
>>     cols = int(grass.region()['cols'])
>
> In 7.0, these fields are already integers; r40555 should be
> backported.

AFAIK it has been backported some time ago.

http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/lib/python/core.py#L503

Markus
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to