I have a few hundred txt files (each representing a line of a river bed profile) that I need to load as (point-) layers in QGIS. Partial example:
4504764.8331;5374251.3024;397.8871;2 4504764.7761;5374250.8056;397.8555;2 4504764.7191;5374250.3089;397.8295;2 4504764.6621;5374249.8121;397.8149;2 4504764.6051;5374249.3154;397.7977;2 4504764.5481;5374248.8186;397.7725;2
It works manually (layer -> add delimited text layer, then renaming the columns after import) but given the volume I can't do it all by hand.
I found a similar two year old question here: How to import multiple textfiles in one step , but "create a plain text file called .vrt file for each of csv files" doesn't sound so peachy. The files are also missing the header line, but I know the format: "X; Y; Z; classification".
Is there any way to do this without having to code up a text generator for those vrt files and inserting header lines into all csvs?