[GRASS-SVN] r74002 - grass/branches/releasebranch_7_6/vector/v.out.lidar

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 22 06:38:14 PST 2019


Author: neteler
Date: 2019-01-22 06:38:14 -0800 (Tue, 22 Jan 2019)
New Revision: 74002

Modified:
   grass/branches/releasebranch_7_6/vector/v.out.lidar/main.c
Log:
v.out.lidar: print names of column/table in error messages (trunk, r74001)

Modified: grass/branches/releasebranch_7_6/vector/v.out.lidar/main.c
===================================================================
--- grass/branches/releasebranch_7_6/vector/v.out.lidar/main.c	2019-01-22 14:37:00 UTC (rev 74001)
+++ grass/branches/releasebranch_7_6/vector/v.out.lidar/main.c	2019-01-22 14:38:14 UTC (rev 74002)
@@ -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