[GRASS-dev] [GRASS GIS] #2476: vector digitizer crashing with _breakLineAtIntersection

GRASS GIS trac at osgeo.org
Thu Nov 27 01:54:27 PST 2014


#2476: vector digitizer crashing with _breakLineAtIntersection
-------------------------+--------------------------------------------------
 Reporter:  annakrat     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  svn-trunk                
 Keywords:  vdigit       |    Platform:  Linux                    
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Replying to [comment:3 annakrat]:
 > Replying to [comment:2 mmetz]:
 > > Replying to [comment:1 mmetz]:
 > > > You would need to get areas on each side before breaking the line,
 but the vector lib might only be able to build areas after the new line
 was broken. I would suggest to break the line only after trying to attach
 centroids.
 > >
 > > Fixed in r63077.
 >
 > Thanks, it's not crashing any more. But when I draw a line over an area,
 so that it breaks, I get [another] error.
 >
 >
 > It seems to be related to the fix, list 'fids' is empty, but I couldn't
 see what's wrong.

 I fixed it in r63178, list 'fids' is no longer empty but can contain
 invalid line ids.

 I can not close g.gui.vdigit because
 [https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/core/giface.py#L193
 GetProgress()] is not implemented, but the vector is properly created.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2476#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list