Open hannahlowens opened 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.
terra
sp::surfaceArea()
The MultiscaleDTM::SurfaceArea function in can accomplish this if you're still looking for a solution.
MultiscaleDTM::SurfaceArea
https://github.com/ailich/MultiscaleDTM
As the subject line says, it would be fantastic to have a
terra
option forsp::surfaceArea()
--that is, using an elevation raster to calculate surface area. I've been using cellArea/cos(slope), but it's not as satisfying.