Hi Mich Thanks for the reply. I think it has worked but everytime I try to open, my winGRASS goes "bananas". Just to sum what I have done 1- Import a xyz ASCII file that is a float with a range of [166297.00 - 20855944.0] (not all values are used) and Rows: 4655 ;Columns: 4520 . 2- I did r.mapcalc int() to this file that gets the range of [166297 20855944]. QUESTION: can I apply int to a FLoat with values as big as this? 3- I did r.mode base=int_base coverage= 1107...@permanent (it's a high-resolution image) output=output1
Ok it runs (it takes some time as expected) Thern if I try to display it freezes... Even If I just try r.info output1 it also freezes. Any thoughts aboutt this? (Thanks Micha) On Tue, Oct 19, 2010 at 2:14 PM, Micha Silver <[email protected]> wrote: > 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=b...@permanent cover=1107...@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 >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/grass-user >> >> This mail was received via Mail-SeCure System. >> >> >> >> > >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
