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

GRASS GIS trac at osgeo.org
Wed Apr 16 17:14:15 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                
 Keywords:  tcl      |  
---------------------+------------------------------------------------------
 I hoped to load a 2D or a 3D points map into NVIZ (Lidar points). But it
 crashes:

 {{{
 v.info -t lidar1map3d
 nodes=37997
 points=38008
 lines=0
 boundaries=0
 centroids=0
 areas=0
 islands=0
 faces=0
 kernels=0
 primitives=38008
 map3d=1

 v.out.ascii lidar1map3d |head -3
 512743.63|5403547.33|308.68|1
 512743.62|5403547.33|308.7|2
 512743.61|5403547.33|308.72|3

 nviz point=lidar1map3d
 WARNING: Adapted sites library used for vector points (module should be
          updated to GRASS 6 vector library).
 Site dim: 3
 Sites file lidar1map3d loaded.
 Error in startup script: can't use non-numeric floating-point value as
 operand of "*"
     while executing
 "expr int($curr * 1)"
     (procedure "Nv_mkFloatScale" line 16)
     invoked from within
 "Nv_mkFloatScale $Nv_(HEIGHT_SLIDER) v height $max $min $val update_height
 1"
     (procedure "mk_hgt_slider" line 12)
     invoked from within
 "mk_hgt_slider $BASE.midf"
     (procedure "mkmainPanel" line 143)
     invoked from within
 "mk$name\Panel $path"
     invoked from within
 "if [catch {set Nv_($path)}] {
         set file panel_$name.tcl
         set Nv_($path) [mk$name\Panel $path]
         }"
     (procedure "Nv_force_panel" line 8)
     invoked from within
 "Nv_force_panel main"
     (procedure "Nv_makeGUI" line 183)
     invoked from within
 "Nv_makeGUI .top"
     (file "/home/neteler/grass63/dist.x86_64-unknown-linux-
 gnu/etc/nviz2.2/scripts/nviz2.2_script" line 1046)
 }}}

 Markus

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


More information about the grass-dev mailing list