I have a Layer Group surveyor
with lots of layers (shapefiles) with seemingly random names, and with identical schemas. I would like to combine them all to one layer; preferably with a Virtual Layer. The following does work.
SELECT * FROM monday
UNION
SELECT * FROM wed_22
UNION
SELECT * FROM parking
However, this requires manually typing all the layers. Is there a better solution, where I won't have to manually type the layers?
ogr2ogr
(with this you could also merge into a different file format, or into a GPKG/DB directly)