Retrieve the argument list from a selected OTB function
Retrieve the argument list from a selected OTB function
retrieve the selected function and returns a full argument list with the default settings
parseOTBFunction(algo =NULL, gili =NULL)
Arguments
algo: either the number or the plain name of the OTB algorithm that is wanted. Note the correct (of current/selected version) information is provided by parseOTBAlgorithms()
gili: optional list of available OTB installations, if not specified, linkOTB() is called to automatically try to find a valid OTB installation
Examples
## Not run:otblink<-link2GI::linkOTB()if(otblink$exist){## parse all modulesalgos<-parseOTBAlgorithms(gili = otblink)## take edge detectioncmdList<-parseOTBFunction(algo = algos[27],gili = otblink)## print the current commandprint(cmdList)}## End(Not run)##+##