Closed FalcoNYCDEP closed 5 years ago
hmm, so the same issue occurs when I use the original file v1.1 I was under the impression that the issue was the file version. Oddly, @bi0m3trics was able to update the file on his computer to v1.4 and it would run. We were thinking it was a problem with v1.1 and a package update was needed -- my issue was stemming from running outdated versions of rlas & lidR
The file you attached in your first post is perfectly read on my computer (so sorry I was wrong las 1.4 are supported).
What is your problem ? Please copy paste your error.
At this point, I am not sure. When I attempt to read in a .las file (v1.1 or v1.4) I am prompted that there is an error with the file not being supported.
las = readLAS("C:/Users/gfalco/Documents/R/lidR/las/u_4770066125_2009.las") Error: File(s) not supported
I think your filename is malformed. The magic Windows paths. I think that the file was not found. The error is the same than for a non supported file. Indeed when the reader read a "non-file" or a "non-supported" file it is almost the same. I should improve that.
What if?
las = readLAS("C:\Users\gfalco\Documents\R\lidR\las\u_4770066125_2009.las")
Or any other invalid path only supported by Windows.
Thank you, problem solved. It was an issue with file paths as I am operating R on a server so I can handle these larger datasets which is not the environment I am not use to running it under.
THANK YOU!
Solution:
las = readLAS("//tsclient/C/Users/gfalco/Documents/R/lidR/las/u_4770066125_2009.las") las class : LAS (LASF v1.1) memory : 72 Mb extent : 477000 , 477750 , 4661250 , 4662000 (xmin, xmax, ymin, ymax) area : 562165.7 m² (convex hull) points : 943948 points, NA pulses density : 1.68 points/m², NA pulses/m² field names : X Y Z gpstime Intensity ReturnNumber NumberOfReturns ScanDirectionFlag EdgeOfFlightline Classification Synthetic_flag Keypoint_flag Withheld_flag ScanAngle UserData PointSourceID coord. ref. : NA
Hello,
This is a follow up to my previous issue, incorrectly posted to the lidR issue page (issue #157). The .las file was originally v1.1 and I attempted to update to v1.4 using rapidlasso's las2las tool.
Following @bi0m3trics advice, I reinstalled / updated rlas and lidR to the most current versions. The .las file is still coming back as not supported.
Here are the specs for my v1.4 las file.
Would you please take a look at my attached las file?
las_updated.zip
Thank you!