Skip to content

Embankment mapping (R error) #126

Answered by aly-kounta
aly-kounta asked this question in Q&A
Discussion options

You must be logged in to vote

It seems to me that the method of importing files is not correct in WhiteboxTools, which expects file paths, not sf and terra objects. I convert the DEM raster to a file path instead of the rast() object. the same goes for the shapefile, not with read_sf(). on the other hand, the output raster after execution of the function is incorrect, with erroneous min and max values.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@aly-kounta
Comment options

@brownag
Comment options

brownag Jan 19, 2025
Collaborator

@aly-kounta
Comment options

@brownag
Comment options

brownag Jan 20, 2025
Collaborator

Comment options

You must be logged in to vote
3 replies
@brownag
Comment options

brownag Jan 20, 2025
Collaborator

@brownag
Comment options

brownag Jan 20, 2025
Collaborator

@aly-kounta
Comment options

Answer selected by brownag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants