Fwd: Re: [GRASS-dev] VTK export for lat-long locations
Hamish
hamish_nospam at yahoo.com
Tue Mar 6 19:56:39 EST 2007
Soeren Gebbert wrote:
> > the units of z are map dependent and not knowable by the system.
> >
> > for NVIZ + lat/lon, in the past I have used r.mapcalc to make a new
> > map, [I've got a feeling this is no longer needed??]
> >
> > e.g. for a lat/lon map with z in meters:
> >
> > r.mapcalc "scaled_map = (map / 1850.0*60)"
> >
> > so x,y,z are all in degrees.
>
> In this case
> r.out.vtk input=ll_map output=ll_map.vtk elevscale=0.000009009
> will do the job. :)
sorry, minor typo above, there is 1852m to the nautical mile, not 1850.
elevscale=0.000009
and for feet: ( 1/(6076.1[2]*60) )
elevscale=0.000002742
Hamish
More information about the grass-dev
mailing list