[GRASS-SVN] r45125 - grass/trunk/raster/r.proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 21 04:39:16 EST 2011
Author: martinl
Date: 2011-01-21 01:39:16 -0800 (Fri, 21 Jan 2011)
New Revision: 45125
Modified:
grass/trunk/raster/r.proj/main.c
Log:
r.proj: print proj params only on verbose level
Modified: grass/trunk/raster/r.proj/main.c
===================================================================
--- grass/trunk/raster/r.proj/main.c 2011-01-21 09:26:06 UTC (rev 45124)
+++ grass/trunk/raster/r.proj/main.c 2011-01-21 09:39:16 UTC (rev 45125)
@@ -300,7 +300,7 @@
fprintf(stdout, "%s\n", list[i]);
}
fflush(stdout);
- exit(EXIT_SUCCESS); /* leave v.proj after listing */
+ exit(EXIT_SUCCESS); /* leave r.proj after listing */
}
if (!inmap->answer)
@@ -327,7 +327,8 @@
G_free_key_value(in_unit_info);
G_free_key_value(out_proj_info);
G_free_key_value(out_unit_info);
- pj_print_proj_params(&iproj, &oproj);
+ if (G_verbose() > G_verbose_std())
+ pj_print_proj_params(&iproj, &oproj);
/* this call causes r.proj to read the entire map into memeory */
Rast_get_cellhd(inmap->answer, setname, &incellhd);
More information about the grass-commit
mailing list