Page 1 of 2
Opening las/laz files
Posted: Mon Mar 30, 2015 12:45 pm
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?
Re: Opening las/laz files
Posted: Mon Mar 30, 2015 12:54 pm
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)
Re: Opening las/laz files
Posted: Thu May 28, 2015 4:07 pm
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.
Re: Opening las/laz files
Posted: Thu May 28, 2015 5:04 pm
by daniel
You have to compile liblas on your side then tell CMake where the resulting library file and the include directory are.
Re: Opening las/laz files
Posted: Thu May 28, 2015 9:10 pm
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.
Re: Opening las/laz files
Posted: Fri May 29, 2015 6:43 am
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.
Re: Opening las/laz files
Posted: Fri May 29, 2015 10:42 am
by muzo583
Dear Daniel,
Thank you so much. Now, I can import Las files.
Bests.
- Screenshot.png (232.6 KiB) Viewed 20120 times
Re: Opening las/laz files
Posted: Thu Aug 27, 2015 4:05 pm
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.
Re: Opening las/laz files
Posted: Thu Aug 27, 2015 6:56 pm
by daniel
Yep that would help a lot (my email: cloudcompare [at] danielgm.net).
Thanks
Re: Opening las/laz files
Posted: Fri Aug 28, 2015 8:34 am
by daniel
M bad: liblas doesn't support the LAS 1.4 format yet...