Dear Matteo, Thank you for your answer.
I using this code to check all the processing available with PyQGIS3 > for i in QgsApplication.processingRegistry().algorithms(): > print("{}:{} --> {}".format(i.provider().name(), i.name(), > i.displayName())) In the result there is no "saga:triangulation". Also, I already try algorithmHelp('saga:triangulation') [image: image.png] There is no result. That is the reason why I am writing here. I search for several days and I do not find anything, also in StackOverflow and StackEchange. Thank you in advance! El mié., 12 feb. 2020 a las 7:34, matteo (<matteo.ghe...@gmail.com>) escribió: > Hi, > > > I am trying to convert a script from PyQGIS 2 to PyQGIS 3 > > > > In the original script, the author used > > processing.runalgorithm("saga:triangulation", parameters). Now, I am > > trying to use it as same as possible with PyQGIS3 but I am not finding > > anything similar: > > > > 1. I am using processing.run instead of processing.runalgorithm > > 2. I am aware that there is no SAGA API for Python 3 > > 3. The objective of the code is change as less as possible. That's why > > I am not looking for other solutions (except if you tell me there is > > no similar solution, of course) > > > > Maybe someone knows what can I do in this case? > > check which parameters have been specified: it might be a different > number of them between QGIS2 and QGIS3. > > Type processing.algorithmHelp('saga:triangulation') to see the list and > type of each single parameter. > > A complete guide of how to use algorithm from the console is n the user > manual: > > https://docs.qgis.org/testing/en/docs/user_manual/processing/console.html > > Cheers > > Matteo > _______________________________________________ > 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
_______________________________________________ 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