[GRASS-SVN] r52802 - grass/branches/develbranch_6/scripts/d.vect.thematic

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 21 01:06:36 PDT 2012


Author: mmetz
Date: 2012-08-21 01:06:36 -0700 (Tue, 21 Aug 2012)
New Revision: 52802

Modified:
   grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic
Log:
d.vect.thematic: do not forget the layer for v.univar

Modified: grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic
===================================================================
--- grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic	2012-08-21 08:06:02 UTC (rev 52801)
+++ grass/branches/develbranch_6/scripts/d.vect.thematic/d.vect.thematic	2012-08-21 08:06:36 UTC (rev 52802)
@@ -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