[GRASS-dev] Re: [GRASS GIS] #128: NVIZ fails to load vector points without other map

GRASS GIS trac at osgeo.org
Thu Apr 17 16:49:49 EDT 2008


#128: NVIZ fails to load vector points without other map
----------------------+-----------------------------------------------------
  Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-trunk                
Resolution:           |    Keywords:  nviz                     
----------------------+-----------------------------------------------------
Comment (by hamish):

 In scripts/main_panel.tcl just use puts to see what those variables are:
   puts "$foo"

 And the same with printf() in src/exag.c.

 > but you can easily replicate it with Spearfish

 ('g.region' -d first)
 for me, nviz loads that ok. But I don't see any points, just a horizontal
 line when I move the puck: zegag is "-0.0". If I change it to 1.0 I get:

 {{{
 divide by zero
 divide by zero
     while executing
 "expr $val/floor($val/$res)"
     (procedure "Nv_floatscaleCallback" line 49)
     invoked from within
 "Nv_floatscaleCallback .middle.panelarea.panels.main.midf.zexag e 0
 update_exag"
     ("uplevel" body line 2)
     invoked from within
 "uplevel \#0 $cmd"
     (procedure "Entry::invoke" line 3)
     invoked from within
 "Entry::invoke .middle.panelarea.panels.main.midf.zexag.f.entry"
     (command bound to event)
 }}}


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/128#comment:9>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list