Embankment mapping (R error) #126
-
Hello everyone. I try to use the Whitebox tools for R. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi @aly-kounta It is hard to say for sure what the problem is, but likely the 'CreateProcess' failure to launch is because your WhiteboxTools binary is located in a folder where you don't have permissions to execute. Try installing the binary with |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
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.