python bindings for LASLib

181 views
Skip to first unread message

p.kennedy

unread,
Aug 3, 2016, 3:13:30 AM8/3/16
to LAStools - efficient tools for LiDAR processing
Afternoon,
I was wondering if there is a possibility of generating python bindings for laslib?  I took a look at liblas and pylas, but they are pretty much dormant, and would very much like to continue with your lastools as the underpinnings.


In particular I would like to generate laz files from hydro data sources rather than ASCII xyz which then require txt2las.  Each step takes time, and makes the system a little more clunky.

regards
pk



Howard Butler

unread,
Aug 3, 2016, 9:20:11 AM8/3/16
to last...@googlegroups.com

> On Aug 3, 2016, at 1:28 AM, p.kennedy <p.ke...@fugro.com> wrote:
>
> Afternoon,
> I was wondering if there is a possibility of generating python bindings for laslib? I took a look at liblas and pylas, but they are pretty much dormant, and would very much like to continue with your lastools as the underpinnings.

libLAS is indeed dormant, but laspy provides full 1.4 support, is pure Python + numpy, and still provides bug fixes and releases.

http://pythonhosted.org/laspy/ https://pypi.python.org/pypi/laspy

> In particular I would like to generate laz files from hydro data sources rather than ASCII xyz which then require txt2las. Each step takes time, and makes the system a little more clunky.

Note that all of the Python tools only do LAS, not LAZ. You will still need to shell out to LAStools or similar to create the LAZ file.

Reply all
Reply to author
Forward
0 new messages