[GRASS-SVN] r74001 - grass/trunk/vector/v.out.lidar

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 22 06:37:00 PST 2019


Author: neteler
Date: 2019-01-22 06:37:00 -0800 (Tue, 22 Jan 2019)
New Revision: 74001

Modified:
   grass/trunk/vector/v.out.lidar/main.c
Log:
v.out.lidar: print names of column/table in error messages

Modified: grass/trunk/vector/v.out.lidar/main.c
===================================================================
--- grass/trunk/vector/v.out.lidar/main.c	2019-01-22 12:27:31 UTC (rev 74000)
+++ grass/trunk/vector/v.out.lidar/main.c	2019-01-22 14:37:00 UTC (rev 74001)
@@ -118,9 +118,11 @@
         G_fatal_error(_("Column <%s> not found in table <%s>"),
                       column, f_info->table);
     if (ctype != DB_C_TYPE_INT && ctype != DB_C_TYPE_DOUBLE)
-        G_fatal_error(_("Only numeric column type is supported"));
+        G_fatal_error(_("Only numeric column type is supported (column <%s> in table <%s>)"),
+                      column, f_info->table);
     if (ctype == DB_C_TYPE_DOUBLE)
-        G_warning(_("Double values will be converted to integers"));
+        G_warning(_("Double values will be converted to integers (column <%s> in table <%s>)"),
+                      column, f_info->table);
 
     db_CatValArray_init(column_values);
     int nrec =



More information about the grass-commit mailing list