Markus, that's great! I will install the latest version and retry. I will report next Monday.
Thanks Moritz. The spaces and '&' in paths of output files did not give problems before, but I retried without the spaces and '&' just in case. i.segment.stats -n --overwrite map=SegmW24IDM4DV4@LUP1 rasters=W2@LUP1 ,W4@LUP1,DV2@LUP1,DV4@LUP1,IDM2@LUP1,IDM4@LUP1 raster_statistics=mean,stddev,variance,coeff_var,first_quart,median,third_quart,perc_90 area_measures=compact_circle csvfile=Z:\grass_cmd_output-i.segment.statsSegmWV24IDM4DV4_11okt2018.txt vectormap=VSegmWV24IDM4DV4 processes=4 Calculating geometry statistics... Calculating statistics for raster maps... Calculating neighborhood statistics... Traceback (most recent call last): File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri pts/i.segment.stats.py", line 370, in <module> main() File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri pts/i.segment.stats.py", line 282, in main quiet=True).splitlines()]) File "C:\Program Files\GRASS GIS 7.6.svn\etc\python\grass\script\core.py", line 478, in read_command return handle_errors(returncode, stdout, args, kwargs) File "C:\Program Files\GRASS GIS 7.6.svn\etc\python\grass\script\core.py", line 334, in handle_errors returncode=returncode) grass.exceptions.CalledModuleError: Module run None ['r.neighborhoodmatrix', '--q', '-d', 'input=SegmW24IDM4DV4@LUP1'] ended with error Process ended with non-zero return code -1073741515. See errors in the (error) output. (Thu Oct 11 13:30:10 2018) Command finished (15 min 56 sec) Hopefully it works on Monday! On Wed, Oct 10, 2018 at 5:46 AM Moritz Lennert <mlenn...@club.worldonline.be> wrote: > On 09/10/18 17:19, Jamille Haarloo wrote: > > first lines of test.csv > > > > cat|area|perimeter|compact_square|compact_circle|fd > > 1|11876.000000|1398.000000|0.311808|3.618821|1.543932 > > 2|635805.000000|57572.000000|0.055400|20.367814|1.640512 > > 3|25898.000000|3322.000000|0.193773|5.823198|1.595825 > > 4|7767.000000|1702.000000|0.207122|5.447885|1.661054 > > 5|13605.000000|2200.000000|0.212074|5.320696|1.617158 > > 6|442366.000000|44230.000000|0.060150|18.759495|1.645730 > > > > So everything looks alright. > > However: > > On 08/10/18 20:40, Jamille Haarloo wrote: > > i.segment.stats -n map=SegmW24IDM4DV4@LUP1 > > rasters=W2@LUP1,W4@LUP1,DV2@LUP1,DV4@LUP1,IDM2@LUP1,IDM4@LUP1 > > > raster_statistics=mean,stddev,variance,coeff_var,first_quart,median,third_quart,perc_90 > > > > area_measures=compact_circle csvfile=X:\Projecten\Land-use Planning > > Marowijne\GIS en RS\Werkfolder\GRASS & > > R\grass_cmd_output-i.segment.statsSegmWV24IDM4DV4_5okt2018.txt > > vectormap=VSegmWV24IDM4DV4 processes=4 > > I'm not sure how well the script can handle a file path with spaces and > '&' in it. Maybe this causes some error ? > > > Calculating geometry statistics... > > Traceback (most recent call last): > > File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri > > pts/i.segment.stats.py <http://i.segment.stats.py>", line 370, in > <module> > > main() > > File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri > > pts/i.segment.stats.py <http://i.segment.stats.py>", line 219, in main > > quiet=True) > > File "C:\Program Files\GRASS GIS > > 7.6.svn\etc\python\grass\script\core.py", line 423, in > > run_command > > return handle_errors(returncode, returncode, args, > > kwargs) > > File "C:\Program Files\GRASS GIS > > 7.6.svn\etc\python\grass\script\core.py", line 334, in > > handle_errors > > returncode=returncode) > > grass.exceptions.CalledModuleError: Module run None > > ['r.object.geometry', '--o', '--q', 'output=Z:\\GRASS_GIS\\C > > ottica_LUP\\LUP1\\.tmp/unknown\\10956.0', > > 'input=SegmW24IDM4DV4@LUP1'] ended with error > > Process ended with non-zero return code -1073741515. See > > errors in the (error) output. > > The error message does not tell us what went wrong with > r.object.geometry. Have you tried running i.segment.stats since > reinstalling r.object.geometry ? > > Moritz >
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user