Is there a way to add multiple layers to QGIS at once from a list of paths?
I have about 150 rasters to investigate that intersect an area of interest. Their full path is collected in a text file, one image per line. I know I can open layers on the command line with qgis path\to\imageone.tif path\for\imagetwo.tif
but there's too many to add that way.
I've tried redirecting qgis < in-tiff-list.txt
but that doesn't work.
I can open each image in it's own session with something like for /f %a in (in-tiff-list.txt) do qgis %a
but that's a lot of memory overhead and you can't compare layers to each other.
Perhaps there's a way to inject into a running instance of Qgis instead of starting a new session? e.g. for {list of paths} do run "qgis --single-instance %file-path%"
(pseudo code).
I'm running QGIS 3.16 on Windows.
Data Source Manager
to select multiple files/the whole content of the folder at once.