Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculation of ruggedness #13227

Closed
qgib opened this issue Oct 30, 2010 · 1 comment
Closed

calculation of ruggedness #13227

qgib opened this issue Oct 30, 2010 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Oct 30, 2010

Author Name: Trevor Wiens (Trevor Wiens)
Original Redmine Issue: 3167

Redmine category:rasters
Assignee: nobody -


In browsing the code for ruggedness I found something odd.

The formula is missing division by n prior to the execution of sqrt if it is supposed to be standard deviation from the centre pixel.

Since there is no documentation on the formula that was intended, I don't know if this is intentional or a bug.

@qgib
Copy link
Contributor Author

qgib commented Oct 31, 2010

Author Name: Marco Hugentobler (@mhugent)


Ruggedness index is calculated according to Riley et al. 1999 (see corrected formula in http://www.fw.msu.edu/~rileysh2/Terrain%20Ruggedness%20Index.pdf). There is no division by the number of pixels, only the root of the squares is taken.


  • resolution was configured as wontfix
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Version 1.6.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Rasters Related to general raster layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant