5

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.

10

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
2

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.