Skip to content

Commit

Permalink
Fix #638
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Nov 16, 2022
1 parent d9c4aac commit 2a16e7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ If you are viewing this file on CRAN, please check [the latest news on GitHub](h

## lidR v4.0.2 (Release date: 2022-09-15)

- Fix: [#638](https://github.com/r-lidar/lidR/issues/638). `unormalize_height()` removes extra_bytes in VLR.
- Fix: [#637](https://github.com/r-lidar/lidR/issues/637). `print(las)` works even when the CRS is not recognized by `sf`.
- New: `dsmtin` and `pitfree` gain an argument `highest`. This option was enable by default in previous releases. There is now an option to disable it.
- Fix: [#580](https://github.com/r-lidar/lidR/issues/580) and [#622](https://github.com/r-lidar/lidR/issues/622) `normalize_height()` and `segment_trees` work in parallel with `SpatRaster`.
Expand Down
2 changes: 1 addition & 1 deletion R/normalize_height.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ unnormalize_height = function(las)
if ("Zref" %in% names(las))
{
las@data[["Z"]] <- las@data[["Zref"]]
las@data[["Zref"]] <- NULL
las <- remove_lasattribute(las, "Zref")
las <- lasupdateheader(las)
}
else
Expand Down
1 change: 1 addition & 0 deletions lidR.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ StripTrailingWhitespace: Yes

BuildType: Package
PackageUseDevtools: Yes
PackageCleanBeforeInstall: No
PackageInstallArgs: --no-multiarch --with-keep.source
PackageCheckArgs: --as-cran
PackageRoxygenize: rd,collate,namespace,vignette

0 comments on commit 2a16e7f

Please sign in to comment.