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_check() with deep=TRUE double print the results #414

Closed
Jean-Romain opened this issue Mar 15, 2021 · 0 comments
Closed

las_check() with deep=TRUE double print the results #414

Jean-Romain opened this issue Mar 15, 2021 · 0 comments
Assignees
Labels
Enhancement Not actually a bug but a possible improvement

Comments

@Jean-Romain
Copy link
Collaborator

library(lidR)
#> Le chargement a nécessité le package : raster
#> Le chargement a nécessité le package : sp
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
ctg = readLAScatalog(LASfile)

u = las_check(ctg, deep = T)
#> 
#> _______________________________
#> Checking the file: Megaplot.laz
#> _______________________________
#> 
#>  Checking the data
#>   - Checking coordinates... ✓
#>   - Checking coordinates type... ✓
#>   - Checking coordinates range... ✓
#>   - Checking coordinates quantization... ✓
#>   - 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... ✓
#>   - 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[1] "call"
#> 
#> _______________________________
#> Checking the file: Megaplot.laz
#> _______________________________
#> 
#>  Checking the data
#>   - Checking coordinates... ✓
#>   - Checking coordinates type... ✓
#>   - Checking coordinates range... ✓
#>   - Checking coordinates quantization... ✓
#>   - 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... ✓
#>   - 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
u
#> $Megaplot.laz
#> $Megaplot.laz$messages
#> [1] "'PointSourceID' attribute is not populated"   
#> [2] "'EdgeOfFlightline' attribute is not populated"
#> [3] "The point cloud is ground classified"         
#> [4] "The point cloud is height normalized"         
#> 
#> $Megaplot.laz$warnings
#> character(0)
#> 
#> $Megaplot.laz$errors
#> character(0)

Created on 2021-03-15 by the reprex package (v1.0.0)>

@Jean-Romain Jean-Romain self-assigned this Mar 15, 2021
@Jean-Romain Jean-Romain added the Enhancement Not actually a bug but a possible improvement label Mar 15, 2021
@Jean-Romain Jean-Romain changed the title las_check() double print the results with deep = TRUE las_check() with deep=TRUE double print the results Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Not actually a bug but a possible improvement
Projects
None yet
Development

No branches or pull requests

1 participant