[GRASS-user] Error with sub-group while using i.gensigset

Luisa Peña luisapena1979 at gmail.com
Wed Apr 14 13:41:14 EDT 2010


Greetings
I'm freely following this tutorial (
http://grass.osgeo.org/wiki/Image_classification) and I'm getting a odd
error.
I'm sending this command:
i.gensigset trainingmap=a at landsat group=gr06 at landsat subgroup=sub
signaturefile=sig maxsig=5

and I get this:
Finding training classes...
5 classes found
Reading raster maps...
Clustering class 1 (1753 pixels)...
Number of subclasses is 5
Clustering class 2 (2810 pixels)...
Number of subclasses is 5
Clustering class 3 (2772 pixels)...
Number of subclasses is 5
Clustering class 4 (2177 pixels)...
Number of subclasses is 5
Clustering class 5 (6060 pixels)...
Number of subclasses is 5
unable to create signature file sig for subgroup sub of group gr06 at landsat
ERROR: Unable to create signature file <sig>

I think it might have somethibg to do with i.group because everytime I open
i.group the followiong is printed to the Command output:
Invalid element 'gr03 at landsat@landsat'
Invalid element 'gr04 at landsat@landsat'
Invalid element 'gr05 at landsat@landsat'
Invalid element 'gr06 at landsat@landsat'
All these are groups that I have made

If I do  group -l group=gr06 at landsat
I get:

group <gr06> references the following raster maps
-------------
<lsat7_2000_10 at landsat>    <lsat7_2000_20 at landsat>
<lsat7_2000_30 at landsat>    <lsat7_2000_40 at landsat>
<lsat7_2000_50 at landsat>
-------------
i.group complete.

What might be wrong?
Thanks
Luisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100414/b932ee8a/attachment.html


More information about the grass-user mailing list