[GRASS-user] Re: Command to summarize the frequency distribution
	table
    SGW00412 at nifty.com 
    SGW00412 at nifty.com
       
    Tue Dec  9 09:43:33 EST 2008
    
    
  
Dear Moritz and all
> r.stats or r.report
Thank you for profitable advice. 
When this command was used, the table is output as follows:. 
|---------------------------------------------------|
|         Category Information           |  square  |
|  #|description                         |kilometers|
|---------------------------------------------------|
|  1| . . . . . . . . . . . . . . . . . .|     37.30|
|  2| . . . . . . . . . . . . . . . . . .|      5.89|
|  3| . . . . . . . . . . . . . . . . . .|      5.89|
|  4| . . . . . . . . . . . . . . . . . .|      7.85|
I want to obtain the frequency distribution table into which the class was 
divided. 
> > -------------------------------
> > height        number of cells
> > -------------------------------
> > 0  -  10 m       100
> > 11 -  20 m       200
> > 21 -  30 m        50
> > ........         xxx
> > ------------------------------
Do I have to divide the class by using this output result?
Or, is there another command or parameter of the class division?
Regards, Yasuo shimada
--------
> Message: 1
> Date: Sun, 07 Dec 2008 22:29:54 +0100
> From: Moritz Lennert <mlennert at club.worldonline.be>
> Subject: Re: [GRASS-user] Command to summarize the frequency
>   distribution table
> To: shimada at jwa.or.jp
> Cc: grass-user at lists.osgeo.org
> Message-ID: <493C4052.50407 at club.worldonline.be>
> Content-Type: text/plain; charset=ISO-2022-JP
> 
> On 07/12/08 13:45, SGW00412 at nifty.com wrote:
> > Dear all
> > 
> > I'm a beginner grass user.
> > 
> > I made the raster map of altitude from GTOP30.
> > 
> > So, I want to obtain a frequency distribution table in the altitude.
> > 
> > For instance:
> > 
> > -------------------------------
> > height calls  number of cells
> > -------------------------------
> > 0  -  10 m       100
> > 11 -  20 m       200
> > 21 -  30 m        50
> > ........         xxx
> > ------------------------------
> > 
> > But I do not understand what kind of commands to use. 
> 
> r.stats or r.report
> 
> Moritz
    
    
More information about the grass-user
mailing list