[GRASS-SVN] r42417 - grass/trunk/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 1 13:59:11 EDT 2010
Author: martinl
Date: 2010-06-01 13:59:10 -0400 (Tue, 01 Jun 2010)
New Revision: 42417
Modified:
grass/trunk/lib/python/core.py
Log:
lipython: update region() desc
Modified: grass/trunk/lib/python/core.py
===================================================================
--- grass/trunk/lib/python/core.py 2010-06-01 12:05:00 UTC (rev 42416)
+++ grass/trunk/lib/python/core.py 2010-06-01 17:59:10 UTC (rev 42417)
@@ -507,9 +507,9 @@
\code
>>> region = grass.region()
>>> [region[key] for key in "nsew"]
- ['4928000', '4914020', '609000', '590010']
+ [228500.0, 215000.0, 645000.0, 630000.0]
>>> (region['nsres'], region['ewres'])
- ('30', '30')
+ (10.0, 10.0)
\endcode
@return dictionary of region values
More information about the grass-commit
mailing list