Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template for application arguments #6

Open
alexbruy opened this issue May 3, 2017 · 0 comments
Open

template for application arguments #6

alexbruy opened this issue May 3, 2017 · 0 comments

Comments

@alexbruy
Copy link

alexbruy commented May 3, 2017

OTB application command line is rebuild when the algorithm is run.
It could be easier if the OTB XML descriptors contained the template of the arguments.
The post processing would be to complete the template with the user arguments.

Todo:

  • Add a node cli_args_template to the root of each xml descriptor file. The value of this node is the list of all arguments with a formatable value. All known parameters are already written in the template.
-inp {inp} -inxs {inxs} -out {out} -method bayes -method.bayes.lambda {method.bayes.lambda} -method.bayes.s {method.bayes.s} -ram 512
  • Adapt the processAlgorithm function to use the arguments template

Moved from QGIS bugtracker https://issues.qgis.org/issues/14554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant