Thanks Markus,

On Fri, Mar 15, 2013 at 8:57 PM, Markus Metz
<[email protected]>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
[email protected]

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.
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to