Bug report #14313
Virtual layers not working in Processing
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No|
gdal_rasterize -a attr -ot Float32 -tr 100 100 -a_nodata -9999 -co
COMPRESS=DEFLATE -co PREDICTOR=1 -co ZLEVEL=6 -l
GDAL command output:
/bin/sh: 1: point?crs=EPSG:3003: not found
Missing source or destination.
They should preferably be enabled for analyses, as they are very convenient for on the fly analyses. If this is not yet possible, they should not appear on the dropdown.
#1 Updated by Hugo Mercier about 2 years ago
Apparently you are using a memory layer as input, right ? But the result would be similar with a virtual layer.
Actually with anything that is not loaded by ogr.
The rasterize algorithm expects a vector layer opened with ogr, but the dropdown displays any vector layer, whatever the provider.
Algorithms should somehow declare which types of vector layers they can read. Just an idea: an optional parameter to ParameterVector to list the acceptable provider keys ? Victor what do you think ?