[Qgis-developer] Processing: gdal_translate fails on Windows if no output filename is chosen

Giovanni Manghi giovanni.manghi at gmail.com
Sat Apr 9 01:31:16 PDT 2016


> Hi all,
> on Windows (both 7 and 10), Clip layer by extent fails if no explicit
> output filename is given. The problem seems the output file type:
>
> gdal_translate -of "ESRI Shapefile" -ot Float32 -projwin 323590.0
> 4698482.5 326815.0 4696072.5 D:/dtm_20m_32/w001001.adf
> C:\Users\aaaa\AppData\Local\Temp\processing13b90b0cc2b045b28d1a8ab70a3317af\60d19504e2d94332be5b3d845d1c9726\OUTPUT.shp
> GDAL command output:
> ERROR 6: Source driver is raster-only whereas output driver is vector-only
> Input file size is 52281, 67098
> Computed -srcwin 684 28640 161 121 from projected window.
>

>
> Anyone confirms? Should I open a ticket?


Cannot confirm. The command is correctly generated here (win7,10).


More information about the Qgis-developer mailing list