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

Markus Metz markus.metz.giswork at gmail.com
Tue Jul 16 01:49:15 PDT 2013


On Mon, Jul 15, 2013 at 11:09 PM, Nikos Alexandris
<nik at nikosalexandris.net> wrote:
> 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 ?
>
> Moritz, Markus,
>
> 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

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

>
[...]
> 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
>
> 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.

Markus M


More information about the grass-dev mailing list