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

LAS not compliant to specification after spTransform #369

Closed
Jean-Romain opened this issue Aug 16, 2020 · 0 comments
Closed

LAS not compliant to specification after spTransform #369

Jean-Romain opened this issue Aug 16, 2020 · 0 comments
Assignees
Labels
Bug

Comments

@Jean-Romain
Copy link
Owner

@Jean-Romain Jean-Romain commented Aug 16, 2020

library(lidR)
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
las = readLAS(LASfile)
las2 = spTransform(las, sp::CRS(SRS_string = "EPSG:26918"))
las_check(las2)
#> 
#>  Checking the data
#>   - Checking coordinates... ✓
#>   - Checking coordinates type... ✓
#>   - Checking coordinates quantization...
#>     ✗ 81589 X coordinates were not stored with a resolution compatible with scale factor 0.01 and offset 214261.661487569
#>     ✗ 81589 Y coordinates were not stored with a resolution compatible with scale factor 0.01 and offset 5021517.24154598
#>   - Checking attributes type... ✓
#>   - Checking ReturnNumber validity... ✓
#>   - Checking NumberOfReturns validity... ✓
#>   - Checking ReturnNumber vs. NumberOfReturns... ✓
#>   - Checking RGB validity... ✓
#>   - Checking absence of NAs... ✓
#>   - Checking duplicated points... ✓
#>   - Checking degenerated ground points... ✓
#>   - Checking attribute population...
#>    ⚠ 'PointSourceID' attribute is not populated.
#>    ⚠ 'EdgeOfFlightline' attribute is not populated.
#>   - Checking gpstime incoherances ✓
#>   - Checking flag attributes... ✓
#>   - Checking user data attribute... ✓
#>  Checking the header
#>   - Checking header completeness... ✓
#>   - Checking scale factor validity... ✓
#>   - Checking point data format ID validity... ✓
#>   - Checking extra bytes attributes validity... ✓
#>   - Checking the bounding box validity...
#>     ✗ Stored resolution of 'Min X' and/or 'Max X' not compatible with 'X offset' and 'X scale factor'
#>     ✗ Stored resolution of 'Min Y' and/or 'Max Y' not compatible with 'Y offset' and 'Y scale factor'
#>   - Checking coordinate reference sytem... ✓
#>  Checking header vs data adequacy
#>   - Checking attributes vs. point format... ✓
#>   - Checking header bbox vs. actual content... ✓
#>   - Checking header number of points vs. actual content... ✓
#>   - Checking header return number vs. actual content... ✓
#>  Checking preprocessing already done 
#>   - Checking ground classification... yes
#>   - Checking normalization... yes
#>   - Checking negative outliers... ✓
#>   - Checking flightline classification... no
@Jean-Romain Jean-Romain self-assigned this Aug 16, 2020
@Jean-Romain Jean-Romain added the Bug label Aug 16, 2020
Jean-Romain added a commit that referenced this issue Aug 17, 2020
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.