[GRASS-SVN] r67987 - grass-addons/grass7/imagery/i.segment.uspo
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 2 08:26:18 PST 2016
Author: mlennert
Date: 2016-03-02 08:26:18 -0800 (Wed, 02 Mar 2016)
New Revision: 67987
Modified:
grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py
Log:
i.segment.uspo: no time to find the actual problem, so workaround for issues with qualified mapnames in MS Windows + copy-paste error in parameter description
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-02 14:54:09 UTC (rev 67986)
+++ grass-addons/grass7/imagery/i.segment.uspo/i.segment.uspo.py 2016-03-02 16:26:18 UTC (rev 67987)
@@ -119,7 +119,7 @@
#%option
#% key: minsize_step
#% type: integer
-#% description: Step to use between thresholds
+#% description: Step to use between minimum segment sizes
#% required: no
#%end
#
@@ -240,6 +240,9 @@
autocor_per_raster = []
neighbordict = get_nb_matrix(mapname)
for raster in parms['rasters']:
+ # there seems to be some trouble in ms windows with qualified
+ # map names
+ raster = raster.split('@')[0]
var = get_variance(mapname, raster)
variance_per_raster.append(var)
autocor = get_autocorrelation(mapname, raster,
More information about the grass-commit
mailing list