Hello,

for my QGIS C++ Plugin I have to run the QgsDissolveAlgorithm- processing 
tool.
I have found an example, how to do that in python:
import processing

infn = "path/to/dissolve"
outfn2 = "output/path/value/dissolve"

#dissolve features based on values in an attribute table field
processing.run("native:dissolve", {'INPUT':infn, FIELD':['GRID_CODE'], 
'OUTPUT':outfn2})

I searched in QGIS sources and on github but found no example, how to do 
that in c++.
Has anybody an idea?

Freundliche Grüße aus Leipzig
Susann Schmidt
Softwareentwicklung 

**************************************************************

GFI - Gesellschaft für Informationstechnologie mbH
Philipp-Rosenthal-Straße 9
D-04103 Leipzig
Geschäftsführer: Andreas Richter
Amtsgericht Leipzig HRB 12054
USt.-IdNr.: DE179049354     Steuer-Nr.: 231/109/06412
Tel. 0341 961 3310    Fax 0341 961 3311   Mail i...@gfi-gis.de
Web  www.gfi-gis.de
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to