Feature #5866
Can we have a universal infrastructure to wrap 3rd party CLI tools?
| Status: | Closed | Start Date: | 06/25/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Platform: | Resolution: | invalid | ||
| Platform version: | Patch supplied: | No | ||
| Status info: |
Description
I like how QGIS plugin for GRASS is implemented. It would be nice to have universal way to wrap 3rd party CLI tools. For example, there is a TauDEM tool for watershed analysis. It would be nice if there was a way to describe in a simple way (qgm alike) how to map necessary CLI options such that GUI is automatically generated with the ability to select existing layer or browse for one.
An example for PitRemove TauDEM tool would be
<input name="DEM" option="-z" format="GeoTIFF" /> <output name="Sink filled DEM" option="-fel" format="GeoTIFF" />
So it will fire a GUI with editable comboboxes to select existing layer if any or to browse for a file once button with ellipsis is clicked.
History
Updated by Giovanni Manghi 11 months ago
- Status changed from New to Feedback
There is already, is the sextante plugin.
Updated by Mikhail Titov 11 months ago
Huh... indeed though it is in early stage . And sextante does require some code writing instead of just wrapping. It looks a bit like a monster that if I really want MDINF flow accumulation, then the only option is QGIS-sextante-SAGA . It is quite heavy.
I still think that simple wrapper won't hurt.
Updated by Paolo Cavallini 11 months ago
I do not think one can do something much easier, and the advantages of having a backend that can be piped into others far outweights any coding cost.
Updated by Mikhail Titov 11 months ago
Indeed. Let's close this issue as invalid.
Updated by Paolo Cavallini 11 months ago
- Status changed from Feedback to Closed
- Resolution set to invalid
Updated by Alexander Bruy 11 months ago
FYI, I'm working on TauDEM integration in QGIS and it's almost done