AI_Astronaut
12/9/2019 - 6:22 AM

Reading .las file using las library

import laspy
infile = laspy.file.File("AK_BrooksCamp_2012_000002.las", mode="r")
dataset =np.vstack([inFile.x, inFile.y, inFile.z]).transpose()
print(dataset.shape)

# Here In this code segment infile is the variable which stores the data