[GRASS-user] Retrieve current region ncols and rrows in Python

Martin Landa landa.martin at gmail.com
Mon Oct 18 13:09:53 EDT 2010


2010/10/18 katrin eggert <katrineggert1980 at gmail.com>:
> For a small python script that I'm making I need the number of cols and rows
> that are currently active. I've found for a C routine :) but not for a

grass.region() [1]

Martin

[1] http://grass.osgeo.org/programming6/namespacegrass_1_1script_1_1core.html#ac0f1d6516f98839d5330f6c5accc0120

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-user mailing list