r-spatial / link2GI

Simplify the linking of GIS/RS and CLI tools
https://r-spatial.github.io/link2GI
GNU General Public License v3.0
25 stars 7 forks source link

library link2GI don't work with OTB 9.0.0 #68

Open pobsteta opened 3 months ago

pobsteta commented 3 months ago

Hi,

When i install link2GI with OTB 9.0.0, the command don't work `require(link2GI) require(terra) require(listviewer)

link to OTB

otblink<-link2GI::linkOTB(searchLocation = "/home/pascal/OTB-9.0.0-Linux/bin")

if (otblink$exist) { root_folder<-tempdir() fn <- system.file('ex/elev.tif', package = 'terra')

for an image output example we use the Statistic Extraction,

algoKeyword<- 'LocalStatisticExtraction'

extract the command list for the choosen algorithm

cmd<-parseOTBFunction(algo = algoKeyword, gili = otblink)`

i receive this error : image

gisma commented 3 months ago

Hi Pascal, thanks for reporting. I am aware of this issue. However I am out of time to tackle it down at the moment. However if possible use the 8.x versions. I do so in the moment. I will adress this asap. best Chris