[GRASS-user] i.segment and i.segment.stats errors

Jamille Haarloo j.r.haarloo at gmail.com
Wed Oct 17 06:39:56 PDT 2018


Alright. Just tried, but got an old error back again. Also when
reinstalling r.object.geometry got 'ERROR: File is not a zip file'

i.segment.stats -n map=SegW24IDM4DV4 at LUP1 rasters=DV2 at LUP1,DV4 at LUP1
,IDM2 at LUP1,IDM4 at LUP1,W2 at LUP1,W4 at LUP1
raster_statistics=variance,coeff_var,first_quart,median,third_quart,perc_90
area_measures=compact_circle csvfile=Z:\nStats_SegW24IDM4DV4_17okt18
vectormap=nvSegW24IDM4DV4 processes=4
Calculating geometry statistics...
Traceback (most recent call last):
  File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
pts/i.segment.stats.py", line 371, in <module>
    main()
  File "C:\Users\haarlooj\AppData\Roaming\GRASS7\addons/scri
pts/i.segment.stats.py", line 220, in main
    quiet=True)
  File "C:\PROGRA~1\QGIS21~1.0\apps\grass\grass-7.0.4\etc\py
thon\grass\script\core.py", line 395, in run_command
    return handle_errors(returncode, returncode, args,
kwargs)
  File "C:\PROGRA~1\QGIS21~1.0\apps\grass\grass-7.0.4\etc\py
thon\grass\script\core.py", line 313, in handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
['r.object.geometry', '--o', '--q',
'output=Z:\\GRASS_GIS/Cottica_LUP/LUP1/.tmp/unknown/7508.0',
'input=SegW24IDM4DV4 at LUP1'] ended with error
Process ended with non-zero return code -1073741515. See
errors in the (error) output.
(Wed Oct 17 10:33:05 2018) Command finished (0 sec)

g.extension r.object.geometry

WARNING: Extension <r.object.geometry> already installed. Re-installing...
Downloading precompiled GRASS Addons <r.object.geometry>...
ERROR: File is not a zip file:
http://wingrass.fsv.cvut.cz/grass70/x86_64/addons/grass-7.0.4/r.object.geometry.zip
(Wed Oct 17 10:32:54 2018) Command finished (1 sec)

On Wed, Oct 17, 2018 at 4:38 AM Moritz Lennert <mlennert at club.worldonline.be>
wrote:

> On 16/10/18 22:20, Jamille Haarloo wrote:
> > The csv looks ok, but quite extensive and heavy.
>
> Yes, but when dealing with large areas, not going through the vector
> fomat actually speeds up the process. You can feed this csv into
> v.class.mlR directly.
>
> > I reinstalled again and tried with less variables, without the
> > coefficient of variation and without neighborhood statistics. This time
> > without error.
>
> Great. I see that the i.segment.stats now has been updated on the addons
> server, so it would be great if you could try again with the
> neighborhood statistics.
>
> Moritz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20181017/3cc7a9a3/attachment.html>


More information about the grass-user mailing list