[GRASS-SVN] r66324 - in grass-addons/grass7/raster: r.stream.variables r.stream.watersheds
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 24 12:31:33 PDT 2015
Author: elselvaje
Date: 2015-09-24 12:31:33 -0700 (Thu, 24 Sep 2015)
New Revision: 66324
Modified:
grass-addons/grass7/raster/r.stream.variables/r.stream.variables
grass-addons/grass7/raster/r.stream.watersheds/r.stream.watersheds
Log:
change attribute nave from vectID to rasterID
Modified: grass-addons/grass7/raster/r.stream.variables/r.stream.variables
===================================================================
--- grass-addons/grass7/raster/r.stream.variables/r.stream.variables 2015-09-24 13:48:19 UTC (rev 66323)
+++ grass-addons/grass7/raster/r.stream.variables/r.stream.variables 2015-09-24 19:31:33 UTC (rev 66324)
@@ -377,7 +377,7 @@
echo Create stream-specific variable: $GIS_OPT_VARIABLE $1
r.reclass input=grid_ID output=${GIS_OPT_VARIABLE}_$1 rules=$GIS_OPT_FOLDER/blockfile/stat_${GIS_OPT_VARIABLE}_${1}.txt --overwrite --q
-rm -f $GIS_OPT_FOLDER/blockfile/stat_${GIS_OPT_VARIABLE}_${1}.txt
+# rm -f $GIS_OPT_FOLDER/blockfile/stat_${GIS_OPT_VARIABLE}_${1}.txt
r.out.gdal -c input=${GIS_OPT_VARIABLE}_${1} nodata=-9999 output=$GIS_OPT_OUT_FOLDER/${GIS_OPT_VARIABLE}_${1}.tif type=Int32 -c createopt="COMPRESS=LZW,ZLEVEL=9" --o --q 2> /dev/null
if test -f "$GIS_OPT_FOLDER/blockfile/${GIS_OPT_VARIABLE}_${1}.tif"; then echo "$GIS_OPT_FOLDER/blockfile/${GIS_OPT_VARIABLE}_${1}.tif has been created!";fi
Modified: grass-addons/grass7/raster/r.stream.watersheds/r.stream.watersheds
===================================================================
--- grass-addons/grass7/raster/r.stream.watersheds/r.stream.watersheds 2015-09-24 13:48:19 UTC (rev 66323)
+++ grass-addons/grass7/raster/r.stream.watersheds/r.stream.watersheds 2015-09-24 19:31:33 UTC (rev 66324)
@@ -160,7 +160,7 @@
echo Rasterize the stream network point coordinates
-v.to.rast --overwrite input=vector_ID output=grid_ID layer=vector_ID use=attr attrcolumn=int_1 type=point --q
+v.to.rast --overwrite input=vector_ID output=grid_ID layer=vector_ID use=attr attrcolumn=cat type=point --q
echo Create the folder structure in $GIS_OPT_FOLDER/ to save results
More information about the grass-commit
mailing list