[GRASS-SVN] r60964 - grass/trunk/raster/r.to.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 25 05:25:24 PDT 2014
Author: hcho
Date: 2014-06-25 05:25:24 -0700 (Wed, 25 Jun 2014)
New Revision: 60964
Modified:
grass/trunk/raster/r.to.vect/lines.c
Log:
r.to.vect: Fixed crowded cell message
Modified: grass/trunk/raster/r.to.vect/lines.c
===================================================================
--- grass/trunk/raster/r.to.vect/lines.c 2014-06-25 12:20:14 UTC (rev 60963)
+++ grass/trunk/raster/r.to.vect/lines.c 2014-06-25 12:25:24 UTC (rev 60964)
@@ -500,7 +500,7 @@
x = Rast_col_to_easting((double)(col + .5), &cell_head);
y = Rast_row_to_northing((double)(row + .5), &cell_head);
G_message(_("Crowded cell at (%f, %f): row %d, col %d, count %d"),
- x, y, row, col, count);
+ x, y, row, col - 1, count);
}
G_fatal_error(_("Raster map is not thinned properly.\nPlease run r.thin."));
} /* switch count */
More information about the grass-commit
mailing list