<font size=3>Hello,</font>
<br>
<br><font size=3>for my QGIS C++ Plugin I have to run the <b>QgsDissolveAlgorithm</b>-
processing tool.</font>
<p><font size=3>I have found an example, how to do that in python:</font>
<p><tt><font size=3>import processing<br>
<br>
infn = "path/to/dissolve"<br>
outfn2 = "output/path/value/dissolve"<br>
<br>
#dissolve features based on values in an attribute table field<br>
processing.run("native:dissolve", {'INPUT':infn, FIELD':['GRID_CODE'],
'OUTPUT':outfn2})<br>
</font></tt>
<p><font size=3>I searched in QGIS sources and on github but found no example,
how to do that in c++.</font>
<p><font size=3>Has anybody an idea?</font>
<p>
<br><font size=2 face="sans-serif">Freundliche Grüße aus Leipzig<br>
Susann Schmidt<br>
Softwareentwicklung <br>
<br>
**************************************************************<br>
<br>
GFI - Gesellschaft für Informationstechnologie mbH<br>
Philipp-Rosenthal-Straße 9<br>
D-04103 Leipzig<br>
Geschäftsführer: Andreas Richter<br>
Amtsgericht Leipzig HRB 12054<br>
USt.-IdNr.: DE179049354     Steuer-Nr.: 231/109/06412<br>
Tel. 0341 961 3310    Fax 0341 961 3311   Mail info@gfi-gis.de<br>
Web  </font><a href="www.gfi-gis.de"><font size=2 face="sans-serif">www.gfi-gis.de</font></a><font size=2 face="sans-serif"><br>
</font>