Opening las/laz files

Feel free to ask any question here
JenniferR
Posts: 2
Joined: Mon Mar 30, 2015 12:29 pm

Opening las/laz files

Post by JenniferR »

Hello,

I always get an unhandled exception when I'm trying to open las or laz files. I know that the format is 1.4. Is this supported or what could my problem be?
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Opening las/laz files

Post by daniel »

Hi, the support for LAS 1.4 is partial and since the version 2.6.0 or 2.6.1.

If it doesn't work with those versions, can you send me a sample file? (cloudcompare [at] danielgm.net)
Daniel, CloudCompare admin
muzo583
Posts: 30
Joined: Wed Nov 19, 2014 6:19 pm

Re: Opening las/laz files

Post by muzo583 »

Dear Daniel,

I have a problem with Las file importing.

I choosed the option use liblas in CMAKE. An error occured, "error in configuration process, project files maybe invalid"
I read the wiki for liblas, but I am confused. I am using CC 2.6.1 beta on Ubuntu 14.04.
Do I need to install Liblas? from liblas.org ? or CC has the library?

LIBLAS_INCLUDE_DIR
LIBLAS_RELEASE_LIBRARY_FILE

what I must type to these options?
I am using CMAKE gui 2.8.12.2
Could you please help me about this step by step?
Thanks.
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Opening las/laz files

Post by daniel »

You have to compile liblas on your side then tell CMake where the resulting library file and the include directory are.
Daniel, CloudCompare admin
muzo583
Posts: 30
Joined: Wed Nov 19, 2014 6:19 pm

Re: Opening las/laz files

Post by muzo583 »

Hi Daniel,

I have compiled and installed liblas. But I got an error

WARNING: Target "QCC_IO_LIB" requests linking to directory "/usr/local/lib/". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "CloudCompare" requests linking to directory "/usr/local/lib/". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "ccViewer" requests linking to directory "/usr/local/lib/". Targets may link only to libraries. CMake is dropping the item.

I think I am showing the folders wrong to CMAKE. Which folders are need to enter there? compiled (builded) files of liblas? or in \usr\local\ lib ?
I am confused.

Thank you.
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Opening las/laz files

Post by daniel »

The LIBLAS_RELEASE_LIBRARY_FILE must point to the actual library file (.a or .so on Linux). When you 'install' liblas, look where it is copied (I guess it is indeed in /usr/local/lib but you must add the right library file at the end of the path.
Daniel, CloudCompare admin
muzo583
Posts: 30
Joined: Wed Nov 19, 2014 6:19 pm

Re: Opening las/laz files

Post by muzo583 »

Dear Daniel,

Thank you so much. Now, I can import Las files.

Bests.
Screenshot.png
Screenshot.png (232.6 KiB) Viewed 14685 times
petergould
Posts: 1
Joined: Thu Aug 27, 2015 4:00 pm

Re: Opening las/laz files

Post by petergould »

daniel wrote:Hi, the support for LAS 1.4 is partial and since the version 2.6.0 or 2.6.1.

If it doesn't work with those versions, can you send me a sample file? (cloudcompare [at] danielgm.net)
HI Daniel,
CloudCompare is a great application! I am having a similar problem with an unhandled exception when opening las 1.4 files. I am using V2.6.1 64-bit. The error occurs before the file format dialog. The files can be displayed in lastools so I assume that the format is not a problem. I can provide an example if needed.
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Opening las/laz files

Post by daniel »

Yep that would help a lot (my email: cloudcompare [at] danielgm.net).

Thanks
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Opening las/laz files

Post by daniel »

M bad: liblas doesn't support the LAS 1.4 format yet...
Daniel, CloudCompare admin
Post Reply