[GRASS-user] Use of r.mode
Micha Silver
micha at arava.co.il
Tue Oct 19 09:14:57 EDT 2010
Monica Buescu wrote:
> Greetings
>
> This new topic is related with
>
>
> I need to calculate mode for a base map that is composed by float values.
> r.mode base=base at PERMANENT cover=11073_B at PERMANENT output=saida
>
>
> And I get:
> ERROR: reading r.stats output
> ERROR: No rules specified
>
> This means that I'm not being able to apply this function just because
> my base map is a Float. Any ideas of how to fix this?
How about r.mapcalc base_integer=int(base) ?
The base map should be integer (category ) values, where the mode is
calculated for all cells with the same cat value, so it indeed should be
an integer raster.
>
> Thanks
> Monica
>
> This mail was received via Mail-SeCure System.
> ------------------------------------------------------------------------
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
>
More information about the grass-user
mailing list