From e2f256a3844127a5e7ffbd65a386ca50fd46121e Mon Sep 17 00:00:00 2001 From: landry Date: Fri, 13 Jan 2017 19:15:20 +0000 Subject: [PATCH] Import lastools 0.20170108 LAStools: tools for efficient point-cloud processing * laszip compresses the LAS files in a completely lossless manner * lasinfo prints out a quick overview of the contents of a LAS file * lasindex creates a spatial index LAX file for fast spatial queries * las2las extracts last returns, clips, subsamples, translates, etc ... * lasmerge merges several LAS or LAZ files into a single LAS or LAZ file * txt2las converts LIDAR data from ASCII text to binary LAS format * las2txt turns LAS into human-readable and easy-to-parse ASCII * lasprecision analyses the actual precision of the LIDAR points ok zhuk@ --- converters/lastools/Makefile | 31 +++++++++++++++++++++ converters/lastools/distinfo | 2 ++ converters/lastools/pkg/DESCR | 10 +++++++ converters/lastools/pkg/PLIST | 51 +++++++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 converters/lastools/Makefile create mode 100644 converters/lastools/distinfo create mode 100644 converters/lastools/pkg/DESCR create mode 100644 converters/lastools/pkg/PLIST diff --git a/converters/lastools/Makefile b/converters/lastools/Makefile new file mode 100644 index 00000000000..a822b40a133 --- /dev/null +++ b/converters/lastools/Makefile @@ -0,0 +1,31 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2017/01/13 19:15:20 landry Exp $ + +COMMENT = tools for LiDAR processing +DISTNAME = lastools-0.20170108 +GH_ACCOUNT = LAStools +GH_PROJECT = LAStools +GH_TAGNAME = f00fa125075ea984993057c5916d746cb605835c + +CATEGORIES = converters textproc devel + +# LGPLv2.1 +PERMIT_PACKAGE_CDROM = Yes +WANTLIB += c m stdc++ + +post-patch: + find ${WRKSRC} -name Makefile | xargs sed -i 's/-O3/${CXXFLAGS}/' + +PROGS = laszip lasinfo lasprecision las2txt txt2las las2las lasdiff lasmerge lasindex + +do-install: + ${INSTALL_DATA} ${WRKSRC}/LASlib/src/liblas.a ${PREFIX}/lib/ + ${INSTALL_DATA} ${WRKSRC}/LASlib/inc/*.hpp ${PREFIX}/include/ + ${INSTALL_DATA} ${WRKSRC}/LASzip/src/{mydefs,laspoint,laszip,lasquantizer,lasattributer}.hpp \ + ${PREFIX}/include/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lastools/ +.for f in ${PROGS} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f} ${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/bin/${f}_README.txt ${PREFIX}/share/doc/lastools/ +.endfor + +.include diff --git a/converters/lastools/distinfo b/converters/lastools/distinfo new file mode 100644 index 00000000000..58987986ab8 --- /dev/null +++ b/converters/lastools/distinfo @@ -0,0 +1,2 @@ +SHA256 (lastools-0.20170108.tar.gz) = gWxY0nkloCC/Alpqwd3WchECnVJeL6y90LxkKRPJPmU= +SIZE (lastools-0.20170108.tar.gz) = 34930962 diff --git a/converters/lastools/pkg/DESCR b/converters/lastools/pkg/DESCR new file mode 100644 index 00000000000..4a12f9cb3fe --- /dev/null +++ b/converters/lastools/pkg/DESCR @@ -0,0 +1,10 @@ +LAStools: award-winning software for efficient LiDAR processing (with LASzip) + +* laszip compresses the LAS files in a completely lossless manner +* lasinfo prints out a quick overview of the contents of a LAS file +* lasindex creates a spatial index LAX file for fast spatial queries +* las2las extracts last returns, clips, subsamples, translates, etc ... +* lasmerge merges several LAS or LAZ files into a single LAS or LAZ file +* txt2las converts LIDAR data from ASCII text to binary LAS format +* las2txt turns LAS into human-readable and easy-to-parse ASCII +* lasprecision analyses the actual precision of the LIDAR points diff --git a/converters/lastools/pkg/PLIST b/converters/lastools/pkg/PLIST new file mode 100644 index 00000000000..1b857936d42 --- /dev/null +++ b/converters/lastools/pkg/PLIST @@ -0,0 +1,51 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2017/01/13 19:15:20 landry Exp $ +@bin bin/las2las +@bin bin/las2txt +@bin bin/lasdiff +@bin bin/lasindex +@bin bin/lasinfo +@bin bin/lasmerge +@bin bin/lasprecision +@bin bin/laszip +@bin bin/txt2las +include/lasattributer.hpp +include/lasdefinitions.hpp +include/lasfilter.hpp +include/laspoint.hpp +include/lasquantizer.hpp +include/lasreader.hpp +include/lasreader_asc.hpp +include/lasreader_bil.hpp +include/lasreader_bin.hpp +include/lasreader_dtm.hpp +include/lasreader_las.hpp +include/lasreader_qfit.hpp +include/lasreader_shp.hpp +include/lasreader_txt.hpp +include/lasreaderbuffered.hpp +include/lasreadermerged.hpp +include/lasreaderpipeon.hpp +include/lastransform.hpp +include/lasutility.hpp +include/laswaveform13reader.hpp +include/laswaveform13writer.hpp +include/laswriter.hpp +include/laswriter_bin.hpp +include/laswriter_las.hpp +include/laswriter_qfit.hpp +include/laswriter_txt.hpp +include/laswriter_wrl.hpp +include/laswritercompatible.hpp +include/laszip.hpp +include/mydefs.hpp +lib/liblas.a +share/doc/lastools/ +share/doc/lastools/las2las_README.txt +share/doc/lastools/las2txt_README.txt +share/doc/lastools/lasdiff_README.txt +share/doc/lastools/lasindex_README.txt +share/doc/lastools/lasinfo_README.txt +share/doc/lastools/lasmerge_README.txt +share/doc/lastools/lasprecision_README.txt +share/doc/lastools/laszip_README.txt +share/doc/lastools/txt2las_README.txt