[GRASS-dev] [GRASS GIS] #2439: g.gui.iclass crashes

GRASS GIS trac at osgeo.org
Fri Oct 24 01:22:35 PDT 2014


#2439: g.gui.iclass crashes
---------------------------------------------------+------------------------
 Reporter:  madi                                   |       Owner:  grass-dev@…              
     Type:  defect                                 |      Status:  new                      
 Priority:  normal                                 |   Milestone:  7.1.0                    
Component:  wxGUI                                  |     Version:  svn-trunk                
 Keywords:  g.gui.iclass, classification, imagery  |    Platform:  Linux                    
      Cpu:  x86-64                                 |  
---------------------------------------------------+------------------------

Comment(by mlennert):

 Replying to [comment:6 neteler]:
 > I just tried on Fedora 20, G7.trunk, r62247, confirmed.
 >
 > The issue occurs when snapping is applied to close a boundary. To
 replicate:
 >
 > {{{
 > # NC location
 > g.region rast=elev_state_500m -p
 > g.gisenv set=DEBUG=3
 > g.gui.iclass
 > }}}
 >
 >  * load raster map 'elev_state_500m at PERMANENT' into upper display
 >  * create a class (default settings are fine)
 >  * digitize some new area with the left-most digitizer tool
 >  * do several, let enough space to a have large snapping area
 >  * let one cut another (overlap)
 >  * ZAP

 I can confirm this in g.gui.vdigit as well, even without letting one area
 cut another. It is enough that the newly digitized area is within snapping
 distance of the other. This is easiest to see when you use a fairly high
 distance (working on the landsat images in the NC example data I used
 1000m). The debug messages are similar to Markus'.

 As g.gui.vdigit is a python script I don't know how to debug this with gdb
 (I get "No executable file specified"). Any hints ?

 Moritz

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2439#comment:8>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list