[GRASS-dev] i.segment fails

Markus Metz markus.metz.giswork at gmail.com
Thu Oct 10 14:06:20 PDT 2013


Javier Martínez-López wrote:
> Dear list,
>
> I am trying to run the i.segment function but I always get the same
> error during the first pass: 'invalid region id 0'. What does it mean?
> can it be solved? I have read some e-mails about this problem but have
> found no solution yet. Trying with different thresholds or changing
> the memory limit does not work.
>
> My output:
>
> GRASS 7.0.svn (global_MW):/home/user/HRI/Variables > time i.segment
> gr=segm out=virunga_segm_0.5 thre=0.5 mins=15 memory=50000
> Pass 1:
> ERROR: Invalid region id 0
>
> real    0m2.364s
> user    0m2.264s
> sys    0m0.094s
>
> #
>
> version=7.0.svn
> date=2013
> revision=55075

i.segment was last changed in r57267, which should also fix the error
observed by you. Please update to r57267 or higher and try again.
i.segment should now finish successfully. If not, please let us know
and if possible provide test data and relevant settings.

Markus M


More information about the grass-dev mailing list