[GRASS-SVN] r72276 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 24 13:45:28 PST 2018
Author: mmetz
Date: 2018-02-24 13:45:28 -0800 (Sat, 24 Feb 2018)
New Revision: 72276
Modified:
grass/trunk/lib/vector/Vlib/build_nat.c
Log:
Vlib: change topology building messages to verbose messages, use grass_int64 for count of vertices
Modified: grass/trunk/lib/vector/Vlib/build_nat.c
===================================================================
--- grass/trunk/lib/vector/Vlib/build_nat.c 2018-02-24 21:44:20 UTC (rev 72275)
+++ grass/trunk/lib/vector/Vlib/build_nat.c 2018-02-24 21:45:28 UTC (rev 72276)
@@ -61,7 +61,8 @@
Cats = Vect_new_cats_struct();
if (plus->built < GV_BUILD_BASE) {
- int npoints, c;
+ int c;
+ grass_int64 npoints;
/*
* We shall go through all primitives in coor file and add
@@ -114,8 +115,8 @@
}
G_progress(1, 1);
- G_message(n_("One primitive registered", "%d primitives registered", plus->n_lines), plus->n_lines);
- G_message(n_("One vertex registered", "%d vertices registered", npoints), npoints);
+ G_verbose_message(n_("One primitive registered", "%d primitives registered", plus->n_lines), plus->n_lines);
+ G_verbose_message(n_("One vertex registered", "%jd vertices registered", npoints), npoints);
plus->built = GV_BUILD_BASE;
}
@@ -150,8 +151,8 @@
Vect_build_line_area(Map, line, side);
}
}
- G_message(n_("One area built", "%d areas built", plus->n_areas), plus->n_areas);
- G_message(n_("One isle built", "%d isles built", plus->n_isles), plus->n_isles);
+ G_verbose_message(n_("One area built", "%d areas built", plus->n_areas), plus->n_areas);
+ G_verbose_message(n_("One isle built", "%d isles built", plus->n_isles), plus->n_isles);
plus->built = GV_BUILD_AREAS;
}
More information about the grass-commit
mailing list