On 09/12/08 15:43, sgw00...@nifty.com wrote:
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|

This means that your elevation map is already a reclassified map with
elevation classes, but that you did not include the information about
the classes in the reclassed map. I.e., using r.reclass, you can do
something like this:

0 thru 10 = 1

but if you want to keep the information about the class amplitude, then
you have to do this (adding a label to each class):

0 thru 10 = 1 0 - 10m

You can also add labels to the existing classes, using r.category. Just
create a text file:

1: 0 - 10 m
2:11 - 20 m
3:21 - 30 m
...

and run r.category map=YourMap rules=TextFile.

Then r.report will include these labels.


Moritz

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to