[GRASS-dev] [GRASS GIS] #2699: g.gui.iclass doesn't run after selecting training areas
GRASS GIS
trac at osgeo.org
Fri Jun 19 05:21:12 PDT 2015
#2699: g.gui.iclass doesn't run after selecting training areas
-------------------------+--------------------------
Reporter: ThayseNery | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.0.1
Component: wxGUI | Version: 7.0.0
Resolution: | Keywords: g.gui.iclass
CPU: x86-64 | Platform: MSWindows 7
-------------------------+--------------------------
Comment (by ThayseNery):
Additional information, the image is landsat 8 OIL and the bands were
convert from DNs to ToA Reflectance.
The second error was fixed but I still got the first error when I select
the imagery subgroup.
Now I am able to run the model but the '''histogram shape''' does not
follow the bell curve. According to the tutorial it should
https://www.youtube.com/watch?v=FyzfdlkTNRg.
[[Image(histogram2.jpg) attached]]
Additionally, I don't see difference between the classes in the preview
classification, when I select "agriculture" for example, in the preview
shows that it takes the whole area, if I select "vegetation" it shows that
this represents the whole area as well. I have selected 10 training areas
for each class.
Although the histogram doesn't look ideal, I was able to export the
training areas to a vector map but I cannot import the vector into
g.gui.iclass to rerun the analysis. I got the following error:
Traceback (most recent call last): File "C:\Program Files (x86)\GRASS GIS
7.0.0\gui\wxpython\iclass\frame.py", line 537, in OnImportAreas
self.ImportAreas(vName) File "C:\Program Files (x86)\GRASS GIS
7.0.0\gui\wxpython\iclass\frame.py", line 594, in ImportAreas
self.poMapInfo = digitClass.OpenMap(vname, tmp = True) File "C:\Program
Files (x86)\GRASS GIS 7.0.0\gui\wxpython\vdigit\wxdigit.py", line 1649, in
OpenMap self.poMapInfo = self._display.OpenMap(str(name), str(mapset),
update, tmp) File "C:\Program Files (x86)\GRASS GIS
7.0.0\gui\wxpython\vdigit\wxdisplay.py", line 962, in OpenMap
Vect_set_updated(self.poMapInfo, True) # track updated lines at update
mode WindowsError: exception: access violation reading 0x000002E4
I can see the vectors in the display. I opened the vector table of
contents and I can see all categories, but the columns are empty and it is
not specified how many training sample are within each class. It might be
related to my histogram explained above [[Image(table_classes.PNG)
attached]]
Any suggestions on how I might fix it?
Thanks for any help.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2699#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list