On 16/12/08 14:40, sgw00...@nifty.com wrote:
Dear Moritz:

I wish to express my gratitude for your valuable advice. Thank you. It succeeded when having tried as follows:

0 thru 100=1 0-100m
100 thru 200=2 100-200m
200 thru 300=3 200-300m
300 thru 400=4 300-400m
....
end

save as alt_class.txt

r.reclass input=old_rast_map output=new_rast_map < alt_class.txt

r.stats new_rast_map -c


Note that you could have also done something similar with

r.report map=old_rast_map units=k nsteps=

playing around with nsteps to get the same ranges. But r.reclass + r.stats/r.report gives you more precise control of your classes.

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

Reply via email to