[GRASS-SVN] r52803 - grass/branches/releasebranch_6_4/scripts/d.vect.thematic
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 21 01:11:00 PDT 2012
Author: mmetz
Date: 2012-08-21 01:11:00 -0700 (Tue, 21 Aug 2012)
New Revision: 52803
Modified:
grass/branches/releasebranch_6_4/scripts/d.vect.thematic/d.vect.thematic
Log:
d.vect.thematic: do not forget the layer for v.univar
Modified: grass/branches/releasebranch_6_4/scripts/d.vect.thematic/d.vect.thematic
===================================================================
--- grass/branches/releasebranch_6_4/scripts/d.vect.thematic/d.vect.thematic 2012-08-21 08:06:36 UTC (rev 52802)
+++ grass/branches/releasebranch_6_4/scripts/d.vect.thematic/d.vect.thematic 2012-08-21 08:11:00 UTC (rev 52803)
@@ -391,15 +391,15 @@
# Calculate statistics for thematic intervals
if [ -z "$GIS_OPT_WHERE" ] ; then
if [ "$GIS_OPT_TYPE" = "line" ] ; then
- v.univar -e -g map=$GIS_OPT_MAP type=line column=$GIS_OPT_COLUMN > "$TMP1"
+ v.univar -e -g map=$GIS_OPT_MAP type=line column=$GIS_OPT_COLUMN layer="$GIS_OPT_LAYER" > "$TMP1"
else
- v.univar -e -g map=$GIS_OPT_MAP type=point,centroid column=$GIS_OPT_COLUMN > "$TMP1"
+ v.univar -e -g map=$GIS_OPT_MAP type=point,centroid column=$GIS_OPT_COLUMN layer="$GIS_OPT_LAYER" > "$TMP1"
fi
else
if [ "$GIS_OPT_TYPE" = "line" ] ; then
- v.univar -e -g map=$GIS_OPT_MAP type=line column=$GIS_OPT_COLUMN where="$GIS_OPT_WHERE" > "$TMP1"
+ v.univar -e -g map=$GIS_OPT_MAP type=line column=$GIS_OPT_COLUMN where="$GIS_OPT_WHERE" layer="$GIS_OPT_LAYER" > "$TMP1"
else
- v.univar -e -g map=$GIS_OPT_MAP type=point,centroid column=$GIS_OPT_COLUMN where="$GIS_OPT_WHERE" > "$TMP1"
+ v.univar -e -g map=$GIS_OPT_MAP type=point,centroid column=$GIS_OPT_COLUMN where="$GIS_OPT_WHERE" layer="$GIS_OPT_LAYER" > "$TMP1"
fi
fi
More information about the grass-commit
mailing list