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;24504764.7761;5374250.8056;397.8555;24504764.7191;5374250.3089;397.8295;24504764.6621;5374249.8121;397.8149;24504764.6051;5374249.3154;397.7977;24504764.5481;5374248.8186;397.7725;2It 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?
أكثر...
4504764.8331;5374251.3024;397.8871;24504764.7761;5374250.8056;397.8555;24504764.7191;5374250.3089;397.8295;24504764.6621;5374249.8121;397.8149;24504764.6051;5374249.3154;397.7977;24504764.5481;5374248.8186;397.7725;2It 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?
أكثر...