Using OTB through link2GI package

Hello,

I was trying to use OTB through your package, but I encountered the following issue:

First, I load the package and link OTB using:

require(link2GI)

otblink <- link2GI::linkOTB(
  bin_OTB = "C:/OTB/bin",
  root_OTB = "C:/OTB"
)

print(otblink)

$pathOTB
[1] "C:\\OTB\\bin\\"

$version
          binDir baseDir               otbCmd
1 C:\\OTB\\bin\\ C:\\OTB C:\\OTB\\bin\\otbcli

$exist
[1] TRUE

Then I try to use "EdgeExtraction" as follows:

algoKeyword<- "EdgeExtraction"

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

Which ends up in the following error:

/usr/bin/env: 'C:\\OTB\\bin\\otbcli': No such file or directory
/usr/bin/env: 'C:\\OTB\\bin\\otbcli': No such file or directory
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
  cannot open file 'C:\Users\Usuario\AppData\Local\Temp\Rtmp0Kbvbm/otb_module_dump.txt': No such file or directory

I am using the last version of OTB (8.1.2) and the development version of link2GI (0.5.2).

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.