[GRASS-dev] i.segment fails

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
build_date=2013-03-07

Thank you very much in advance!

Best regards,

Javier

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

Hi Javier

There was a long discussion on that issue this summer. Please have a look at:
http://osgeo-org.1560.x6.nabble.com/i-segment-invalid-region-id-0-td5066102.html

Cheers
Stefan

-----Original Message-----
From: grass-dev-bounces@lists.osgeo.org [mailto:grass-dev-bounces@lists.osgeo.org] On Behalf Of Javier Martínez-López
Sent: 10. oktober 2013 14:22
To: grass-dev@lists.osgeo.org
Subject: [GRASS-dev] i.segment fails

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
build_date=2013-03-07

Thank you very much in advance!

Best regards,

Javier
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

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

Thank you very much. I will update the version and try again! Cheers, Javier

On Thu, Oct 10, 2013 at 11:06 PM, Markus Metz
<markus.metz.giswork@gmail.com> wrote:

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