[GRASS-dev] i.segment: invalid region id 0

Nikos Alexandris nik at nikosalexandris.net
Tue Jul 16 04:21:49 PDT 2013


Moritz Lennert wrote:

> > [..]
> >>  > time i.segment -w group=pan_r_ir out=seg_weighted_pan_r_ir
> >> threshold=0.01 memory=8192
> >> Loading input bands...
> >> Pass 1:
> >> ERROR: Invalid region id 0
> > [..]
> >> What could be the problem ?

Nikos Alexandris:

> > the same error today while performing a "random" test. Disk capacity and
> > RAM plenty here.

> > time i.segment group=pan out=pan_segmented_plantations_area_threshold_1
> > threshold=0.99

Markus Metz:

> In most cases, this threshold is too large. It should be between 0 and
> 1, and rather close to zero.

Testing up to the limits here... :-)

> > Pass 13:
> > ERROR: Invalid region id 0

> > real    40m44.339s
> > user    37m34.357s
> > sys     0m0.380s

> > Details

> > projection: 1 (UTM)
> > zone:       38
> > datum:      wgs84
> > ellipsoid:  wgs84
> > north:      -2571782.5
> > south:      -2574924.5
> > west:       359153.5
> > east:       359525
> > nsres:      0.5
> > ewres:      0.5
> > rows:       6284
> > cols:       743
> > cells:      4669012

This region is used for all test I am doing (posted earlier).

> > Let me know how I can help.

> Can you make the dataset available (off-list if need be)? I can not
> reproduce this error with the datasets I have.

I think not -- will ask though.

Nikos


More information about the grass-dev mailing list