[GRASS-SVN] r55655 - grass-addons/grass7/raster/r.agent/libagent
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Apr 8 02:27:10 PDT 2013
Author: mic
Date: 2013-04-08 02:27:09 -0700 (Mon, 08 Apr 2013)
New Revision: 55655
Modified:
grass-addons/grass7/raster/r.agent/libagent/grassland.py
Log:
ask further question
Modified: grass-addons/grass7/raster/r.agent/libagent/grassland.py
===================================================================
--- grass-addons/grass7/raster/r.agent/libagent/grassland.py 2013-04-08 09:20:36 UTC (rev 55654)
+++ grass-addons/grass7/raster/r.agent/libagent/grassland.py 2013-04-08 09:27:09 UTC (rev 55655)
@@ -103,6 +103,7 @@
# TODO only points are supported, ask some expert how to test this
# TODO indexing seems to start at "1".. verify!
for v in layer.values():
+ # TODO do they all look like this??
if len(v) == 4 and v[0] == v[3]:
x = ( v[1] - self.region["s"] ) / self.region["ewres"]
y = ( v[1] - self.region["s"] ) / self.region["nsres"]
More information about the grass-commit
mailing list