Quantile classification

From GRASS-Wiki
Jump to navigation Jump to search

Q: How can I perform automated classification based on a defined number of classes?

A: You can use r.quantile for quantile classification:

Example:

r.quantile elevation quantiles=5 -r --quiet | r.recode elevation out=elev_quant5 rules=-