Skip to content

Unable to open read LiDAR data in .ply format #70

Answered by dranjan
samuelxiang05 asked this question in Q&A
Discussion options

You must be logged in to vote

The float32 type actually is supported, so that shouldn't be the issue.

As far as I know, there can't be line breaks in the middle of the data of a vertex, so each vertex's data has to be on one line. The specification is admittedly a little bit vague about this, but I would say this condition is pretty strongly implied by the examples. I just checked the C reference implementation and I think it also works this way, if I read it correctly. (Found here: http://www.paulbourke.net/dataformats/ply/)

In the example you posted, it looks like each vertex's data is split over three lines. I would consider that an invalid file, and plyfile does not support it.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@samuelxiang05
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dranjan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants