Opened 10 years ago
Last modified 5 years ago
#2625 new enhancement
r.stats's nsteps is not region-sensitive
Reported by: | martinl | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.3 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.stats, nsteps | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
r.stat's nsteps
option is not region-sensitive, in other words ranges are calculated from original raster, not from current region. It can be very confusing for a user, I am not sure if it's a bug or just undocumented behaviour.
OK, I get 5 classes:
g.region rast=elevation r.stats elevation nsteps=5 --q 55.578793-75.729007 75.729007-95.879221 95.879221-116.029436 116.029436-136.17965 136.17965-156.329865
Smaller number of classes when using sub-region:
g.region n=219326.524155 s=218357.261131 w=635573.588429 e=637027.482965 -a r.stats elevation nsteps=5 --q 75.729007-95.879221 95.879221-116.029436 116.029436-136.17965
Change History (19)
comment:1 by , 9 years ago
Milestone: | 7.0.1 → 7.0.2 |
---|
comment:3 by , 9 years ago
Replying to martinl:
Any opinion / feedback? Thanks.
Both region-specific bins and map-specific bins can be useful. The latter allow easier comparison between different subregions, whereas the former allow getting the number of bins asked for in each subregion.
So, the ideal solution IMHO would be to have both. In the meantime, the fact that bins are calculated on the entire map's value range should be at least documented explicitly.
comment:7 by , 9 years ago
Milestone: | 7.0.4 → 7.0.5 |
---|
comment:8 by , 8 years ago
Milestone: | 7.0.5 → 7.3.0 |
---|---|
Priority: | major → normal |
Type: | defect → enhancement |
comment:11 by , 7 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:12 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
All enhancement tickets should be assigned to 7.6 milestone.
comment:15 by , 6 years ago
Milestone: | 7.6.2 → 7.8.0 |
---|
comment:19 by , 5 years ago
Milestone: | → 7.8.3 |
---|
Ticket retargeted after 7.0.1 milestone closed