[GRASS-SVN] r51657 - grass-addons/grass6/raster/r.to.vect.lines
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun May 20 16:48:09 EDT 2012
Author: hamish
Date: 2012-05-20 13:48:08 -0700 (Sun, 20 May 2012)
New Revision: 51657
Modified:
grass-addons/grass6/raster/r.to.vect.lines/r.to.vect.lines.py
Log:
a little close to having null detection working, but not yet
Modified: grass-addons/grass6/raster/r.to.vect.lines/r.to.vect.lines.py
===================================================================
--- grass-addons/grass6/raster/r.to.vect.lines/r.to.vect.lines.py 2012-05-20 09:52:29 UTC (rev 51656)
+++ grass-addons/grass6/raster/r.to.vect.lines/r.to.vect.lines.py 2012-05-20 20:48:08 UTC (rev 51657)
@@ -155,7 +155,7 @@
# TODO check for NULL
for col in xrange(cols):
- #? howto if G_is_null_value(in_rast[col], data_type):
+# if not G_is_null_value(byref(in_rast[col]), data_type):
if in_rast[col] > -2e9:
xL[n] = G_col_to_easting((col + 0.5), byref(region))
yL[n] = coor_row_static
More information about the grass-commit
mailing list