Concatenating in Windows

Wednesday, 3 October, 2007

I was recently sent some LiDAR data x,y,z triples (i.e. x coordinate, y coordinate and elevation); actually, it also had intensity so quadruples I guess. Anyway, the data were extracted for a 1km2 area from multiple flight lines which meant I had multiple x,y,z values. Before importing these as a LiDAR LAS file I wanted to concatenate them. Easy to do in Linux but I couldn’t remember how to do it in Windows. A quick Google later led me to this useful article over at Lockergnome. And for those too lazy to click, this for loop will do the work for you:

for %f in (*.log) do type “%f” » aggregate.txt

Add comment

Fill out the form below to add your own comments