Bug report #16250
Updated by Giovanni Manghi almost 8 years ago
Example with the dissolve alg:
Output command when input is in a path with no special chars:
Algorithm Dissolve polygons starting...
GDAL command:
cmd.exe /C ogr2ogr.exe "C:\\Users\\qgis\\AppData\\Local\\Temp\\processinga60439eecfc34e4690647a61c6b280b3\\1ef2514e11f94587acf8ff50ed8cc2aa\\OUTPUTLAYER.shp" C:/Users/qgis/Desktop/lixo/conc.shp conc -dialect sqlite -sql "SELECT ST_Union(geometry),concelho FROM 'conc' GROUP BY concelho"
GDAL command output:
Warning 1: layer names ignored in combination with -sql.
Converting outputs
Loading resulting layers
Algorithm Dissolve polygons finished
Output command when input is in a path with special chars:
Algorithm Dissolve polygons starting...
GDAL command:
cmd.exe /C ogr2ogr.exe "C:\\Users\\qgis\\AppData\\Local\\Temp\\processinga60439eecfc34e4690647a61c6b280b3\\d4d98511093d41cd94001dbdbe389933\\OUTPUTLAYER.shp" C:\\Users\\qgis\\AppData\\Local\\Temp\\processinga60439eecfc34e4690647a61c6b280b3\\1488318011.8921.shp 1488318011.8921 -dialect sqlite -sql "SELECT ST_Union(geometry),concelho FROM '1488318011.8921' GROUP BY 1488318011.8921elho"
GDAL command output:
Warning 1: layer names ignored in combination with -sql.
ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Union(geometry),concelho FROM '1488318011.8921' GROUP BY 1488318011.8921elho):
unrecognized token: "1488318011.8921elho"
Converting outputs
Loading resulting layers
The following layers were not correctly generated.
Dissolved
Output command when input is in a path with no special chars:
Algorithm Dissolve polygons starting...
GDAL command:
cmd.exe /C ogr2ogr.exe "C:\\Users\\qgis\\AppData\\Local\\Temp\\processinga60439eecfc34e4690647a61c6b280b3\\1ef2514e11f94587acf8ff50ed8cc2aa\\OUTPUTLAYER.shp" C:/Users/qgis/Desktop/lixo/conc.shp conc -dialect sqlite -sql "SELECT ST_Union(geometry),concelho FROM 'conc' GROUP BY concelho"
GDAL command output:
Warning 1: layer names ignored in combination with -sql.
Converting outputs
Loading resulting layers
Algorithm Dissolve polygons finished
Output command when input is in a path with special chars:
Algorithm Dissolve polygons starting...
GDAL command:
cmd.exe /C ogr2ogr.exe "C:\\Users\\qgis\\AppData\\Local\\Temp\\processinga60439eecfc34e4690647a61c6b280b3\\d4d98511093d41cd94001dbdbe389933\\OUTPUTLAYER.shp" C:\\Users\\qgis\\AppData\\Local\\Temp\\processinga60439eecfc34e4690647a61c6b280b3\\1488318011.8921.shp 1488318011.8921 -dialect sqlite -sql "SELECT ST_Union(geometry),concelho FROM '1488318011.8921' GROUP BY 1488318011.8921elho"
GDAL command output:
Warning 1: layer names ignored in combination with -sql.
ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Union(geometry),concelho FROM '1488318011.8921' GROUP BY 1488318011.8921elho):
unrecognized token: "1488318011.8921elho"
Converting outputs
Loading resulting layers
The following layers were not correctly generated.
Dissolved