Feature request #5866

Can we have a universal infrastructure to wrap 3rd party CLI tools?

Added by Mikhail Titov over 9 years ago. Updated about 9 years ago.

Pull Request or Patch supplied:No Resolution:invalid
Easy fix?:No Copied to github as #:15329


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.


#1 Updated by Giovanni Manghi over 9 years ago

  • Status changed from Open to Feedback

There is already, is the sextante plugin.

#2 Updated by Mikhail Titov over 9 years 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.

#3 Updated by Paolo Cavallini about 9 years 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.

#4 Updated by Mikhail Titov about 9 years ago

Indeed. Let's close this issue as invalid.

#5 Updated by Paolo Cavallini about 9 years ago

  • Status changed from Feedback to Closed
  • Resolution set to invalid

#6 Updated by Alexander Bruy about 9 years ago

FYI, I'm working on TauDEM integration in QGIS and it's almost done

Also available in: Atom PDF