[GRASS-SVN] r69377 - grass/trunk/raster3d/r3.in.lidar

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 5 06:24:33 PDT 2016


Author: wenzeslaus
Date: 2016-09-05 06:24:33 -0700 (Mon, 05 Sep 2016)
New Revision: 69377

Modified:
   grass/trunk/raster3d/r3.in.lidar/main.c
Log:
r3.in.lidar: final (done) messages at the very end (closing takes time and gives output)

Modified: grass/trunk/raster3d/r3.in.lidar/main.c
===================================================================
--- grass/trunk/raster3d/r3.in.lidar/main.c	2016-09-05 13:18:29 UTC (rev 69376)
+++ grass/trunk/raster3d/r3.in.lidar/main.c	2016-09-05 13:24:33 UTC (rev 69377)
@@ -448,24 +448,6 @@
     raster3d_divide(binning.sum_raster, binning.count_raster,
                     binning.mean_raster, &binning.region);
 
-    G_message("Number of points inside: %lu", inside);
-    if (use_segment)
-        G_message
-            ("Number of points outside or in base raster NULL cells: %lu",
-             outside + in_nulls);
-    else
-        G_message("Number of points outside: %lu", outside);
-    if (n_invalid && only_valid)
-        G_message(_("%lu input points were not valid and filtered out"),
-                  n_invalid);
-    if (n_return_filtered)
-        G_message(_("%lu input points were filtered out by return number"), n_return_filtered);
-    if (n_class_filtered)
-        G_message(_("%lu input points were filtered out by class number"), n_class_filtered);
-    if (n_invalid && !only_valid)
-        G_message(_("%lu input points were not valid, use -%c flag to filter"
-                    " them out"), n_invalid, only_valid_flag->key);
-
     G_verbose_message(_("Closing the maps..."));
 
     G_percent_reset();
@@ -487,5 +469,23 @@
     if (use_segment)
         Segment_close(&base_segment);
 
+    G_message("Number of points inside: %lu", inside);
+    if (use_segment)
+        G_message
+            ("Number of points outside or in base raster NULL cells: %lu",
+             outside + in_nulls);
+    else
+        G_message("Number of points outside: %lu", outside);
+    if (n_invalid && only_valid)
+        G_message(_("%lu input points were not valid and filtered out"),
+                  n_invalid);
+    if (n_return_filtered)
+        G_message(_("%lu input points were filtered out by return number"), n_return_filtered);
+    if (n_class_filtered)
+        G_message(_("%lu input points were filtered out by class number"), n_class_filtered);
+    if (n_invalid && !only_valid)
+        G_message(_("%lu input points were not valid, use -%c flag to filter"
+                    " them out"), n_invalid, only_valid_flag->key);
+
     exit(EXIT_SUCCESS);
 }



More information about the grass-commit mailing list