Add geomorphon and wetness index calculations to `terrain()`
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!
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!
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?
That's a question for terra developer Robert! Hopefully he sees this issue.
Note that the tools in If we want to avoid new dependencies in terrain() are originally implemented in GDAL, which {terra} just wraps. {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).