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
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago
3 months ago