[GRASS-SVN] r42419 - grass/branches/releasebranch_6_4/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 1 14:03:30 EDT 2010
Author: martinl
Date: 2010-06-01 14:03:30 -0400 (Tue, 01 Jun 2010)
New Revision: 42419
Modified:
grass/branches/releasebranch_6_4/lib/python/core.py
Log:
lipython: update region() desc
(merge r42417 from trunk)
Modified: grass/branches/releasebranch_6_4/lib/python/core.py
===================================================================
--- grass/branches/releasebranch_6_4/lib/python/core.py 2010-06-01 18:01:25 UTC (rev 42418)
+++ grass/branches/releasebranch_6_4/lib/python/core.py 2010-06-01 18:03:30 UTC (rev 42419)
@@ -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