[GRASSLIST:3926] Re: 3D site file and NVIZ

Markus Neteler neteler at itc.it
Fri Jun 21 04:05:03 EDT 2002


Hi Paul,

please file a bug report in our bug tracking system.
http://grass.itc.it/index2.html
-> bug (in the menu)

thanks,

 Markus

On Thu, Jun 20, 2002 at 10:32:08AM +0200, Paul Hasenohr wrote:
> Hello,
> 
> I try to display a 3D site file within NVIZ and it doesn't work (nviz 
> crashes during startup).
> Here are the first ten lines of my 3D site file:
> 
> name|planeur
> desc|s.in.ascii sites=planeur input=/home/hasenohr/data/grass/planeur.txt 
> fs=tab
> 0:36:49.68E|43:06:25.74N|408|#1
> 0:36:49.259999E|43:06:25.980012N|408|#2
> 0:36:53.759999E|43:06:22.799988N|409|#3
> 0:36:55.199999E|43:06:23.280012N|409|#4
> 0:36:58.920001E|43:06:24.360012N|409|#5
> 0:37:05.400001E|43:06:26.039988N|409|#6
> 0:37:15.840001E|43:06:28.98N|413|#7
> 0:37:19.620001E|43:06:29.999988N|417|#8
> 
> And below is the error message I get.
> Is there a bug in nviz or is there a problem in the structure of my site file ?
> Can I convert this site file as a 3D vector file and display it in nviz for 
> grass5.0pre4 or grass5.1 ?
> 
> Thanks for your help.
> 
> Paul Hasenohr
> CLS
> 
> 
> Site dim: 3
> Sites file planeur at hasenohr loaded.
> Adding panels from 
> /home/hasenohr/data/grass/grass541/grass5/etc/nviz2.2/scripts
> Nv_(panels)
> toplevel made
> info widget made
> panel area made
> file menu made
> Help menu made
> disabled made
> Nv_mkPanelMenu 1
> Nv_mkPanelMenu 2 0
> Nv_mkPanelMenu 2 1
> Error in startup script: divide by zero
>      while executing
> "expr $val/floor($val/$res)"
>      (procedure "Nv_floatscaleCallback" line 79)
>      invoked from within
> "Nv_floatscaleCallback $S b 0 $cmd $curr"
>      (procedure "Nv_mkFloatScale" line 44)
>      invoked from within
> "Nv_mkFloatScale $tmp.sitesize h "site size" $longdim  0 $size change_site_size
> 2"
>      (procedure "mksitePanel" line 71)
>      invoked from within
> "mk$name\Panel $path"
>      (procedure "Nv_force_panel" line 10)
>      invoked from within
> "Nv_force_panel $i"
>      (procedure "Nv_mkPanelMenu" line 12)
>      invoked from within
> "Nv_mkPanelMenu $Nv_(AREA).menu.panel"
>      (procedure "Nv_makeGUI" line 77)
>      invoked from within
> "Nv_makeGUI .top"
>      (file 
> "/home/hasenohr/data/grass/grass541/grass5/etc/nviz2.2/scripts/nviz2.2
> _script" line 660)
> child process exited abnormally
>      while executing
> "exec /home/hasenohr/data/grass/grass541/grass5/etc/nviz2.2/NVWISH2.2 -f 
> /home/h
> asenohr/data/grass/grass541/grass5/etc/nviz2.2/scripts/nviz2.2_script -..."
>      ("eval" body line 1)
>      invoked from within
> "eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f 
> $env(GISBASE)/etc/nviz2.2/scri
> pts/nviz2.2_script -name NVIZ >&@stdout"
>      invoked from within
> "if {$argv == ""} {
> #no arguments
> eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f 
> $env(GISBASE)/etc/nviz2.2/scrip
> ts/nviz2.2_script -name NVIZ >&@stdo..."
>      (file "/home/hasenohr/data/grass/grass541/grass5/bin/nviz" line 16)
> 
> Mapset <hasenohr> in Location <planeur>
> GRASS-GRID >



More information about the grass-user mailing list