Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to make extra byte header if NAs only #21

Closed
Jean-Romain opened this issue May 6, 2018 · 0 comments
Closed

Fail to make extra byte header if NAs only #21

Jean-Romain opened this issue May 6, 2018 · 0 comments
Assignees
Labels
Bug

Comments

@Jean-Romain
Copy link
Owner

@Jean-Romain Jean-Romain commented May 6, 2018

lazfile <- system.file("extdata", "example.laz", package="rlas")
las = read.las(lazfile)
header = read.lasheader(lazfile)
 ex = rep(NA_integer_, nrow(las))
 las$Exdata = ex
 new_header = header_add_extrabytes(header, las$Exdata, "Exdata", "Extra numeric data")
Warning messages:
1: In min(data, na.rm = TRUE) :
  aucun argument trouvé pour min ; Inf est renvoyé
2: In max(data, na.rm = TRUE) : aucun argument pour max ; -Inf est renvoyé
@Jean-Romain Jean-Romain added the Bug label May 6, 2018
@Jean-Romain Jean-Romain self-assigned this May 6, 2018
Jean-Romain added a commit that referenced this issue Dec 31, 2018
Former-commit-id: ecf8bd3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.