[GRASSLIST:2135] Re: r.reclass: how to reclass only part of the
neteler at geog.uni-hannover.de
Fri Jul 20 08:01:10 EDT 2001
On Fri, Jul 20, 2001 at 12:19:04PM +0200, mlennert at club.worldonline.be wrote:
> I've downloaded some GLOBE DEM files, and I would like to use them in nviz.
> The problem is that some areas (such as the polders in Holland) have values
> around 65500, making it difficult to use the files in nviz due to the extreme
> differences in values. I would therefore like to reclass them in order to give
> them all a value of -1.
> Now r.reclass allows me to either use reclass rules, but then I would have to
> write a reclass rule for evey point between 0 and 9000 (the ones I want to
> keep the way they are) since if I don't do it, r.reclass will class them all
> as NULL. And if I use the r.reclass interface, I would have to do all the
> changes to -1 by hand.
> So my question: is there a reclass rule meaning something like 'leave 1 thru
> 9000 the way they are' ?
> Or: is there a way to tell nviz to not take into accont z values outside of a
> defined range ?
the value "65500" look as if the data are not correctly imported (see other
comment from Roger). Did you use
This module may fail as the GLOBE data eventually have a different
encoding since some weeks (not sure). If so, it would be great to
have r.in.globedem updated.
Maybe this is a hint,
More information about the grass-user