Hi,
Have multiple text files that need to be converted to a csv file.
The source text file contains three lines per object, which must be merged into 1 line. (number of objects is unknown in advance)
Example,
1
00:00:00,000 --> 00:00:01,000
F/6.3, SS 1000, ISO 100, EV -0.3, RTK (4.672639, 52.794202, 28), HOME (4.671729, 52.794208, 43.55m)
2
00:00:01,000 --> 00:00:02,000
F/6.3, SS 1000, ISO 100, EV -0.3, RTK (4.672639, 52.794203, 28), HOME (4.671729, 52.794208, 43.55m)
The result should be according to this example.
Time,F,S,Iso,Ev,RTK.Longitude,RTK.Latitude,GPS,Home.Longitude,Home.Latitude,Home.Elevation.m,
00:00:00.000,6.3,1000,100,-0.3,4.672639,52.794202,28,4.671729,52.794208,43.55
00:00:01.000,6.3,1000,100,-0.3,4.672639,52.794203,28,4.671729,52.794208,43.55
Who can help me with that, if only to merge 3 lines into 1 line in a loop.
Gerard