[GRASS-SVN] r67372 - grass/trunk/scripts/v.rast.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 24 09:26:58 PST 2015
Author: martinl
Date: 2015-12-24 09:26:58 -0800 (Thu, 24 Dec 2015)
New Revision: 67372
Modified:
grass/trunk/scripts/v.rast.stats/v.rast.stats.py
Log:
v.rast.stats: message cosmetics
Modified: grass/trunk/scripts/v.rast.stats/v.rast.stats.py
===================================================================
--- grass/trunk/scripts/v.rast.stats/v.rast.stats.py 2015-12-24 16:56:19 UTC (rev 67371)
+++ grass/trunk/scripts/v.rast.stats/v.rast.stats.py 2015-12-24 17:26:58 UTC (rev 67372)
@@ -138,6 +138,7 @@
grass.run_command('g.region', align=raster)
# prepare raster MASK
+ grass.message(_("Preprocessing input data..."))
try:
grass.run_command('v.to.rast', input=vector, layer=layer, output=rastertmp,
use='cat', quiet=True)
@@ -237,7 +238,7 @@
grass.fatal(_("Adding columns failed. Exiting."))
# calculate statistics:
- grass.message(_("Processing data (%d categories)...") % number)
+ grass.message(_("Processing input data (%d categories)...") % number)
# get rid of any earlier attempts
grass.try_remove(sqltmp)
More information about the grass-commit
mailing list