<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello Moritz, <div><br></div><div>First a pop-up came about not finding it, so reinstalled it. </div><div><br></div><div><div>g.extension r.object.geometry </div><div>WARNING: Extension <r.object.geometry> already installed. Re-installing...</div><div>Downloading precompiled GRASS Addons <r.object.geometry>...</div><div>Updating addons metadata file...</div><div>Installation of <r.object.geometry> successfully finished</div><div>(Mon Oct 08 16:55:04 2018) Command finished (4 sec) </div><div>(Mon Oct 08 16:55:53 2018) </div><div>r.object.geometry SegmW24IDM4DV4 output=test.csv </div><div>Calculating statistics</div><div>Writing output</div><div>(Mon Oct 08 16:56:14 2018) Command finished (21 sec)</div></div><div><br></div><div><div>g.region -p </div><div>projection: 1 (UTM)</div><div>zone: 21</div><div>datum: wgs84</div><div>ellipsoid: wgs84</div><div>north: 634826.41313284</div><div>south: 611477.61329757</div><div>west: 775494.11663193</div><div>east: 793630.22784822</div><div>nsres: 0.50000642</div><div>ewres: 0.50000307</div><div>rows: 46697</div><div>cols: 36272</div><div>cells: 1693793584</div></div><div><br></div><div><div><a href="http://r.info">r.info</a> SegmW24IDM4DV4 </div><div> +----------------------------------------------------------------------------+</div><div> | Map: SegmW24IDM4DV4 Date: Fri Oct 05 23:46:04 2018 |</div><div> | Mapset: LUP1 Login of Creator: haarlooj |</div><div> | Location: Cottica_LUP |</div><div> | DataBase: Z:\GRASS_GIS |</div><div> | Title: |</div><div> | Timestamp: none |</div><div> |----------------------------------------------------------------------------|</div><div> | |</div><div> | Type of Map: raster Number of Categories: 0 |</div><div> | Data Type: CELL |</div><div> | Rows: 46697 |</div><div> | Columns: 36272 |</div><div> | Total Cells: ju |</div><div> | Projection: UTM (zone 21) |</div><div> | N: 634826.41313284 S: 611477.61329757 Res: 0.50000642 |</div><div> | E: 793630.22784822 W: 775494.11663193 Res: 0.50000307 |</div><div> | Range of data: min = 1 max = 12901 |</div><div> | |</div><div> | Data Description: |</div><div> | generated by i.segment |</div><div> | |</div><div> | Comments: |</div><div> | i.segment --overwrite group="DV4@LUP1,IDM4@LUP1,W2@LUP1,W4@LUP1" out\ |</div><div> | put="SegmW24IDM4DV4" threshold=0.25 radius=1.5 method="region_growin\ |</div><div> | g" similarity="euclidean" minsize=5000 memory=10000 seeds="SegW24IDM\ |</div><div> | 4DV4@LUP1" goodness="SegmW24IDM4DV4_goodn" </div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 8, 2018 at 4:27 PM Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Am 8. Oktober 2018 20:40:39 MESZ schrieb Jamille Haarloo <<a href="mailto:j.r.haarloo@gmail.com" target="_blank">j.r.haarloo@gmail.com</a>>:<br>
>Sorry about that Moritz. Possibly I made that mistake, but I tried<br>
>several<br>
>times. I don't think I reproduced the same mistake in all tries.<br>
>These are the i.segment.stats results with Grass 7.6 (64 bit;<br>
>r73480-35). I<br>
>am reading up on this error now.<br>
><br>
>i.segment.stats -n map=SegmW24IDM4DV4@LUP1<br>
>rasters=W2@LUP1,W4@LUP1,DV2@LUP1<br>
>,DV4@LUP1,IDM2@LUP1,IDM4@LUP1<br>
>raster_statistics=mean,stddev,variance,coeff_var,first_quart,median,third_quart,perc_90<br>
>area_measures=compact_circle csvfile=X:\Projecten\Land-use Planning<br>
>Marowijne\GIS en RS\Werkfolder\GRASS &<br>
>R\grass_cmd_output-i.segment.statsSegmWV24IDM4DV4_5okt2018.txt<br>
>vectormap=VSegmWV24IDM4DV4 processes=4<br>
>Calculating geometry statistics...<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" rel="noreferrer" 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" rel="noreferrer" target="_blank">i.segment.stats.py</a>", line 219, in main<br>
> quiet=True)<br>
> File "C:\Program Files\GRASS GIS<br>
>7.6.svn\etc\python\grass\script\core.py", line 423, in<br>
>run_command<br>
> return handle_errors(returncode, returncode, args,<br>
>kwargs)<br>
> File "C:\Program Files\GRASS GIS<br>
>7.6.svn\etc\python\grass\script\core.py", line 334, in<br>
>handle_errors<br>
> returncode=returncode)<br>
>grass.exceptions.CalledModuleError: Module run None<br>
>['r.object.geometry', '--o', '--q', 'output=Z:\\GRASS_GIS\\C<br>
>ottica_LUP\\LUP1\\.tmp/unknown\\10956.0',<br>
>'input=SegmW24IDM4DV4@LUP1'] ended with error<br>
<br>
<br>
Could you directly run r.object.geometry:<br>
<br>
r.object.geometry SegmW24IDM4DV4 output=test.csv<br>
<br>
and tell us what you get ?<br>
<br>
And what is your computational region (g.region -p) and the output of <a href="http://r.info" rel="noreferrer" target="_blank">r.info</a> SegmW24IDM4DV4 ?<br>
<br>
Moritz<br>
<br>
>Process ended with non-zero return code -1073741515. See<br>
>errors in the (error) output.<br>
><br>
>On Mon, Oct 8, 2018 at 10:06 AM Moritz Lennert<br>
><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>><br>
>wrote:<br>
><br>
>> On 04/10/18 17:06, Jamille Haarloo wrote:<br>
>> > i.segment.stats errors:<br>
>><br>
>> Please, whenever you report errors, also report the command line<br>
>used.<br>
>><br>
>> > ERROR: Error while executing: 'CREATE TABLE segmstat_tmp_vect_7968<br>
>(cat<br>
>> > int, area double precision, compact_circle double precision,<br>
>DV2_mean<br>
>> > double precision, DV2_stddev double precision, DV2_variance double<br>
>> > precision, DV2_coeff_var double precision, DV2_first_quart double<br>
>> > precision, DV2_median double precision, DV2_third_quart double<br>
>> > precision, DV2_perc_90 double precision, DV4_mean double precision,<br>
>> > DV4_stddev double precision, DV4_variance double precision,<br>
>> > DV4_coeff_var double precision, DV4_first_quart double precision,<br>
>> > DV4_median double precision, DV4_third_quart double precision,<br>
>> > DV4_perc_90 double precision, IDM2_mean double precision,<br>
>IDM2_stddev<br>
>> > double precision, IDM2_variance double precision, IDM2_coeff_var<br>
>double<br>
>> > precision, IDM2_first_quart double precision, IDM2_median double<br>
>> > precision, IDM2_third_quart double precision, IDM2_perc_90 double<br>
>> > precision, IDM4_mean double precision, IDM4_stddev double<br>
>precision,<br>
>> > IDM4_variance double precision, IDM4_coeff_var double precision,<br>
>> > IDM4_first_quart double precision, IDM4_median double precision,<br>
>> > IDM4_third_quart double precision, IDM4_perc_90 double precision,<br>
>> > W2_mean double precision, W2_stddev double precision, W2_variance<br>
>double<br>
>> > precision, W2_coeff_var double precision, W2_first_quart double<br>
>> > precision, W2_median double precision, W2_third_quart double<br>
>precision,<br>
>> > W2_perc_90 double precision, DV4_mean double precision, DV4_stddev<br>
>> > double precision, DV4_variance double precision, DV4_coeff_var<br>
>double<br>
>> > precision, DV4_first_quart double precision, DV4_median double<br>
>> > precision, DV4_third_quart double precision, DV4_perc_90 double<br>
>> > precision, neighbors_count double precision, area_nbrmean double<br>
>> > precision, area_nbrstddev double precision, compact_circle_nbrmean<br>
>> > double precision, compact_circle_nbrstddev double precision,<br>
>> > DV2_mean_nbrmean double precision, DV2_mean_nbrstddev double<br>
>precision,<br>
>> > DV2_stddev_nbrmean double precision, DV2_stddev_nbrstddev double<br>
>> > precision, DV2_variance_nbrmean double precision,<br>
>> > DV2_variance_nbrstddeGRASS_INFO_ERROR(7020,1):<br>
>><br>
>> The DV2 and DV4 maps seem to be there twice and so there are<br>
>duplicate<br>
>> column names, leading to a failure in the CREATE TABLE call.<br>
>><br>
>> In the call to i.segment.stats, did you maybe add these map names<br>
>twice<br>
>> to the 'rasters' parameter by accident ?<br>
>><br>
>> Moritz<br>
>><br>
>><br>
</blockquote></div>