[GRASS-SVN] r60965 - grass/trunk/raster/r.to.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 25 05:39:19 PDT 2014


Author: hcho
Date: 2014-06-25 05:39:19 -0700 (Wed, 25 Jun 2014)
New Revision: 60965

Modified:
   grass/trunk/raster/r.to.vect/lines.c
Log:
r.to.vect: corrected x in the crowded message

Modified: grass/trunk/raster/r.to.vect/lines.c
===================================================================
--- grass/trunk/raster/r.to.vect/lines.c	2014-06-25 12:25:24 UTC (rev 60964)
+++ grass/trunk/raster/r.to.vect/lines.c	2014-06-25 12:39:19 UTC (rev 60965)
@@ -497,7 +497,7 @@
     default:
 	{
 	    double x, y;
-	    x = Rast_col_to_easting((double)(col + .5), &cell_head);
+	    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 - 1, count);



More information about the grass-commit mailing list