[GRASS-SVN] r66241 - grass-addons/grass7/vector/v.lidar.mcc

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 16 07:01:05 PDT 2015


Author: wenzeslaus
Date: 2015-09-16 07:01:05 -0700 (Wed, 16 Sep 2015)
New Revision: 66241

Modified:
   grass-addons/grass7/vector/v.lidar.mcc/v.lidar.mcc.py
Log:
v.lidar.mcc: v.patch requires topology before merging

Modified: grass-addons/grass7/vector/v.lidar.mcc/v.lidar.mcc.py
===================================================================
--- grass-addons/grass7/vector/v.lidar.mcc/v.lidar.mcc.py	2015-09-16 13:58:52 UTC (rev 66240)
+++ grass-addons/grass7/vector/v.lidar.mcc/v.lidar.mcc.py	2015-09-16 14:01:05 UTC (rev 66241)
@@ -227,6 +227,7 @@
             # Set convergence level
             if ( nc > 0 ) :
                 convergence = float( float(ng) / float(nc) )
+                grass.run_command('v.build', map=temp_ng, stderr=nuldev)
                 # Patch non-ground points to non-ground output map
                 grass.run_command("v.patch", input = temp_ng, output = ng_output, flags = "ab", overwrite = True, quiet = True, stderr = nuldev )
             else :



More information about the grass-commit mailing list