Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I searched on the net and found pyLAS, but it seems to require quite a few other modules and I couldn't get the install right.
Any pointers will be much appreciated.
What about the liblas Python API (not sure how lightweight this is though)?
>>> from liblas import file
>>> f = file.File('file.las',mode='r')
>>> for p in f:
... print 'X,Y,Z: ', p.x, p.y, p.z
What about PDAL? There is a Python package here - https://pypi.python.org/pypi/PDAL/1.2.0.
Here is an example from the command line documentation:
pdal translate input.las output.txt
Required, but never shown