[GRASS-SVN] r71646 - grass-addons/grass7/vector/v.gsflow.reaches
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 8 06:54:45 PST 2017
Author: awickert
Date: 2017-11-08 06:54:44 -0800 (Wed, 08 Nov 2017)
New Revision: 71646
Modified:
grass-addons/grass7/vector/v.gsflow.reaches/v.gsflow.reaches.py
Log:
v.gsflow.reaches: stream top elevation
Modified: grass-addons/grass7/vector/v.gsflow.reaches/v.gsflow.reaches.py
===================================================================
--- grass-addons/grass7/vector/v.gsflow.reaches/v.gsflow.reaches.py 2017-11-08 14:53:21 UTC (rev 71645)
+++ grass-addons/grass7/vector/v.gsflow.reaches/v.gsflow.reaches.py 2017-11-08 14:54:44 UTC (rev 71646)
@@ -418,7 +418,7 @@
# r.to.vect in=srtm_local_filled_grid out=srtm_local_filled_grid col=z type=area --o#
# NOT SURE IF IT IS BEST TO USE MEAN ELEVATION OR TOP ELEVATION!!!!!!!!!!!!!!!!!!!!!!!
v.db_addcolumn(map=reaches, columns='z_topo_mean double precision')
- v.what_vect(map=reaches, query_map=elevation, column='z_topo_mean', query_column='z')
+ v.what_rast(map=reaches, raster=elevation, column='z_topo_mean')#, query_column='z')
v.db_update(map=reaches, column='STRTOP', value='z_topo_mean -'+str(h_stream), quiet=True)
More information about the grass-commit
mailing list