[GRASS-SVN] r29732 - grass/trunk/scripts/v.dissolve
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 16 20:24:08 EST 2008
Author: hamish
Date: 2008-01-16 20:24:07 -0500 (Wed, 16 Jan 2008)
New Revision: 29732
Modified:
grass/trunk/scripts/v.dissolve/v.dissolve
Log:
v.reclass does actually support strings as the key column
Modified: grass/trunk/scripts/v.dissolve/v.dissolve
===================================================================
--- grass/trunk/scripts/v.dissolve/v.dissolve 2008-01-17 01:17:01 UTC (rev 29731)
+++ grass/trunk/scripts/v.dissolve/v.dissolve 2008-01-17 01:24:07 UTC (rev 29732)
@@ -94,8 +94,8 @@
else
COLTYPE=`v.info -c "$GIS_OPT_INPUT" --quiet | grep ".*|$GIS_OPT_COLUMN$" | cut -f1 -d'|'`
- if [ "$COLTYPE" != "INTEGER" ] ; then
- g.message -e "Key column must be of type INTEGER"
+ if [ "$COLTYPE" != "INTEGER" ] && [ "$COLTYPE" != "CHARACTER" ] ; then
+ g.message -e "Key column must be of type integer or string"
exit 1
fi
More information about the grass-commit
mailing list