Franz,
Currently, the wxPython digitizer and integrated wxPython 3D display does not work in Windows due to issues in compiling the C++ code, swig.python, and python in a windows environment. Volunteers are needed to help the development team solve these issues.
Alternatively you can use the digitizer and 3D module NVIZ in TclTk from Windows. I'm not sure about launching the TclTk digitizer, but to launch NVIZ, you must do it from the msys command line due to a problem running scripts in Windows. To start it, you simply need to type...
nviz elevation=map[,map,map,...] [color=map[,map,map,...]]
where "map" is a raster map that you want to visualize and optionally use for coloring the visualization.
Here is the full syntax
nviz [-qkxv] [elevation=name[,name,...]] [color=string[,string,...]]
[vector=string[,string,...]] [points=string[,string,...]]
[volume=string[,string,...]] [path=string] [script=string]
[state=string] [--verbose] [--quiet]
Flags:
-q Quickstart - Do not load any data
-k Exit after completing script launched from the command line
-x Start in Demo mode (skip the "please wait" message)
-v Verbose module output
--v Verbose module output
--q Quiet module output
Parameters:
elevation Name of raster map(s) for Elevation
color Name of raster map(s) for Color
vector Name of vector lines/areas overlay map(s)
points Name of vector points overlay file(s)
volume Name of existing 3d raster map
path Set alternative panel path
script Execute script file at startup
state Load previously saved state file
You can also type...
nviz -q
to launch it and then add maps once it is open.
I think that the nviz launch and related script running issue is relatively easy to solve, but needs some people who know windows to work on it.
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Phone: 480-965-6262
Fax: 480-965-7671
www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu
On Dec 2, 2009, at 9:34 AM, grass-user-request@lists.osgeo.org wrote:
Date: Wed, 2 Dec 2009 15:45:52 +0000
From: Franz Schiller <franzschiller1975@gmail.com>
Subject: [GRASS-user] NVIZ use in wxpython GRASS6.4
To: grass-user@lists.osgeo.org
Message-ID:
<a75b68d60912020745l55569a39l6648a00bbfba89b6@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"Good evening everyone
Maybe this sound like a (another!) newbie question but when I try to
visualize data in 3D, in wxpython Map Display, I get a window saying:
- Unable to switch to 3D display mode
- The NVIZ python extension was not found or loaded properly.
- Switching back to 2d display mode.
Details: No module named grass6_wxnvizBut at File/NVIZ (requires tcl/tk) a menu is opened requesting elevation,
raster colors, points and vectors and when I run the following is displayed
in output command window:nviz elevation=elevation_shade@PERMANENT,elevation@PERMANENT
(Wed Dec 02 15:04:49 2009) Command terminated (0 sec)
But nothing happened...
Question: Since it says that it requires tcl/tk shouldn't it open a tcl/tk
window? Or am I wrong?Thank you very much in advance
Best regards,Franz Shciller