Opened 17 years ago
Last modified 9 years ago
#83 assigned defect
r.param.scale - plan curvature doesn't work
Reported by: | guano | Owned by: | guano |
---|---|---|---|
Priority: | major | Milestone: | 6.4.6 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.param.scale | Cc: | grass-dev@… |
CPU: | Unspecified | Platform: | Unspecified |
Description
Maps of plan curvature calculated using r.param.scale results in a map with a very very very narrow distribution (histogram attached), therefore we can't see any of the features.
Attachments (2)
Change History (11)
by , 17 years ago
Attachment: | planc_histo.png added |
---|
by , 17 years ago
Attachment: | planc_histogram_equalised.png added |
---|
map of plan curvature. colortable rainbow, histogram equalised
comment:1 by , 17 years ago
Keywords: | r.param.scale added |
---|---|
Milestone: | 6.4.0 → 6.3.0 |
Owner: | changed from | to
Status: | new → assigned |
Version: | unspecified → svn-trunk |
comment:2 by , 17 years ago
Cc: | added |
---|
comment:3 by , 17 years ago
Milestone: | 6.3.0 → 6.4.0 |
---|
comment:4 by , 17 years ago
# Spearfish
g.region rast=elevation.10m -p r.param.scale elevation.10m out=planc param=planc r.univar planc total null and non-null cells: 2654802 total null cells: 0 Of the non-null cells: ---------------------- n: 2654802 minimum: -56.0318 maximum: 63.5533 range: 119.585 mean: 0.000136618 mean of absolute values: 0.0203089 standard deviation: 0.0846529 variance: 0.00716612 variation coefficient: 61963.3 % sum: 362.6935644354
looks like equally distributed to me. The question is: is the color coding bad or is the result wrong? This could be tested with synthetic curves (see source:grass/trunk/testsuite/raster/rhemisphere.sh)
Markus
comment:5 by , 16 years ago
CPU: | → Unspecified |
---|---|
Platform: | → Unspecified |
adding skewness and kurtosis to r.univar would help in diagnosing this bug. see http://article.gmane.org/gmane.comp.gis.grass.devel/31686/
follow-up: 8 comment:6 by , 12 years ago
I just tried it out - it is just bad color coding - changing to curvature color table works. This can be either fixed in the code or just suggest in the manual to set the color table to curvature. I think this can be closed.
comment:7 by , 12 years ago
Component: | Default → Raster |
---|---|
Milestone: | 6.4.0 → 6.4.4 |
comment:8 by , 12 years ago
Replying to helena:
I just tried it out - it is just bad color coding - changing to curvature color table works. This can be either fixed in the code
Curvature color code may be taken from here:
comment:9 by , 9 years ago
Milestone: | 6.4.4 → 6.4.6 |
---|
histogram of plan curvature