rspatial / terra

R package for spatial data handling https://rspatial.github.io/terra/reference/terra-package.html
GNU General Public License v3.0
543 stars 90 forks source link

Feature Request: analog to sp::surfaceArea() #1587

Open hannahlowens opened 3 months ago

hannahlowens commented 3 months ago

As the subject line says, it would be fantastic to have a terra option for sp::surfaceArea()--that is, using an elevation raster to calculate surface area. I've been using cellArea/cos(slope), but it's not as satisfying.

ailich commented 1 week ago

The MultiscaleDTM::SurfaceArea function in can accomplish this if you're still looking for a solution.

https://github.com/ailich/MultiscaleDTM