[GRASS-SVN] r68075 - grass-addons/grass7/raster/r.lfp

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 18 05:56:48 PDT 2016


Author: hcho
Date: 2016-03-18 05:56:48 -0700 (Fri, 18 Mar 2016)
New Revision: 68075

Modified:
   grass-addons/grass7/raster/r.lfp/r.lfp.py
Log:
r.lfp: Suppress a misleading warning

Modified: grass-addons/grass7/raster/r.lfp/r.lfp.py
===================================================================
--- grass-addons/grass7/raster/r.lfp/r.lfp.py	2016-03-18 12:44:38 UTC (rev 68074)
+++ grass-addons/grass7/raster/r.lfp/r.lfp.py	2016-03-18 12:56:48 UTC (rev 68075)
@@ -56,7 +56,7 @@
 
     try:
         grass.run_command("v.to.rast", overwrite=True,
-                          input=outlet, output=outlet, use="cat")
+                          input=outlet, output=outlet, use="cat", type="point")
     except CalledModuleError:
         grass.fatal(_("Cannot convert outlet vector to raster"))
 



More information about the grass-commit mailing list