[GRASS-SVN] r63300 - grass-addons/grass7/vector/v.habitat.dem
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Nov 30 05:50:20 PST 2014
Author: hellik
Date: 2014-11-30 05:50:20 -0800 (Sun, 30 Nov 2014)
New Revision: 63300
Modified:
grass-addons/grass7/vector/v.habitat.dem/v.habitat.dem.py
Log:
v.habitat.dem: activate align to vector; p flag removed
Modified: grass-addons/grass7/vector/v.habitat.dem/v.habitat.dem.py
===================================================================
--- grass-addons/grass7/vector/v.habitat.dem/v.habitat.dem.py 2014-11-30 11:40:33 UTC (rev 63299)
+++ grass-addons/grass7/vector/v.habitat.dem/v.habitat.dem.py 2014-11-30 13:50:20 UTC (rev 63300)
@@ -182,13 +182,13 @@
grass.message( "----" )
# Align region to elevation raster and habitat vector
- # grass.message( "Align region to elevation raster and habitat vector ..." )
- # grass.run_command('g.region', flags = 'ap',
- # rast = r_elevation,
- # vect = v_habitat,
- # align = r_elevation)
- #grass.message( "Alignment done." )
- #grass.message( "----" )
+ grass.message( "Align region to elevation raster and habitat vector ..." )
+ grass.run_command('g.region', flags = 'a',
+ rast = r_elevation,
+ vect = v_habitat,
+ align = r_elevation)
+ grass.message( "Alignment done." )
+ grass.message( "----" )
# Extend region
grass.message( "Extend region ..." )
More information about the grass-commit
mailing list