[GRASS-SVN] r68413 - grass-addons/grass7/imagery/i.segment.uspo
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 9 11:42:46 PDT 2016
Author: mlennert
Date: 2016-05-09 11:42:46 -0700 (Mon, 09 May 2016)
New Revision: 68413
Modified:
grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
Log:
i.segment.uspo: use region name without mapset qualification for name of best segmentation maps
Modified: grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
===================================================================
--- grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py 2016-05-09 13:47:18 UTC (rev 68412)
+++ grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py 2016-05-09 18:42:46 UTC (rev 68413)
@@ -664,7 +664,7 @@
if segmented_map:
for bestmap, rank, region in maps_to_keep:
- outputmap = segmented_map + "_" + region + "_rank%d" % rank
+ outputmap = segmented_map + "_" + parms['region'] + "_rank%d" % rank
gscript.run_command('g.copy',
raster=[bestmap,outputmap],
quiet=True,
More information about the grass-commit
mailing list