[QGIS-Developer] QGIS Server and native Processing algorithms

David Marteau dmarteau at 3liz.com
Wed Jul 10 00:49:26 PDT 2019



> Le 10 juil. 2019 à 08:44, Alessandro Pasotti <apasotti at gmail.com> a écrit :
> 
> 
> did you call QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms()) ?

You may need to call the above, before calling  'Processing.initialize()'  

> 
> On Wed, Jul 10, 2019 at 8:42 AM Alexander Bruy <alexander.bruy at gmail.com <mailto:alexander.bruy at gmail.com>> wrote:
> Hi,
> 
> I need to access Processing algorithms from the QGIS Server plugin.
> But any attempt to call any Processing algorithm failed with following
> error message in
> the logs
> 
> CRITICAL Processing[2960]: Error: Algorithm native:clip not found
> 
> In the same time I can access analysis classes like QgsHillshadeFilter
> or QgsZonalStatistics.
> 
> Is it possible to access Processing algorithms from server plugins?
> 
> Thanks
> -- 
> Alexander Bruy
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> 
> -- 
> Alessandro Pasotti
> w3:   www.itopen.it <http://www.itopen.it/>_______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190710/9466c6a6/attachment.html>


More information about the QGIS-Developer mailing list