I can not use the "gdalogr"-Processing in QGIS 3.0 (2.99) QGIS code revision 1182816

import processing
processing.runalg('gdalogr:convertformat','', 0, '' ,'')
Error: Algorithm not found

Does anyone know whats going wrong?

  • Likely due to the software being in development and maybe a question for the QGIS dev list? – DPSSpatial Mar 24 '17 at 14:28

Over "QGIS dev list":

It's because gdalogr no longer exists in 3.0, use instead gdal. You could to run processing.alglist() to get the write syntax of functions.

I use

processing.runalg('gdal:convertformat'  ...

This works (in the principle).

  • 1
    Shouldn't it be processing.run('gdal:convertformat' ... ? processing.runalg throws up AttributeError: module 'processing' has no attribute 'runalg' – weiji14 Jun 1 '17 at 23:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.