Does r.reclass have fp support? With me it reads fp numbers, but then rounds them to ints.
Looks like I will have to spend some more hard disk space using mapcalc
Gualter
Does r.reclass have fp support? With me it reads fp numbers, but then rounds them to ints.
Looks like I will have to spend some more hard disk space using mapcalc
Gualter
On Wed, Feb 27, 2002 at 03:10:32AM +0000, Gualter Barbas Baptista wrote:
Does r.reclass have fp support? With me it reads fp numbers, but then
rounds them to ints.
Looks like I will have to spend some more hard disk space using mapcalc
Hi Gualter,
r.reclass is doing a reclassification of data. The resulting classes
are integer by definition as a class is generally a whole number.
Probably you have a different application in mind?
Markus
(cc grass5)
On Wed, Feb 27, 2002 at 12:26:01PM +0000, Gualter Barbas Baptista wrote:
Markus Neteler wrote:
>Hi Gualter,
>
>r.reclass is doing a reclassification of data. The resulting classes
>are integer by definition as a class is generally a whole number.
>
>Probably you have a different application in mind?
>
Yes. I made a relative index ranging from 0 to 1, but I have some
numbers above 1 (outliers). The idea was to reclass all the numbers
above 1 to -1, leaving the others the same. If I run d.reclass it will
reclass all my pixels to -1, 0 or 1.
I managed to do the same with r.mapcalc, but this takes much more time,
hard disk and CPU. Also, I could just multiply by 100, but then this
wouldn't be so nice to show.
Have a look at r.recode. That allows you to change
a range of data to something different.
Hope this helps,
Markus