<div dir="ltr"><div dir="ltr"><div dir="ltr">Thank you Markus,<div><br></div><div>I just got the i.segment results with Grass 7.6 (64 bit; r73480-35).<br></div><div><br></div><div>This is the output:</div><div><div>i.segment --overwrite group=DV4@LUP1,IDM4@LUP1,W2@LUP1,W4@LUP1 output=SegmW24IDM4DV4 threshold=0.25 minsize=5000 memory=10000 seeds=SegW24IDM4DV4@LUP1 goodness=SegmW24IDM4DV4_goodn</div><div>Maximum number of iterations set to 50</div><div>Loading input bands...</div><div>Loading seeds from raster map <SegW24IDM4DV4>...</div><div>Processing pass 1...</div><div>Processing pass 2...</div><div>Processing pass 3...</div><div>Processing pass 4...</div><div>Processing pass 5...</div><div>Processing pass 6...</div><div>Processing pass 7...</div><div>Processing pass 8...</div><div>Processing pass 9...</div><div>Segmentation converged after 9 iterations</div><div>Assigning region IDs to remaining single-cell regions...</div><div>Merging segments smaller than 5000 cells...</div><div>Writing out segment IDs...</div><div>Writing out goodness of fit</div><div>ERROR: Region of size 635805 should be in search tree</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 4, 2018 at 4:07 PM Markus Metz <<a href="mailto:markus.metz.giswork@gmail.com">markus.metz.giswork@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Can you please try with GRASS 7.6 64 bit [0] and report if the error still persists or not?</div><div><br></div><div>Thanks,</div><div><br></div><div>Markus M</div><div><br></div><div>[0] <a href="https://wingrass.fsv.cvut.cz/grass76/x86_64/" target="_blank">https://wingrass.fsv.cvut.cz/grass76/x86_64/</a><br></div><div><br>On Thu, Oct 4, 2018 at 5:07 PM Jamille Haarloo <<a href="mailto:j.r.haarloo@gmail.com" target="_blank">j.r.haarloo@gmail.com</a>> wrote:<br>><br>> Dear Grass community,<br>><br>> I have been experimenting with i.segment, i.segment.uspo and i.segment.stats on relatively small areas of a worldview-2 image. <br>> After some success I tried i.segment and i.segment.stats on the entire area of 19875 ha, but I kept getting the same errors with i.segment.stats. I started using a mask to eliminate most of the matrix, to see if that helped. It did not, so I started the process again in i.segment but with the previous segmentation output as seed to reduce processing. This time I also got an error with i.segment in 2 attempts with different parameters. I looked for documentation, but I couldn't find any solutions and I rather not mess with the scripts. I do get a raster-output which looks ok, but i.segment.stats fails to create an attribute table for further analyses. My questions are: Is the area too big (too much pixels)? Are there too many segments? The count of the last output is 9054 segments. Or should I start the process again form the beginning without the seed assuming the Mask is not the problem? The processing might take several weeks though. <br>><br>>  i.segment error:<br>> ERROR: Region of size 501508 should be in search tree<br>><br>> i.segment.stats errors:<br>> ERROR: Error while executing: 'CREATE TABLE segmstat_tmp_vect_7968 (cat int, area double precision, compact_circle double precision, DV2_mean double precision, DV2_stddev double precision, DV2_variance double precision, DV2_coeff_var double precision, DV2_first_quart double precision, DV2_median double precision, DV2_third_quart double precision, DV2_perc_90 double precision, DV4_mean double precision, DV4_stddev double precision, DV4_variance double precision, DV4_coeff_var double precision, DV4_first_quart double precision, DV4_median double precision, DV4_third_quart double precision, DV4_perc_90 double precision, IDM2_mean double precision, IDM2_stddev double precision, IDM2_variance double precision, IDM2_coeff_var double precision, IDM2_first_quart double precision, IDM2_median double precision, IDM2_third_quart double precision, IDM2_perc_90 double precision, IDM4_mean double precision, IDM4_stddev double precision, IDM4_variance double precision, IDM4_coeff_var double precision, IDM4_first_quart double precision, IDM4_median double precision, IDM4_third_quart double precision, IDM4_perc_90 double precision, W2_mean double precision, W2_stddev double precision, W2_variance double precision, W2_coeff_var double precision, W2_first_quart double precision, W2_median double precision, W2_third_quart double precision, W2_perc_90 double precision, DV4_mean double precision, DV4_stddev double precision, DV4_variance double precision, DV4_coeff_var double precision, DV4_first_quart double precision, DV4_median double precision, DV4_third_quart double precision, DV4_perc_90 double precision, neighbors_count double precision, area_nbrmean double precision, area_nbrstddev double precision, compact_circle_nbrmean double precision, compact_circle_nbrstddev double precision, DV2_mean_nbrmean double precision, DV2_mean_nbrstddev double precision, DV2_stddev_nbrmean double precision, DV2_stddev_nbrstddev double precision, DV2_variance_nbrmean double precision, DV2_variance_nbrstddeGRASS_INFO_ERROR(7020,1):<br>> Traceback (most recent call last):<br>>   File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri<br>> pts/<a href="http://i.segment.stats.py" target="_blank">i.segment.stats.py</a>", line 370, in <module><br>>     main()<br>>   File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri<br>> pts/<a href="http://i.segment.stats.py" target="_blank">i.segment.stats.py</a>", line 357, in main<br>>     gscript.run_command('db.execute', input=insert_sql,<br>> quiet=True)<br>>   File "C:\Program Files\GRASS GIS<br>> 7.4.0\etc\python\grass\script\core.py", line 421, in<br>> run_command<br>>     return handle_errors(returncode, returncode, args,<br>> kwargs)<br>>   File "C:\Program Files\GRASS GIS<br>> 7.4.0\etc\python\grass\script\core.py", line 332, in<br>> handle_errors<br>>     returncode=returncode)<br>> grass.exceptions.CalledModuleError: Module run None<br>> ['db.execute', '--q', 'input=Z:\\GRASS_GIS\\Cottica_LUP\\LUP<br>> 1\\.tmp/unknown\\7968.1'] ended with error<br>> Process ended with non-zero return code 1. See errors in the<br>> (error) output.<br>><br>><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div></div></div>
</blockquote></div>