#3426: Impossible to not compute shape statistics with i.segment.stats
---------------------+-------------------------
Reporter: tgrippa | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Addons | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Linux |
---------------------+-------------------------
Hi,
It seems it is impossible to avoid computation of shape statistics using
i.segment.stats.
When unticking all 'area measurements' in the GUI or when not sepcifying
the 'area_measures' parameter in command line, the standards shape
statistics are anyway computed.
#3426: Impossible to not compute shape statistics with i.segment.stats
--------------------------+-------------------------
Reporter: tgrippa | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Addons | Version: unspecified
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Comment (by mlennert):
Replying to [ticket:3426 tgrippa]:
> Hi,
>
> It seems it is impossible to avoid computation of shape statistics using
i.segment.stats.
>
> When unticking all 'area measurements' in the GUI or when not sepcifying
the 'area_measures' parameter in command line, the standards shape
statistics are anyway computed.
>
The same is true for the raster measures. In the command line you can use
raster_statistics= and/or area_measures= (i.e. no measures after the '=')
to avoid calculation of the measures, but this is not possible in the GUI,
AFAICT. I don't know if there is a possibility to provide default answers
to a non-required parameter and allow to leave it empty in the GUI. The
easiest solution would be to not provide any default answers.
If someone has another idea, I would love to hear it.
#3426: Impossible to not compute shape statistics with i.segment.stats
--------------------------+-------------------------
Reporter: tgrippa | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Addons | Version: unspecified
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Comment (by mlennert):
Replying to [comment:2 tgrippa]:
> Ok the solution with command line will make the deal for me since I'm
not using a lot the GUI.
A generic solution that works everywhere would be nice. One possibility is
a flag for "no shape statistics" (for raster statistics none are
calculated if you do not provide a raster input map), but I want to avoid
parameter/flag inflation if possible