[GRASS-SVN] r72287 - grass-addons/grass7/vector/v.profile.points

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 28 20:01:21 PST 2018


Author: wenzeslaus
Date: 2018-02-28 20:01:21 -0800 (Wed, 28 Feb 2018)
New Revision: 72287

Modified:
   grass-addons/grass7/vector/v.profile.points/v.profile.points.py
Log:
v.profile.points: add missing b_input and add messages

Modified: grass-addons/grass7/vector/v.profile.points/v.profile.points.py
===================================================================
--- grass-addons/grass7/vector/v.profile.points/v.profile.points.py	2018-02-28 01:01:36 UTC (rev 72286)
+++ grass-addons/grass7/vector/v.profile.points/v.profile.points.py	2018-03-01 04:01:21 UTC (rev 72287)
@@ -175,13 +175,17 @@
 
     # TODO: also limit by region
     if input_file:
+        gs.message("Importing...")
         gs.run_command('v.in.lidar', input=input_file,
                        output=profile_points, flags=lidar_flags,
                        mask=profile_area, quiet=quiet, errors='exit')
     else:
+        gs.message("Selecting...")
         gs.run_command('v.select', ainput=input_points,
+                       binput=profile_area,
                        output=profile_points, flags='c', quiet=quiet)
 
+    gs.message("Rotating...")
     gs.run_command('v.transform', flags='ya' + extra_transform_flags,
                    input=profile_points, output=output, zrotation=rotation)
 



More information about the grass-commit mailing list