[GRASS-SVN] r60988 - grass/trunk/raster/r.tile
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jun 26 12:04:11 PDT 2014
Author: neteler
Date: 2014-06-26 12:04:11 -0700 (Thu, 26 Jun 2014)
New Revision: 60988
Modified:
grass/trunk/raster/r.tile/main.c
Log:
r.tile: fix title output
Modified: grass/trunk/raster/r.tile/main.c
===================================================================
--- grass/trunk/raster/r.tile/main.c 2014-06-26 19:04:05 UTC (rev 60987)
+++ grass/trunk/raster/r.tile/main.c 2014-06-26 19:04:11 UTC (rev 60988)
@@ -179,8 +179,9 @@
Rast_write_cats(name, &cats);
/* record map metadata/history info */
+ G_debug(1, "Tile %d,%d of %s: writing %s", xtile, ytile, parm.rastin->answer, name);
sprintf(title, "Tile %d,%d of %s", xtile, ytile, parm.rastin->answer);
- Rast_put_cell_title(parm.rastout->answer, title);
+ Rast_put_cell_title(name, title);
Rast_short_history(name, "raster", &history);
Rast_set_history(&history, HIST_DATSRC_1, parm.rastin->answer);
More information about the grass-commit
mailing list