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

False positive invalid header error for negative offset #34

Closed
spono opened this issue Feb 21, 2019 · 1 comment
Closed

False positive invalid header error for negative offset #34

spono opened this issue Feb 21, 2019 · 1 comment
Assignees
Labels
Bug A bug in the package

Comments

@spono
Copy link

spono commented Feb 21, 2019

Ciao JR,

While playing with a catalog of tiles, I got the error "Invalid header: offsets cannot be negative".

At this point, I think that the error could be related to the fact that I'm using the California Teale Albers - NAD83 CRS which (in my case) has a negative X coordinates, leading hence to a negative X offset.

Any other idea? possible solutions? Thank you!

@Jean-Romain Jean-Romain transferred this issue from r-lidar/lidR Feb 21, 2019
@Jean-Romain
Copy link
Collaborator

It is a misinterpretation of the LAS specifications. Offset can indeed be negative. Fixed in rlas 1.3.2.

@Jean-Romain Jean-Romain reopened this Feb 21, 2019
@Jean-Romain Jean-Romain changed the title [2.0.2] Invalid header error False positive invalid header error for negative offset Feb 21, 2019
@Jean-Romain Jean-Romain self-assigned this Feb 21, 2019
@Jean-Romain Jean-Romain added the Bug A bug in the package label Feb 21, 2019
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

2 participants