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?
underdark
84.9k22 gold badges237 silver badges419 bronze badges
asked Mar 24, 2017 at 13:08
-
Likely due to the software being in development and maybe a question for the QGIS dev list?Inactivated Account– Inactivated Account2017年03月24日 14:28:46 +00:00Commented Mar 24, 2017 at 14:28
1 Answer 1
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).
answered Mar 27, 2017 at 15:00
-
1Shouldn't it be processing.run('gdal:convertformat' ... ? processing.runalg throws up AttributeError: module 'processing' has no attribute 'runalg'weiji14– weiji142017年06月01日 23:23:58 +00:00Commented Jun 1, 2017 at 23:23