Bug report #14430
Updated by Alexander Bruy over 6 years ago
It's currently not possible to use memory layers in OGR tools. The error is
<pre>
Algorithm Buffer vectors starting...
GDAL command:
cmd.exe /C ogr2ogr.exe "C:\\Users\\anita\\AppData\\Local\\Temp\\processing70e5e0852cb9456ba2e3780f8386122e\\86d237c8f41443f58a230a8133172047\\OUTPUTLAYER.shp" point?crs=EPSG:4326&memoryid={6772bccd-f55d-461d-aff6-6271ded02eea} point?crs=EPSG:4326&memoryid={6772bccd-f55d-461d-aff6-6271ded02eea} -dialect sqlite -sql "SELECT ST_Buffer( geometry , 1000 ),* FROM 'point?crs=EPSG:4326&memoryid={6772bccd-f55d-461d-aff6-6271ded02eea}' "
GDAL command output:
FAILURE:
Unable to open datasource `point?crs=EPSG:4326' with the following drivers.
-> JP2ECW
-> OCI
-> SOSI
...
</pre>
See also http://gis.stackexchange.com/questions/144948/is-it-possible-to-use-memory-layers-in-qgis-processing-algorithms
Memory layers shouldn't be listed in the input layers if they cannot be used.
<pre>
Algorithm Buffer vectors starting...
GDAL command:
cmd.exe /C ogr2ogr.exe "C:\\Users\\anita\\AppData\\Local\\Temp\\processing70e5e0852cb9456ba2e3780f8386122e\\86d237c8f41443f58a230a8133172047\\OUTPUTLAYER.shp" point?crs=EPSG:4326&memoryid={6772bccd-f55d-461d-aff6-6271ded02eea} point?crs=EPSG:4326&memoryid={6772bccd-f55d-461d-aff6-6271ded02eea} -dialect sqlite -sql "SELECT ST_Buffer( geometry , 1000 ),* FROM 'point?crs=EPSG:4326&memoryid={6772bccd-f55d-461d-aff6-6271ded02eea}' "
GDAL command output:
FAILURE:
Unable to open datasource `point?crs=EPSG:4326' with the following drivers.
-> JP2ECW
-> OCI
-> SOSI
...
</pre>
See also http://gis.stackexchange.com/questions/144948/is-it-possible-to-use-memory-layers-in-qgis-processing-algorithms
Memory layers shouldn't be listed in the input layers if they cannot be used.