Hi all
i am getting an error when i run the i.gensigset on the training map i created and the trainig map is blank after i perform vector to raster.
this is what i typed and the result:
GRASS 6.4.0RC5 (sis):~/Desktop > i.gensigset trainingmap=traingis group=sislabgp subgroup=sislabsub signaturefile=sislab.sig
Finding training classes…
100%
ERROR: Training map has no classesdoes snyone have any clue why i don’t have classes in my training map?
what should i do. thanks
Nathaniel Iwuchukwu:
i am getting an error when i run the i.gensigset on
the training map i created and the trainig map is
blank after i perform vector to raster.
this is what i typed and the result:
GRASS 6.4.0RC5 (sis):~/Desktop > i.gensigset
trainingmap=traingis group=sislabgp subgroup=sislabsub
signaturefile=sislab.sig
Finding training classes...
100%
ERROR: Training map has no classes
does snyone have any clue why i don't have classes in
my training map?
what should i do. thanks
Some pointers:
- check the training map again (it's a raster, right?)
- what does "r.cats traingis" say?
- check that the raster maps for which you want to create signatures, do
not contain NULL-pixels at your defined training areas ( I remember
having a problem with this).
- check that your defined areas in the training map are not too small
(e.g. they should be >17pix)
Nikos
Hello,
I did my training map with another software than GRASS and imported it in
GRASS to get the signatures of these areas of interest.
I used r.reclass to ensure that my classes aren't getting lost.
When I run r.category, I obtain my classes with the respective description:
r.category aoi_rasclas2
0 NULL
1 green field
2 dark field
3 vegetation
4 street
But I'm still getting this Error when I run i.gensigset:
i.gensigset trainingmap=aoi_rasclas2 group=regio_gp subgroup=regio_sub
signaturefile=regio_sig maxsig=5
Finding training classes...
ERROR: Training map has no classes
I checked all that Nikos already said and it still doesn't work
Do you have any idea to help me?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Training-map-error-missing-classes-tp4831799p5984258.html
Sent from the Grass - Users mailing list archive at Nabble.com.