[GRASS-SVN] r68097 - grass-addons/grass7/imagery/i.segment.uspo
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 21 09:42:31 PDT 2016
Author: mlennert
Date: 2016-03-21 09:42:31 -0700 (Mon, 21 Mar 2016)
New Revision: 68097
Modified:
grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
Log:
i.segment.uspo: respect choice of output map prefix (fix r68096)
Modified: grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
===================================================================
--- grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py 2016-03-21 15:11:57 UTC (rev 68096)
+++ grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py 2016-03-21 16:42:31 UTC (rev 68097)
@@ -664,7 +664,7 @@
if segmented_map:
for bestmap, rank, region in maps_to_keep:
- outputmap = region + "__rank%d" % rank
+ outputmap = segmented_map + "_" + region + "_rank%d" % rank
gscript.run_command('g.copy',
raster=[bestmap,outputmap],
quiet=True,
More information about the grass-commit
mailing list