[GRASS-CVS] moritz: grass6/scripts/d.vect.thematic d.vect.thematic,
1.56, 1.57
grass at intevation.de
grass at intevation.de
Fri Nov 23 10:44:45 EST 2007
Author: moritz
Update of /grassrepository/grass6/scripts/d.vect.thematic
In directory doto:/tmp/cvs-serv18216
Modified Files:
d.vect.thematic
Log Message:
use user chosen layer
Index: d.vect.thematic
===================================================================
RCS file: /grassrepository/grass6/scripts/d.vect.thematic/d.vect.thematic,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- d.vect.thematic 12 Nov 2007 17:52:13 -0000 1.56
+++ d.vect.thematic 23 Nov 2007 15:44:43 -0000 1.57
@@ -240,7 +240,7 @@
MAX_LEG_ITEMS=18
# check column type
-COLTYPE="`v.info -c $GIS_OPT_MAP layer=1 2> /dev/null | grep -w $GIS_OPT_COLUMN | cut -d'|' -f1 | tr -s '[:upper:]' '[:lower:]'`"
+COLTYPE="`v.info -c $GIS_OPT_MAP layer=$GIS_OPT_LAYER 2> /dev/null | grep -w $GIS_OPT_COLUMN | cut -d'|' -f1 | tr -s '[:upper:]' '[:lower:]'`"
#COLTYPE=...
if [ -z "$COLTYPE" ] ; then
More information about the grass-commit
mailing list