A MATLAB gateway for LASlib library to read and write .las files

1,330 views
Skip to first unread message

Eetu Puttonen

unread,
Mar 27, 2014, 10:32:34 AM3/27/14
to last...@googlegroups.com
Hello all,

After a year or so, we have finally compiled a working implementation of
lastools reader and writer functions for MATLAB.
We have collected the binaries, precompiled (MATLAB compatible) LASlib
libraries, and modified lastools source code into a package, which can
be accessed via FGI web page:
http://www.fgi.fi/fgi/publication/open-programs-and-tools

The package also includes instructions for compiling the LASlib library
and the binaries both in Windows and Linux.

The package has been developed to speed-up point cloud processing in
FGI, but we hope that it also finds use elsewhere and welcome
suggestions to improve it.
Please note that at present the reader and writer do not support data in
EVLR fields. Extra attribute fields are supported.

Eetu Puttonen & Paula Litkey
E-mail: firstname.surname (at) fgi.fi, www.fgi.fi

Department of Remote Sensing and Photogrammetry
Finnish Geodetic Institute
P.O. Box 15, Geodeetinrinne 2
02431 Masala, Finland

PS. FGI has also made two small hyperspectral point clouds openly
available. If you'd like to test them, please see:
http://www.fgi.fi/fgi/publication/open-datasets

Newcomb, Doug

unread,
Mar 27, 2014, 10:56:23 AM3/27/14
to last...@googlegroups.com
Does it work with Octave, https://www.gnu.org/software/octave/ ?

Doug





--
Doug Newcomb
USFWS
Raleigh, NC
---------------------------------------------------------------------------------------------------------
The opinions I express are my own and are not representative of the official policy of the U.S.Fish and Wildlife Service or Dept. of the Interior.   Life is too short for undocumented, proprietary data formats.

Martin Isenburg

unread,
Mar 27, 2014, 11:01:59 AM3/27/14
to LAStools - efficient command line tools for LIDAR processing
Does it read LAZ files too?

Eetu Puttonen

unread,
Mar 28, 2014, 2:08:40 AM3/28/14
to last...@googlegroups.com
27.3.2014 17:01, Martin Isenburg kirjoitti:
Does it read LAZ files too?


Yes, since the gateway functions access LASlib directly, both LAS and LAZ files are supported. We have tested this with a number of different LAS/LAZ files, but cannot give a quarantee for all file types and versions.



On Thu, Mar 27, 2014 at 3:56 PM, Newcomb, Doug <doug_n...@fws.gov> wrote:
Does it work with Octave, https://www.gnu.org/software/octave/ ?

Doug

We have not tested it with the Octave, but we would be happy to hear if someone with more experience in .mex and Octave would make a test and report about it. The gateway source is included in the package, so it can be edited anytime.

- Eetu Puttonen

Martin Isenburg

unread,
Jan 15, 2016, 10:08:39 AM1/15/16
to LAStools - efficient tools for LiDAR processing, eetu.p...@fgi.fi
Hello,

I just read on a LinkedIn post by Paula Litkey from FGI [1] that she has updated their mex gateway functions and put them in github [2]. The main addition is waveform read, it is far from perfect, but at least for me it works better than other solutions available. New mexw64 files available for those who do not enjoy compiling. Note, however, that I am not a big fan of LAS 1.3 FWF. I hope someone will also add a PulseWaves reader to this package eventually ... (-;

Regards,

Martin

Adam Erickson

unread,
Mar 16, 2017, 9:59:36 AM3/16/17
to LAStools - efficient tools for LiDAR processing, eetu.p...@fgi.fi
Thanks Martin! I loved the MATLAS solution of Paula and Eetu when I first tried it. The only version I can find is the one from 2014 here: http://www.fgi.fi/fgi/publication/open-programs-and-tools I had some issues with this when running a newer version of LAStools and have been hoping for an updated version.

Where is the new GitHub repository?

Cheers,

Adam

Adam Erickson

unread,
Mar 16, 2017, 10:00:02 AM3/16/17
to LAStools - efficient tools for LiDAR processing, eetu.p...@fgi.fi
Ah, sorry! I see the link now.

Adam

On Friday, January 15, 2016 at 4:08:39 PM UTC+1, Martin Isenburg wrote:
Reply all
Reply to author
Forward
0 new messages