[GRASS-dev] i.segment fails

2013-10-10 Thread Javier Martínez-López
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=5
Pass 1:
ERROR: Invalid region id 0

real0m2.364s
user0m2.264s
sys0m0.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


Re: [GRASS-dev] i.segment fails

2013-10-10 Thread Moritz Lennert

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=5
Pass 1:
ERROR: Invalid region id 0

real0m2.364s
user0m2.264s
sys0m0.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
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] i.segment fails

2013-10-10 Thread Markus Metz
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=5
 Pass 1:
 ERROR: Invalid region id 0

 real0m2.364s
 user0m2.264s
 sys0m0.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
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] i.segment fails

2013-10-10 Thread Javier Martínez-López
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.gisw...@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=5
 Pass 1:
 ERROR: Invalid region id 0

 real0m2.364s
 user0m2.264s
 sys0m0.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
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev