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

Luisa Peña luisapena1979 at gmail.com
Thu Apr 15 04:58:48 EDT 2010


Regarding this question I decided to delete, using g.remove, all lists that
I have created. And I was sucesseful but, anytime I open, using wxpython
menu, i.group, the following is displayed in 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'
Invalid element 'gr07 at landsat@landsat'
Invalid element 'gr08 at landsat@landsat'
But, these groups are no longer Available...

Any tips? or maybe some Module/library that I'm missing?
Luisa

2010/4/14 Luisa Peña <luisapena1979 at gmail.com>

> I have re-downloaded NC_spm_08 from GRASS website and the already available
> group,  lsat7_2000 at landsat doesn't display sub-group in i.cluster or other
> functions..
> Nevertheless, I tried what Markus said:
> i.group group=t02 subgroup=sub input=lsat5_1987_10,lsat5_1987_20 (altough
> this is not performed by GUI but by me on the command output)
> Adding raster map <lsat5_1987_10 at landsat> to group
> Adding raster map <lsat5_1987_20 at landsat> to group
> Adding raster map <lsat5_1987_10 at landsat> to subgroup
> Adding raster map <lsat5_1987_20 at landsat> to subgroup
> i.group complete.
>
> And then at i.cluster when I select t02, in subgroup there is no sub-group
> only "NOT SELECTABLE ELEMENT".
>
> What am I missing/or might be wrong?
> Luisa
>
> 2010/4/14 Markus Neteler <neteler at osgeo.org>
>
>> On Wed, Apr 14, 2010 at 7:41 PM, Luisa Peña <luisapena1979 at gmail.com>
>> wrote:
>> > 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
>>
>> Do you really need all @landsat indications?
>>
>> > 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?
>>
>> I dunno but perhaps the @landsat isn't properly stripped off in some
>> cases.
>> Could you retry to make the group etc in the landsat mapset itself in
>> order to understand if @landsat makes the difference?
>>
>> Markus
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100415/41732ec0/attachment.html


More information about the grass-user mailing list