[GRASS5] strange r.mapcalc results
Glynn Clements
glynn.clements at virgin.net
Wed Feb 13 15:19:45 EST 2002
Markus Neteler wrote:
> so far, so nice. Now I want to "normalize" the DEM to zero elevation
> (-1200m) and substract 5 meters more (excavation for a big building).
> elevation.dem is an INT map. See the very different results wether I
> calculate FP or INT:
>
> r.mapcalc elevmod="elevation.dem - 1120 - 5"
> EXECUTING elevmod = ... 100%
> CREATING SUPPORT FILES FOR elevmod
> range: -5 14
>
> r.mapcalc elevmod="elevation.dem - 1120.0 - 5.0"
> EXECUTING elevmod = ... 100%
> CREATING SUPPORT FILES FOR elevmod
> range: -3 14
>
> The 2 meters difference looks quite much to me.
> Comments are welcome,
I don't see this behaviour; I get "-5 14" in both cases.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list