1

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
1
  • Likely due to the software being in development and maybe a question for the QGIS dev list? Commented Mar 24, 2017 at 14:28

1 Answer 1

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
1
  • 1
    Shouldn't it be processing.run('gdal:convertformat' ... ? processing.runalg throws up AttributeError: module 'processing' has no attribute 'runalg' Commented Jun 1, 2017 at 23:23

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.