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

Add geomorphon and wetness index calculations to terrain() #1436

Open
kevinwolz opened this issue Feb 24, 2024 · 4 comments
Open

Add geomorphon and wetness index calculations to terrain() #1436

kevinwolz opened this issue Feb 24, 2024 · 4 comments

Comments

@kevinwolz
Copy link

Any plans to add geomorphon and wetness index calculations to terrain()? These are currently possible only via the package qgisprocess as described HERE? Adding directly functionality within terra would be great!

@jflowernet
Copy link

Worth noting that there is a geomorphons and wetness index function in the WhiteboxTools R package: wbt_geomorphons and wbt_wetness_index.
Not that this precludes them from being added to terra!

@kevinwolz
Copy link
Author

Cool! It looks like both the whitebox approach and the qgisprocess approach that I linked to require connection to separate GIS software installed on your computer. Do you think that would be required if these methods were added to terra as well? Or could terra implement internally?

@jflowernet
Copy link

jflowernet commented Mar 4, 2024

That's a question for terra developer Robert! Hopefully he sees this issue.

@kadyb
Copy link
Contributor

kadyb commented Mar 5, 2024

Note that the tools in terrain() are originally implemented in GDAL, which {terra} just wraps. If we want to avoid new dependencies in {terra}, that means someone has to write these new functions.

Edit: My mistake. I thought GDAL was used for this purpose, but that is implemented separately (https://github.com/rspatial/terra/blob/master/src/distRaster.cpp).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants