[GRASS-SVN] r38884 - grass/branches/develbranch_6/scripts/v.rast.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 27 06:52:53 EDT 2009


Author: hamish
Date: 2009-08-27 06:52:53 -0400 (Thu, 27 Aug 2009)
New Revision: 38884

Modified:
   grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats
Log:
mean and median requre a prefix no longer than 6 chars

Modified: grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats
===================================================================
--- grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats	2009-08-27 10:44:14 UTC (rev 38883)
+++ grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats	2009-08-27 10:52:53 UTC (rev 38884)
@@ -208,7 +208,7 @@
 
 if [ $DBFDRIVER -eq 1 ] ; then
    # `wc -c` reports number of chars + 1 for the newline
-   if [ `echo "$COLPREFIX" | wc -c` -gt 8 ] ; then
+   if [ `echo "$COLPREFIX" | wc -c` -gt 7 ] ; then
        g.message -e "Cannot create unique names for columns. \
          Either use a shorter column prefix or switch to another DB \
 	 backend such as SQLite. DBF limits the length to 10 characters"



More information about the grass-commit mailing list