[GRASS-dev] [GRASS GIS] #2548: map display 3d view: error to display vector point

GRASS GIS trac at osgeo.org
Wed Jan 14 07:03:10 PST 2015


#2548: map display 3d view: error to display vector point
--------------------+-------------------------------------------------------
 Reporter:  hellik  |       Owner:  grass-dev@…              
     Type:  defect  |      Status:  new                      
 Priority:  major   |   Milestone:  7.0.0                    
Component:  wxGUI   |     Version:  svn-trunk                
 Keywords:          |    Platform:  MSWindows 7              
      Cpu:  x86-64  |  
--------------------+-------------------------------------------------------

Comment(by hellik):

 Replying to [comment:1 annakrat]:
 > I can't reproduce this on Ubuntu. Does this happen with fresh gui
 instance?

 now tested with the nc sample data set

 {{{
 Starte 3D-Ansichtsmodus...
 Lade Rasterkarte <elevation at PERMANENT>...
 Lade Rasterkarte <elevation at PERMANENT>...
 Übersetze Farben der Rasterkarte <elevation at PERMANENT>...
 Vektorkarte <firestations at PERMANENT> geladen (15 Punkte).
 Wechsle zu 2D-Ansicht zurück...
 Rasterkarte <elevation at PERMANENT> erfolgreich entfernt
 Vektorkarte <firestations at PERMANENT> (points) erfolgreich entfernt
 Starte 3D-Ansichtsmodus...
 Traceback (most recent call last):
   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\nvi
 z\tools.py", line 2787, in OnSetRaster

 self.UpdateSurfacePage(layer, data, updateName = False)
   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\nvi
 z\tools.py", line 4736, in UpdateSurfacePage

 self.OnSurfaceAxis(None)
   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\nvi
 z\tools.py", line 3286, in OnSurfaceAxis

 id = data['surface']['object']['id']
 KeyError
 :
 'object'
 Lade Rasterkarte <elevation at PERMANENT>...
 Lade Rasterkarte <elevation at PERMANENT>...
 Übersetze Farben der Rasterkarte <elevation at PERMANENT>...
 Vektorkarte <overpasses at PERMANENT> geladen (117 Punkte).
 }}}

 to reproduce in nc sample data set:

 {{{
 - load elevation
 - load firestation
 - switch to 3d view
 - switch back to 2d view
 - remove firestation from map display
 - add overpasses vector to map display
 - switch to 3d view
 }}}

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



More information about the grass-dev mailing list