Re: [QGIS-Developer] QGIS 3 modeler - GDAL call parameters double escaped

2018-06-16 Thread Nyall Dawson
On Wed, 13 Jun 2018 at 20:10, Jorge Gustavo Rocha wrote: > > If I set the output name as 'reindeer polygons', the gdal call is: > > gdal_polygonize.py > /tmp/processing_7b5b06e1a8f14ee09ac38187a00ce932/dfee0e38cbd1483ca732fd82a12110c5/OUTPUT.tif >

Re: [QGIS-Developer] QGIS 3 modeler - GDAL call parameters double escaped

2018-06-13 Thread Luigi Pirelli
should be applied the same fix applied to gdal_calc... https://github.com/qgis/QGIS/pull/6984 in that case the problem was interpreting the formula as path... in your case you are escaping a real path GdalUtils.escapeAndJoin in getConsoleCommands(...) do escaping... Luigi Pirelli

[QGIS-Developer] QGIS 3 modeler - GDAL call parameters double escaped

2018-06-13 Thread Jorge Gustavo Rocha
Hi, I was showing a very small use case of the modeler, with just two steps, to count reindeers in a IR raster. It failed with a very simple error. If I use spaces in the final output name, it fails. This is not a high priority issue. If I set the output name as 'reindeer polygons', the gdal