[GRASS-user] m.viz.image Command Line

Martin Landa landa.martin at gmail.com
Tue Jan 17 10:29:30 EST 2012


Hi,

2012/1/17 Rich Shepard <rshepard at appl-ecosys.com>:
>> m.nviz.image elevation_map=aber5m,mompano_rast vline=streets,streams
>> vline_width=1,2 vline_color=black,blue vpoint=proj_pts vpoint_size=8
>> vpoint_color=red vpoint_marker=diamond zexag=2

> m.nviz.image elevation_map=aber5m,mompano_rast vline=streets,streams
> vline_width=1,2 vline_color=black,blue vpoint=proj_pts vpoint_size=8
> vpoint_color=red vpoint_marker=diamond zexag=2 output=foo
>
> ERROR: Inconsistent number of attributes (<elevation_map/elevation_value>
>       2: <mode> 1)
>
>  When I read the man page I had no idea what to use for elevation_value;
> still not certain that I do. But, based on Hamish's comment I think it's the
> same two raster maps ... Nope. That's not it.
>
>  How do I specify elevation_value?

you don't need to specify `elevation_value`. This parameter defines
constant plane surfaces (with fixed height). You need to specify other
surface-related parameters with given number of options. Eg.

m.nviz.image elevation_map=elevation,roadsmajor out=elev
mode=fine,fine resolution_fine=6,6 resolution_coarse=9,9
style=surface,surface shading=gouraud,gouraud
wire_color=136:136:136,136:136:136

This behaviour should be changed. If you do not define multiple values
for given parameters (like `wire_color`) then the module should use
default (single) value for all loaded surfaces.

Martin
-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-user mailing list