Timeline for Merging vector layers via python in QGIS 2.18.1
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 7, 2018 at 10:14 | comment | added | Joseph | @Stefan - I believe the developers changed how the inputs should be used. In the early 2.18 version, layers needed to be separated by a semi-colon which was eventually changed to allow lists. There was a post asking about this. | |
Mar 7, 2018 at 6:34 | comment | added | Stefan | @Joseph I get the same error Jochen has described in his answer. I'm using version 2.18.16 Python console. It would be interesting to know since which version only a Python list works as vector layer input. | |
Jan 6, 2017 at 14:46 | vote | accept | JamieTasker | ||
Jan 6, 2017 at 14:43 | comment | added | Joseph | @JamieTasker - Most welcome! Nope, should be the same parameters. Just tested it and it works fine. If you have problems, you should ask a new question and include all the details such as the input layer type, the output layer type, your code etc :) | |
Jan 6, 2017 at 14:19 | comment | added | JamieTasker | Thank you, that worked fine. Has the procedure for 'runalg("gdalogr:convertformat")' changed too? On 2.14 it works using 'processing.tools.general.runalg('gdalogr:convertformat', layer, filetype, "", save_location)' but on 2.18 no errors are flagged up but new files are not created. | |
Jan 6, 2017 at 12:15 | history | answered | Joseph | CC BY-SA 3.0 |