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 A bug in the package

Comments

@Jean-Romain
Copy link
Collaborator

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 A bug in the package 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
Labels
Bug A bug in the package
Projects
None yet
Development

No branches or pull requests

1 participant