[GRASS-SVN] r34957 - grass/branches/develbranch_6/scripts/v.dissolve
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Dec 20 12:05:51 EST 2008
Author: martinl
Date: 2008-12-20 12:05:51 -0500 (Sat, 20 Dec 2008)
New Revision: 34957
Modified:
grass/branches/develbranch_6/scripts/v.dissolve/v.dissolve
Log:
v.dissolve standardize messages
Modified: grass/branches/develbranch_6/scripts/v.dissolve/v.dissolve
===================================================================
--- grass/branches/develbranch_6/scripts/v.dissolve/v.dissolve 2008-12-20 16:58:42 UTC (rev 34956)
+++ grass/branches/develbranch_6/scripts/v.dissolve/v.dissolve 2008-12-20 17:05:51 UTC (rev 34957)
@@ -87,7 +87,7 @@
# does map exist?
eval `g.findfile element=vector file=$GIS_OPT_INPUT`
if [ ! "$file" ] ; then
- g.message -e "Vector map '$GIS_OPT_INPUT' not found in mapset search path"
+ g.message -e "Vector map <$GIS_OPT_INPUT> not found"
exit 1
fi
@@ -104,7 +104,7 @@
table=`v.db.connect $GIS_OPT_INPUT -g fs=";" | grep -w $GIS_OPT_LAYER | awk -F ";" '{print $2}'`
if [ -z "$table" ] ; then
- g.message -e 'There is no table connected to this map!'
+ g.message -e 'Database connection not defined for layer $GIS_OPT_LAYER'
exit 1
fi
v.reclass input="$GIS_OPT_INPUT" output="$GIS_OPT_OUTPUT"_${TMP} layer="$GIS_OPT_LAYER" \
More information about the grass-commit
mailing list