[GRASS-SVN] r29428 - grass/trunk/vector/lidar/lidarlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 12 19:41:04 EST 2007
Author: martinl
Date: 2007-12-12 19:41:04 -0500 (Wed, 12 Dec 2007)
New Revision: 29428
Modified:
grass/trunk/vector/lidar/lidarlib/InterpSpline.c
grass/trunk/vector/lidar/lidarlib/raster.c
Log:
Message standardization
Use local header
Modified: grass/trunk/vector/lidar/lidarlib/InterpSpline.c
===================================================================
--- grass/trunk/vector/lidar/lidarlib/InterpSpline.c 2007-12-12 21:57:21 UTC (rev 29427)
+++ grass/trunk/vector/lidar/lidarlib/InterpSpline.c 2007-12-13 00:41:04 UTC (rev 29428)
@@ -22,7 +22,7 @@
#include <math.h>
#include <string.h>
-#include <grass/PolimiFunct.h>
+#include "PolimiFunct.h"
/*----------------------------------------------------------------------------*/
/* Abscissa node index computation */
Modified: grass/trunk/vector/lidar/lidarlib/raster.c
===================================================================
--- grass/trunk/vector/lidar/lidarlib/raster.c 2007-12-12 21:57:21 UTC (rev 29427)
+++ grass/trunk/vector/lidar/lidarlib/raster.c 2007-12-13 00:41:04 UTC (rev 29428)
@@ -8,7 +8,7 @@
#include <grass/glocale.h>
#include <grass/config.h>
-#include <grass/PolimiFunct.h>
+#include "PolimiFunct.h"
/*------------------------------------------------------------------------------------------------*/
void
@@ -71,7 +71,7 @@
db_append_string (&sql, buf);
if (db_execute_immediate (driver, &sql) != DB_OK)
- G_fatal_error (_("It was not possible writing in <%s>."), tab_name);
+ G_fatal_error (_("Unable to create table: %s"), buf);
} else if ((*point->y < Overlap.S)) { /*(1)*/
csi = (*point->x - Overlap.E)/overlap;
@@ -85,7 +85,7 @@
db_append_string (&sql, buf);
if (db_execute_immediate (driver, &sql) != DB_OK)
- G_fatal_error (_("It was not possible writing in <%s>."), tab_name);
+ G_fatal_error (_("Unable to create table: %s"), buf);
} else { /*(1)*/
weight = (*point->x - Overlap.E)/overlap;
@@ -97,7 +97,7 @@
db_append_string (&sql, buf);
if (db_execute_immediate (driver, &sql) != DB_OK)
- G_fatal_error (_("It was not possible writing in <%s>."), tab_name);
+ G_fatal_error (_("Unable to create table: %s"), buf);
}
} else if ((point->x[0] < Overlap.W)) {
@@ -113,7 +113,7 @@
db_append_string (&sql, buf);
if (db_execute_immediate (driver, &sql) != DB_OK)
- G_fatal_error (_("It was not possible writing in <%s>."), tab_name);
+ G_fatal_error (_("Unable to create table: %s"), buf);
} else if ((*point->y < Overlap.S)) { /*(2)*/
csi = (*point->x - General.W)/overlap;
@@ -127,7 +127,7 @@
db_append_string (&sql, buf);
if (db_execute_immediate (driver, &sql) != DB_OK)
- G_fatal_error (_("It was not possible writing in <%s>."), tab_name);
+ G_fatal_error (_("Unable to create table: %s"), buf);
} else { /*(2)*/
weight = (Overlap.W - *point->x)/overlap;
@@ -139,7 +139,7 @@
db_append_string (&sql, buf);
if (db_execute_immediate (driver, &sql) != DB_OK)
- G_fatal_error (_("It was not possible writing in <%s>."), tab_name);
+ G_fatal_error (_("Unable to create table: %s"), buf);
}
} else {
@@ -153,7 +153,7 @@
db_append_string (&sql, buf);
if (db_execute_immediate (driver, &sql) != DB_OK)
- G_fatal_error (_("It was not possible writing in <%s>."), tab_name);
+ G_fatal_error (_("Unable to create table: %s"), buf);
} else { /*(1)*/
weight = (Overlap.S - *point->y)/overlap;
*point->z = (1-weight)*interpolation;
@@ -164,7 +164,7 @@
db_append_string (&sql, buf);
if (db_execute_immediate (driver, &sql) != DB_OK)
- G_fatal_error (_("It was not possible writing in <%s>."), tab_name);
+ G_fatal_error (_("Unable to create table: %s"), buf);
}
}
}
More information about the grass-commit
mailing list