This is a plugin for CloudCompare to add LAS file 1.3 reading & writing based on LASzip and libLAS.
It bascially forks the old LAS file handling before CloudCompare moved to using PDAL and puts it in a plugin.
I compile using:
- LASzip master from 23 Feb 2016 (ff16991b) (later versions have breaking changes)
- libLAS master from 19 Jan 2019 (09d45518) with one small change in src/CMakeFiles.txt:
add_library(las SHARED ${LIBLAS_SOURCES})
add_library(las_c SHARED ${LIBLAS_C_SOURCES})
to link statically:
add_library(las STATIC ${LIBLAS_SOURCES})
add_library(las_c STATIC ${LIBLAS_C_SOURCES})
- clone and build LASzip and libLAS
- clone this repository in the
CloudCompare/plugins/private
directory - rerun CloudCompare's cmake
- turn on
PLUGIN-3rdParty_LAS_IO
in your cmake options - set the
LIBLAS_*
options to point at yourlibLAS
build
Note: If you are building for CloudCompare 2.11.x, use the tagged version at cloudcompare-2.11.x
This project as a whole is licensed under the GPL-2.0-or-later license - see the LICENSE file for details.
Individual source files may contain the following tag instead of the full license text:
SPDX-License-Identifier: GPL-2.0-or-later
Using SPDX enables machine processing of license information based on the SPDX License Identifiers and makes it easier for developers to see at a glance which license they are dealing with.