-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
writeLAS version selection? #319
Comments
Please provide a reproducible example. You can modify the format manually changing the header but if your LAS object is really a LAS 1.4 you could not easily write it in a LAS 1.2 without making other changes. las@header@PHB[["Version Minor"]] = 2L Normally I no longer answer to questions about lidR by email or on github because I receive too many questions from too many users. If you have questions about using the lidR package please ask on gis.stackexchange.com with the tag If you believed you found a bug please provide a reproducible example. |
Sorry, the input is definitely a las 1.4 file -- this isn't a bug so much as a feature request -- add some ability to set LAS formats in writeLAS. There's a reasonable number of external programs out there that can get grumpy with 1.4. CloudCompare is an excellent visualization system, but on a Mac it it using an older verison of libLAS so there's no way to open a 1.4 file. |
las@header@PHB[["Version Minor"]] = 2L
las@header@PHB[["Point Data Format ID"]] = 2 # Choose which prf fits with your data
las@data[["ScanAngleRank"]] <- as.integer(las@data[["ScanAngle"]]) # If prf >= 6 If you need more details please ask on gis.stackexchange and provide more information about your 1.4 data. Regards |
So I'm trying to visualize some data in the Mac version of cloudcompare which, unfortunately, only works with LAS 1.2 and below. Is there any way to control writeLAS to select the LAS version I want (I assume it is defaulting to 1.4)?
The text was updated successfully, but these errors were encountered: