-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I am struggling to replicate the minimal example, including Rasters
from the Concept chapter of the documentation.
In the case of the slope
function, for example, the Raster
doesn't seem recognized with the following output:
MethodError: no method matching slope(::Raster{…}; method::Horn)
But, the Geomorphometry.cellsize(raster)
command worked as expected.
(Julia 1.11.5, Rasters v0.14.4, Geomorphometry v0.7.0)
Minimal example :
file downloaded from "https://github.com/Deltares/Geomorphometry.jl/releases/download/v0.6.0/saba.tif" and located in the script folder.
using Rasters
using Geomorphometry
import ArchGDAL
path = @__DIR__
# file from url : "https://github.com/Deltares/Geomorphometry.jl/releases/download/v0.6.0/saba.tif"
r = Raster(joinpath(path, "saba.tif"))
Geomorphometry.cellsize(r)
slope(r, method=Horn())
Thanks a lot
Pierre
Metadata
Metadata
Assignees
Labels
No labels