[GRASS-dev] i.segment fails

Moritz Lennert mlennert at club.worldonline.be
Thu Oct 10 12:33:35 PDT 2013


On 10/10/13 14:22, 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
>
> #

Could you give more info on your data and region settings ?

>
> version=7.0.svn
> date=2013
> revision=55075
> build_date=2013-03-07

A lot of the bug fixing on these issues by Markus happened during this 
summer, so please try with a more recent version.

Moritz


More information about the grass-dev mailing list