Re: [QGIS-Developer] Handling different GDAL versions in PyQGIS

2017-05-10 Thread Tom Chadwin
In case anyone is interested, I've got a version of this approach working now: https://github.com/tomchadwin/qgis2web/commit/6980a108bc8803c7907bb3ca7da90b1fdfc59a69 Needs testing, but works locally and under Travis. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon --

[QGIS-Developer] Handling different GDAL versions in PyQGIS

2017-05-09 Thread Tom Chadwin
Hello all An issue I face is different users' different GDAL versions meaning making Processing GDAL calls in a plugin difficult, as you have to get the arguments right: https://github.com/tomchadwin/qgis2web/blob/v2.17.0/utils.py#L314 I've got these different argument lists wrapped in try: