parseOTBFunction function

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 modules algos<-parseOTBAlgorithms(gili = otblink) ## take edge detection cmdList<-parseOTBFunction(algo = algos[27],gili = otblink) ## print the current command print(cmdList) } ## End(Not run) ##+##
  • Maintainer: Chris Reudenbach
  • License: GPL (>= 3) | file LICENSE
  • Last published: 2024-10-28