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

Read laspy version #109

Open
micdist opened this issue Feb 22, 2023 · 1 comment
Open

Read laspy version #109

micdist opened this issue Feb 22, 2023 · 1 comment

Comments

@micdist
Copy link

micdist commented Feb 22, 2023

Calling:

cloud = pclpy.read("path/to/.las", ""PointXYZ")

causes:

laspy.errors.LaspyException: You are using laspy 2.0, which has several improvements over 1.x.

But calling:

cloud = pclpy.read("path/to/.las") //without point type

causes:

TypeError: read() missing 1 required positional argument: 'point_type'.

Thank you

@Robin6416KW
Copy link

laspy's reading behavior had change after 2.0,
reinstall laspy to 1.7 will fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants