[GRASS-dev] d.nviz problem or question

Michael Barton michael.barton at asu.edu
Tue Aug 14 02:54:16 EDT 2007


I've pretty much finished a TclTk wrapper for d.nviz. Now I've encountered a
problem running it. In order to do this, I need to use TclTk to grab
coordinate points (x,y pairs) for the route that d.nviz will use. These
should go into the route= option. d.nviz is then run non-interactively to
generate the script for NVIZ.

However, when I try to run  d.nviz with coordinate points, rather than
running it interactively, I get the following errors. Note that this was run
with the Spearfish elevation.dem raster with the region set to the map. The
coordinate points ARE within the map region. I tried this with a much
smaller layback distance and had the same result.

GRASS 6.3.cvs (spearfish60_test):~ > d.nviz  input=elevation.dem at PERMANENT
output=fly2  name=NVIZ
route=594890.607477,4915842.85047,598114.766355,4920072.71028,601368.504673,
4922882.75701,604770.140187,4925397.00935  dist=2000  ht=1000  frames=100
start=0
WARNING: Skipping this point, selected point is outside region. Perhaps the
         camera setback distance puts it beyond the edge?
WARNING: Skipping this point, selected point is outside region. Perhaps the
         camera setback distance puts it beyond the edge?
WARNING: Skipping this point, selected point is outside region. Perhaps the
         camera setback distance puts it beyond the edge?
WARNING: Skipping this point, selected point is outside region. Perhaps the
         camera setback distance puts it beyond the edge?
WARNING: Skipping this point, selected point is outside region. Perhaps the
         camera setback distance puts it beyond the edge?
WARNING: Skipping this point, selected point is outside region. Perhaps the
         camera setback distance puts it beyond the edge?
d.nviz complete. Created NVIZ script <fly2.nvscr>.

The script produced does nothing because there are no coordinate points. If
I do this interactively in an xterm, it works fine with exactly the same
parameters.

Any suggestions?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070813/89be6bb9/attachment.html


More information about the grass-dev mailing list