v2.1.3
lidR v2.1.3 (Release date: 2019-09-10)
NEW FEATURES
-
New functions
lasrescale()
andlasreoffset()
to modify the scale factors and the offsets. The functions update the header and recompute the coordinates to get the proper rounded values in accordance with the new header. -
readLAS()
throw (again) warnings for invalid files such as files with invalid scale factors, invalid bounding box, invalid attributes ReturnNumber and so on.
ENHANCEMENT
-
readLAScatalog()
is 60% faster -
The progress bar of the LAScatalog processing engine has been removed in non interactive sessions and replaced by regular but more informative prints. This allows to track the state of the computation with a stream redirection to a file when running a script remotely for example.
R -f script.R &> log.txt &
FIXES
-
Fix an infinite loop in the knn search when k > number of points. This bug may affect
lasdetectectshape()
,wing2012()
and other functions that rely on a knn search. -
Using remote futures now works for any function that supports a
LAScatalog
input. Previously remote evaluation of futures failed because of the presence ofreturn()
statement in the code future#333plan(remote, workers = "132.203.41.25")
-
lasclipCircle()
behaves identically forLAS
andLAScatalog
object. It now returns the points that are strictly inside the circle. Previously forLAS
objects it also returned the point belonging on the disc. -
The bounding box is updated after
lastransform()
#270 -
The offsets are updated after
lastransform()
to prevent integer overflow when writing the point cloud in.las
files #272 -
Removed deprecated C++ functions
std::bind2nd
as requested by CRAN.
NOTE
- All C++ source code has been reworked in a tidy framework to clean-up 4 years of mess. It is almost invisible for regular users but the size of the package has been reduced of several MB and many new tools will now be possible to build.