[GRASS-dev] possible bug on r.mapcalc round() G7
Margherita Di Leo
dileomargherita at gmail.com
Fri Mar 15 13:01:50 PDT 2013
Thanks Markus,
On Fri, Mar 15, 2013 at 8:57 PM, Markus Metz
<markus.metz.giswork at gmail.com>wrote:
>
>
> try
>
> r.mapcalc "map.invscaled = round((1.0 - ((map - $min) / $range)) * 255.0)"
>
>
> This way :
Range of data: min = 0 max = 255
Still I don't understand. Maybe I'm just tired....
--
Best regards,
Margherita DI LEO
Postdoctoral Researcher
European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261
Tel. +39 0332 78 3600
margherita.di-leo at jrc.ec.europa.eu
Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130315/2865d244/attachment.html>
More information about the grass-dev
mailing list